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

#include <ToolboxActionButton.h>

Inheritance diagram for ToolboxActionButton:
ToolboxGadget ErrorReport Object

Public Member Functions

 ToolboxActionButton ()
 ToolboxActionButton (ObjectId windowId, ComponentId gadgetId)
 ToolboxActionButton (ObjectId windowId, ComponentId gadgetId, unsigned int flags)
ToolboxActionButtonsetText (char *text)
int getText ()
int getText (char *buffer, int bufSize)
ToolboxActionButtonsetEvent (int eventCode)
int getEvent ()
ToolboxActionButtonsetClickShow (ObjectId id, unsigned int showFlags)
void getClickShow (ObjectId *id, unsigned int *showFlags)
ToolboxActionButtonsetFont (const char *fontName, unsigned int width, unsigned int height)
ToolboxActionButtongadgetMethod (int methodCode, _kernel_swi_regs *regs)
ToolboxActionButtonsetFocus ()
ToolboxActionButtonsetFlags (unsigned int flags)
ToolboxActionButtonsetObjectId (ObjectId windowId)
ToolboxActionButtonsetComponentId (ComponentId gadgetId)
ToolboxActionButtonsetGadgetFlags (unsigned int flags)
ToolboxActionButtonsetHelpMessage (char *message)
ToolboxActionButtonmoveGadget (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)
void showProperties ()
char * getClassName ()
int getClassType ()
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

◆ ToolboxActionButton() [1/3]

ToolboxActionButton::ToolboxActionButton ( )

◆ ToolboxActionButton() [2/3]

ToolboxActionButton::ToolboxActionButton ( ObjectId windowId,
ComponentId gadgetId )

◆ ToolboxActionButton() [3/3]

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

Member Function Documentation

◆ gadgetMethod()

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

◆ getClassName()

char * ToolboxActionButton::getClassName ( )
inlinevirtual

Implements Object.

◆ getClassType()

int ToolboxActionButton::getClassType ( )
inlinevirtual

Implements Object.

◆ getClickShow()

void ToolboxActionButton::getClickShow ( ObjectId * id,
unsigned int * showFlags )

◆ getEvent()

int ToolboxActionButton::getEvent ( )

◆ getText() [1/2]

int ToolboxActionButton::getText ( )

◆ getText() [2/2]

int ToolboxActionButton::getText ( char * buffer,
int bufSize )

◆ moveGadget()

ToolboxActionButton & ToolboxActionButton::moveGadget ( BBox * newBbox)

◆ setClickShow()

ToolboxActionButton & ToolboxActionButton::setClickShow ( ObjectId id,
unsigned int showFlags )

◆ setComponentId()

ToolboxActionButton & ToolboxActionButton::setComponentId ( ComponentId gadgetId)

◆ setEvent()

ToolboxActionButton & ToolboxActionButton::setEvent ( int eventCode)

◆ setFlags()

ToolboxActionButton & ToolboxActionButton::setFlags ( unsigned int flags)

◆ setFocus()

ToolboxActionButton & ToolboxActionButton::setFocus ( )

◆ setFont()

ToolboxActionButton & ToolboxActionButton::setFont ( const char * fontName,
unsigned int width,
unsigned int height )

◆ setGadgetFlags()

ToolboxActionButton & ToolboxActionButton::setGadgetFlags ( unsigned int flags)

◆ setHelpMessage()

ToolboxActionButton & ToolboxActionButton::setHelpMessage ( char * message)

◆ setObjectId()

ToolboxActionButton & ToolboxActionButton::setObjectId ( ObjectId windowId)

◆ setText()

ToolboxActionButton & ToolboxActionButton::setText ( char * text)

◆ showProperties()

void ToolboxActionButton::showProperties ( )
inlinevirtual

Implements Object.


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