Package RASCAL.ToolboxActionButton

DescriptionToolboxActionButton types and methods.
Authorbbracke
Date2005/11/21 20:14:33
Revision1.1
 

Clauses

Quick access : ClausesGenericsDefinitionsSubprograms


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

Basic Objects

Quick access : ClausesGenericsDefinitionsSubprograms


Basic Objects
Name Type Default
ActionButton_Is_Default16#1#constant
Flags
ActionButton_Is_Cancel16#2#constant
ActionButton_Is_Local16#4#constant
ActionButton_ClickShowTransient16#8#constant
ActionButton_ClickShowCentred16#10#constant
ActionButton_ClickShowAtPointer16#10#constant
ActionButton_Selected_Adjust16#1#constant
ActionButton_Selected_Select16#4#constant
ActionButton_Selected_Default16#8#constant
ActionButton_Selected_Cancel16#10#constant
ActionButton_Selected_Local16#20#constant
 

Definitions

Quick access : ClausesGenericsDefinitionsSubprograms


Types
Name Declaration
ActionButton_Show_Type(Persistent, Transient)
ActionButton_Click_Type(Select_Click, Key_Pressed, Adjust_Click)
ActionButton_Button_Type(Default, Cancel, Local)
Toolbox_ActionButton_Selected_Pointeraccess Toolbox_ActionButton_Selected
   
ActionButtonTemplate record
Component Type Default
EventSystem.Unsigned_Types.Unsigned
Click_ShowAddress
Max_Text_Lengthinteger
TextAddress
   
Toolbox_ActionButton_Selected record
This toolbox event is raised when the user clicks on an action button, and the client has not specified their own event to be associated with this event.
Component Type Default
HeaderToolbox_Event_Header
   
ATEL_Toolbox_ActionButton_Selected abstract tagged record
inheritance from Toolbox_EventListener (Toolbox_Event_ActionButton_Selected, -1, -1)
Component Type Default
EventToolbox_ActionButton_Selected_Pointer
  
Pragmas
Convention(C, ActionButtonTemplate)
Convention(C, Toolbox_ActionButton_Selected)
 

Subprograms

Quick access : ClausesGenericsDefinitionsSubprograms


  
Get_Click_Show function
ReturnObject_ID
Returns the ObjectID of the object shown when the user clicks on the action button.
Parameter name Type Mode Default
WindowObject_IDin
ComponentComponent_IDin
FlagsSystem.Unsigned_Types.Unsignedin0
  
Get_Event function
ReturnToolBox_Event_Code_Type
Returns the event code which will be executed when the user clicks on the action button.
Parameter name Type Mode Default
WindowObject_IDin
ComponentComponent_IDin
FlagsSystem.Unsigned_Types.Unsignedin0
  
Get_Text function
ReturnString
Returns the text displayed in the action button.
Parameter name Type Mode Default
WindowObject_IDin
ComponentComponent_IDin
FlagsSystem.Unsigned_Types.Unsignedin0
  
Set_Click_Show procedure
Allows the client to specify the object to show when the user clicks on the action button.
Parameter name Type Mode Default
WindowObject_IDin
ComponentComponent_IDin
ObjectObject_IDin
Show_FlagsActionButton_Show_Typein
FlagsSystem.Unsigned_Types.Unsignedin0
  
Set_Event procedure
Sets the event code which will be executed when the action button is pressed.
Parameter name Type Mode Default
WindowObject_IDin
ComponentComponent_IDin
EventToolBox_Event_Code_Typein
FlagsSystem.Unsigned_Types.Unsignedin0
  
Set_Text procedure
Sets the text to be displayed in the action button.
Parameter name Type Mode Default
WindowObject_IDin
ComponentComponent_IDin
Textstringin
FlagsSystem.Unsigned_Types.Unsignedin0