Package RASCAL.ToolboxButton

DescriptionToolbox button related types and methods.
Authorbbracke
Date2005/11/21 20:14:33
Revision1.1
 

Clauses

Quick access : ClausesGenericsDefinitionsSubprograms


 
Context clauses
RASCAL.Toolbox
RASCAL.OS
System.Unsigned_Types
 
Use clauses
RASCAL.Toolbox
RASCAL.OS
System.Unsigned_Types
 

Basic Objects

Quick access : ClausesGenericsDefinitionsSubprograms


Basic Objects
Name Type Default
Button_Task_Sprite_Area16#1#constant
Flags
Button_Allow_Menu_Clicks16#2#constant
 

Definitions

Quick access : ClausesGenericsDefinitionsSubprograms


 

Subprograms

Quick access : ClausesGenericsDefinitionsSubprograms


  
Get_Flags function
ReturnSystem.Unsigned_Types.Unsigned
Returns the flags of the specified button gadget.
Parameter name Type Mode Default
WindowObject_IDin
ComponentComponent_IDin
FlagsSystem.Unsigned_Types.Unsignedin0
  
Get_Validation function
ReturnString
Returns the validation string of the button.
Parameter name Type Mode Default
WindowObject_IDin
ComponentComponent_IDin
FlagsSystem.Unsigned_Types.Unsignedin0
  
Get_Value function
ReturnString
Returns the value of the button.
Parameter name Type Mode Default
WindowObject_IDin
ComponentComponent_IDin
FlagsSystem.Unsigned_Types.Unsignedin0
  
Set_Flags procedure
Sets the flags of the specified button gadget.
Parameter name Type Mode Default
WindowObject_IDin
ComponentComponent_IDin
ClearSystem.Unsigned_Types.Unsignedin
EORSystem.Unsigned_Types.Unsignedin
FlagsSystem.Unsigned_Types.Unsignedin0
  
Set_Font procedure
Makes the button use an anti-aliased font. Default is the system font.
Parameter name Type Mode Default
WindowObject_IDin
ComponentComponent_IDin
Fontstringin
Font_Widthintegerin
Font_Heightintegerin
FlagsSystem.Unsigned_Types.Unsignedin0
  
Set_Validation procedure
Sets the validation string of the button.
Parameter name Type Mode Default
WindowObject_IDin
ComponentComponent_IDin
Validationstringin
FlagsSystem.Unsigned_Types.Unsignedin0
  
Set_Value procedure
Sets the value of the button.
Parameter name Type Mode Default
WindowObject_IDin
ComponentComponent_IDin
New_ValueStringin
FlagsSystem.Unsigned_Types.Unsignedin0
  
Get_Foreground function
ReturnWimp_Colour
Returns the Foreground colour of the button.
Parameter name Type Mode Default
WindowObject_IDin
ComponentComponent_IDin
FlagsSystem.Unsigned_Types.Unsignedin0
  
Get_Background function
ReturnWimp_Colour
Returns the background colour of the button.
Parameter name Type Mode Default
WindowObject_IDin
ComponentComponent_IDin
FlagsSystem.Unsigned_Types.Unsignedin0
  
Set_background procedure
Sets the background colour of the icon.
Parameter name Type Mode Default
WindowObject_IDin
ComponentComponent_IDin
ColourWimp_Colourin
FlagsSystem.Unsigned_Types.Unsignedin0
  
Set_Foreground procedure
Sets the foreground colour of the icon.
Parameter name Type Mode Default
WindowObject_IDin
ComponentComponent_IDin
ColourWimp_Colourin
FlagsSystem.Unsigned_Types.Unsignedin0