32 #ifndef TBX_RADIOBUTTON_H_
33 #define TBX_RADIOBUTTON_H_
37 #include "eventinfo.h"
42 class RadioButtonStateChangedListener;
51 enum {TOOLBOX_CLASS = 384};
std::string string_property(int property_id) const
Get a string property from the toolbox object.
Definition: component.cc:261
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
const IdBlock & id_block() const
IdBlock for the current event.
Definition: eventinfo.h:71
The Window object represents a toolbox window.
Definition: window.h:70
PollBlock & _data
raw data from the event
Definition: eventinfo.h:53
int int_property(int property_id) const
Get an integer property from the toolbox Component.
Definition: component.cc:165
Base class for components in an object.
Definition: component.h:42
Structure holding the raw data from a call to Wimp_Poll.
Definition: pollinfo.h:72
ObjectId _handle
Underlying toolbox handle.
Definition: component.h:45
ComponentId id() const
Get the component ID of this component.
Definition: component.h:103
Information passed back by the Toolbox with each toolbox event providing information on where the eve...
Definition: pollinfo.h:42
bool bool_property(int property_id) const
Get a boolean property from the toolbox Component.
Definition: component.cc:214
Base class for all toolbox event listeners.
Definition: listener.h:34
int _id
Underlying toolbox component id.
Definition: component.h:46
int string_property_length(int property_id) const
Get a the length of a string property from the toolbox object.
Definition: component.cc:302
This is the base class for all Gadgets.
Definition: gadget.h:49
int word[64]
Array containing information return from Wimp_Poll.
Definition: pollinfo.h:76
void check_toolbox_class(int class_id) const
Check the underlying gadget class for this object has the given class id.
Definition: gadget.cc:47
Class to provide information on a toolbox event.
Definition: eventinfo.h:49