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);
int int_property(int property_id) const
Return the value of a property that returns an integer.
Definition: object.cc:477
A library for creating RISC OS toolbox applications.
Definition: abouttobeshownlistener.cc:35
int ComponentId
Type for underlying toolbox component id.
Definition: handles.h:33
ObjectId handle() const
Return the object handle for his component.
Definition: component.h:95
ObjectId handle() const
Return the underlying toolbox object id this object references.
Definition: object.h:93
ObjectId _handle
Handle for toolbox object.
Definition: object.h:175
std::string string_property(int property_id) const
Return the value of a property that returns text.
Definition: object.cc:519
Base class for components in an object.
Definition: component.h:42
ObjectId _handle
Underlying toolbox handle.
Definition: component.h:45
ComponentId id() const
Get the component ID of this component.
Definition: component.h:103
Listener for an object has been hidden event.
Definition: hasbeenhiddenlistener.h:36
int string_property_length(int property_id) const
Gets the size of a string properties buffer.
Definition: object.cc:572
Component()
Construct an uninitialised component.
Definition: component.h:55
void check_toolbox_class(int class_id) const
Check if this objects toolbox class is as specified.
Definition: object.cc:122
Listener for about to be shown event.
Definition: abouttobeshownlistener.h:77
Class to manipulate a toolbox object.
Definition: object.h:51
Base class for commands in tbx.
Definition: command.h:37
int _id
Underlying toolbox component id.
Definition: component.h:46
unsigned int ObjectId
Type for underlying toolbox object id.
Definition: handles.h:31
const ComponentId NULL_ComponentId
NULL component id.
Definition: handles.h:46