CommonC++Lib RiscOSC++Lib ToolboxC++Lib
Toolbox Library for use with the RiscOS DDE C++/CFront compiler
Loading...
Searching...
No Matches
ToolboxOptionButton Class Reference

#include <ToolboxOptionButton.h>

Inheritance diagram for ToolboxOptionButton:
ToolboxGadget ErrorReport Object

Public Member Functions

 ToolboxOptionButton ()
 ToolboxOptionButton (ObjectId windowId, ComponentId gadgetId)
 ToolboxOptionButton (ObjectId windowId, ComponentId gadgetId, unsigned int flags)
ToolboxOptionButtonsetLabel (char *label)
int getLabel ()
int getLabel (char *buffer, int bufSize)
ToolboxOptionButtonsetEvent (int event)
int getEvent ()
ToolboxOptionButtonsetState (int state)
int getState ()
ToolboxOptionButtongadgetMethod (int methodCode, _kernel_swi_regs *regs)
ToolboxOptionButtonsetFocus ()
ToolboxOptionButtonsetFlags (unsigned int flags)
ToolboxOptionButtonsetObjectId (ObjectId windowId)
ToolboxOptionButtonsetComponentId (ComponentId gadgetId)
ToolboxOptionButtonsetGadgetFlags (unsigned int flags)
ToolboxOptionButtonsetHelpMessage (char *message)
ToolboxOptionButtonmoveGadget (BBox *newBbox)
void showProperties ()
char * getClassName ()
int getClassType ()
Public Member Functions inherited from ToolboxGadget
 ToolboxGadget ()
 ToolboxGadget (ObjectId windowId, ComponentId gadgetId)
 ToolboxGadget (ObjectId windowId, ComponentId gadgetId, unsigned int flags)
 ~ToolboxGadget ()
int getGadgetFlags ()
int getHelpMessage ()
int getHelpMessage (char *buffer, int bufSize)
int getIconList ()
int getIconList (int *buffer, int bufSize)
int getType ()
void getBbox (BBox *box)
unsigned int getFlags ()
int getObjectId ()
int getComponentId ()
ToolboxGadgetgadgetMethod (int methodCode, _kernel_swi_regs *regs)
ToolboxGadgetsetFocus ()
ToolboxGadgetsetFlags (unsigned int flags)
ToolboxGadgetsetObjectId (ObjectId windowId)
ToolboxGadgetsetComponentId (ComponentId gadgetId)
ToolboxGadgetsetGadgetFlags (unsigned int flags)
ToolboxGadgetsetHelpMessage (char *message)
ToolboxGadgetmoveGadget (BBox *newBbox)
Public Member Functions inherited from ErrorReport
 ErrorReport ()
 ~ErrorReport ()
Public Member Functions inherited from Object
 Object ()
 ~Object ()

Additional Inherited Members

Public Types inherited from ErrorReport
enum  errorEnv { CONSOLE , WIMP }
Static Public Member Functions inherited from ErrorReport
static void setLastError (_kernel_oserror *, unsigned int)
static void setLastError (_kernel_oserror *, unsigned int, char *location)
static _kernel_oserror * getLastError ()
static void setErrFlags (unsigned int)
static unsigned int getErrFlags ()
static void setAsWimpTask (char *)
static void setAsConsoleTask ()
static void setLocation (char *)
static char * getLocation ()
static char * getTaskName ()
static void clearError ()
static int getEnvironment ()
static void setTrap (int, int *)
static void clearTrap ()

Constructor & Destructor Documentation

◆ ToolboxOptionButton() [1/3]

ToolboxOptionButton::ToolboxOptionButton ( )

◆ ToolboxOptionButton() [2/3]

ToolboxOptionButton::ToolboxOptionButton ( ObjectId windowId,
ComponentId gadgetId )

◆ ToolboxOptionButton() [3/3]

ToolboxOptionButton::ToolboxOptionButton ( ObjectId windowId,
ComponentId gadgetId,
unsigned int flags )

Member Function Documentation

◆ gadgetMethod()

ToolboxOptionButton & ToolboxOptionButton::gadgetMethod ( int methodCode,
_kernel_swi_regs * regs )

◆ getClassName()

char * ToolboxOptionButton::getClassName ( )
inlinevirtual

Reimplemented from ToolboxGadget.

◆ getClassType()

int ToolboxOptionButton::getClassType ( )
inlinevirtual

Reimplemented from ToolboxGadget.

◆ getEvent()

int ToolboxOptionButton::getEvent ( )

◆ getLabel() [1/2]

int ToolboxOptionButton::getLabel ( )

◆ getLabel() [2/2]

int ToolboxOptionButton::getLabel ( char * buffer,
int bufSize )

◆ getState()

int ToolboxOptionButton::getState ( )

◆ moveGadget()

ToolboxOptionButton & ToolboxOptionButton::moveGadget ( BBox * newBbox)

◆ setComponentId()

ToolboxOptionButton & ToolboxOptionButton::setComponentId ( ComponentId gadgetId)

◆ setEvent()

ToolboxOptionButton & ToolboxOptionButton::setEvent ( int event)

◆ setFlags()

ToolboxOptionButton & ToolboxOptionButton::setFlags ( unsigned int flags)

◆ setFocus()

ToolboxOptionButton & ToolboxOptionButton::setFocus ( )

◆ setGadgetFlags()

ToolboxOptionButton & ToolboxOptionButton::setGadgetFlags ( unsigned int flags)

◆ setHelpMessage()

ToolboxOptionButton & ToolboxOptionButton::setHelpMessage ( char * message)

◆ setLabel()

ToolboxOptionButton & ToolboxOptionButton::setLabel ( char * label)

◆ setObjectId()

ToolboxOptionButton & ToolboxOptionButton::setObjectId ( ObjectId windowId)

◆ setState()

ToolboxOptionButton & ToolboxOptionButton::setState ( int state)

◆ showProperties()

void ToolboxOptionButton::showProperties ( )
inlinevirtual

Reimplemented from ToolboxGadget.


The documentation for this class was generated from the following files: