15 #include "pgItemNotify.h"
25 while (!_items.empty()) {
28 PGItem *item = (*_items.begin());
30 (*_items.begin())->set_notify(NULL);
41 item_transform_changed(
PGItem *) {
51 item_frame_changed(
PGItem *) {
61 item_draw_mask_changed(
PGItem *) {
121 item_focus_out(
PGItem *) {
182 bool inserted = _items.insert(item).second;
193 remove_item(
PGItem *item) {
195 bi = _items.find(item);
196 nassertv(bi != _items.end());
This is the base class for all the various kinds of gui widget objects.
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...