39 setup(ready, ready, ready, ready);
47 setup(ready, depressed, ready, ready);
56 setup(ready, depressed, rollover, ready);
64 INLINE std::string PGButton::
const std::string & get_id() const
Returns the unique ID assigned to this PGItem.
PGItemNotify * get_notify() const
Returns the object which will be notified when the PGItem changes, if any.
Similar to MutexHolder, but for a light reentrant mutex.
NodePath is the fundamental system for disambiguating instances, and also provides a higher-level int...
void set_notify(PGItemNotify *notify)
Sets the object which will be notified when the PGItem changes.