22 while (!_items.empty()) {
24 PGItem *item = (*_items.begin());
26 (*_items.begin())->set_notify(
nullptr);
34 item_transform_changed(
PGItem *) {
41 item_frame_changed(
PGItem *) {
48 item_draw_mask_changed(
PGItem *) {
144 bool inserted = _items.insert(item).second;
152 remove_item(
PGItem *item) {
154 bi = _items.find(item);
155 nassertv(bi != _items.end());
This is the base class for all the various kinds of gui widget objects.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PGItemNotify * get_notify() const
Returns the object which will be notified when the PGItem changes, if any.
This is sent along as a parameter to most events generated for a region to indicate the mouse and but...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.