29 #include "component.h"
35 class AboutToBeShownListener;
36 class HasBeenHiddenListener;
37 class SubMenuListener;
38 class MenuSelectionListener;
51 enum { TOOLBOX_CLASS = 0x828c0 };
239 std::string
text()
const;
271 void remove_selection_command(
Command *command);
ObjectId _handle
Handle for toolbox object.
Definition: object.h:173
const ComponentId NULL_ComponentId
NULL component id.
Definition: handles.h:46
Listener for about to be shown event.
Definition: abouttobeshownlistener.h:76
void check_toolbox_class(int class_id) const
Check if this objects toolbox class is as specified.
Definition: object.cc:122
int string_property_length(int property_id) const
Gets the size of a string properties buffer.
Definition: object.cc:530
int ComponentId
Type for underlying toolbox component id.
Definition: handles.h:33
Base class for commands in tbx.
Definition: command.h:36
ComponentId id() const
Get the component ID of this component.
Definition: component.h:103
Base class for components in an object.
Definition: component.h:42
int int_property(int property_id) const
Return the value of a property that returns an integer.
Definition: object.cc:435
std::string string_property(int property_id) const
Return the value of a property that returns text.
Definition: object.cc:477
unsigned int ObjectId
Type for underlying toolbox object id.
Definition: handles.h:31
ObjectId handle() const
Return the underlying toolbox object id this object references.
Definition: object.h:93
Listener for an object has been hidden event.
Definition: hasbeenhiddenlistener.h:36
Component()
Construct an uninitialised component.
Definition: component.h:55
ObjectId _handle
Underlying toolbox handle.
Definition: component.h:45
int _id
Underlying toolbox component id.
Definition: component.h:46
Class to manipulate a toolbox object.
Definition: object.h:50
ObjectId handle() const
Return the object handle for his component.
Definition: component.h:95