Package: GWindows.Buttons

Dependencies

with GWindows.Base;

Description

GWINDOWS - Ada 95 Framework for Win32 Development

G W I N D O W S . B U T T O N S

S p e c

$Revision: 1.2 $

Copyright (C) 1999 - 2004 David Botton

This is free software; you can redistribute it and/or modify it under terms of the GNU General Public License as published by the Free Soft- ware Foundation; either version 2, or (at your option) any later ver- sion. It is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License distributed with this; see file COPYING. If not, write to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.

As a special exception, if other files instantiate generics from this unit, or you link this unit with other files to produce an executable, this unit does not by itself cause the resulting executable to be covered by the GNU General Public License. This exception does not however invalidate any other reasons why the executable file might be covered by the GNU Public License.

More information about GWindows and the latest current release can be located on the web at http://www.gnavi.org/gwindows

Button_Type

Header

package GWindows.Buttons is
 

Type Summary

Button_Access
Button_Type derived from Base_Window_Type
Overridden Operations:  On_Command
New Operations:  Create, Fire_On_Click, Fire_On_Focus, Fire_On_Lost_Focus, Fire_On_Pushed, Fire_On_Released, On_Click, On_Click_Handler, On_Focus, On_Focus_Handler, On_Lost_Focus, On_Lost_Focus_Handler, On_Pushed, On_Pushed_Handler, On_Released, On_Released_Handler
Inherited Operations:  Accelerator_Handle, Accelerator_Handle, Accelerator_Table, Attach, Attach_Control, Attach_Dialog, Attach_Dialog_Item, Border, Border, Capture_Mouse, Center, Center, Child, Client_Area_Height, Client_Area_Height, Client_Area_Size, Client_Area_Width, Client_Area_Width, Close, Control, Controlling_Parent, Create_Control, Disable, Dock, Dock, Enable, Enabled, Enabled, End_Dialog, Enumerate_Children, Finalize, Fire_On_Context_Menu, Fire_On_Create, Fire_On_Destroy, Fire_On_Horizontal_Scroll, Fire_On_Pre_Create, Fire_On_Vertical_Scroll, First_Window, Focus, Focus, Freeze, Get_Canvas, Get_Font, Get_Full_Window_Canvas, Group, Group, Handle, Height, Height, Hide, Horizontal_Scroll_Bar, Horizontal_Scroll_Bar, ID, Initialize, Is_Dialog, Is_Dialog, Is_Modal, Is_Modal, Keyboard_Support, Keyboard_Support, Last_Window, Left, Left, MDI_Client_Window, MDI_Client_Window, Modal_Result, Modal_Result, Move, Next_Tab_Stop, Next_Window, On_Context_Menu, On_Context_Menu_Handler, On_Create, On_Create_Handler, On_Destroy, On_Destroy_Handler, On_Draw_Item, On_Filter_Message, On_Horizontal_Scroll, On_Horizontal_Scroll_Handler, On_Message, On_Notify, On_Pre_Create, On_Pre_Create_Handler, On_Vertical_Scroll, On_Vertical_Scroll_Handler, Order, Order, Parent, Parent, Point_To_Client, Point_To_Desktop, Previous_Tab_Stop, Previous_Window, Redraw, Set_Font, Show, Size, Tab_Stop, Tab_Stop, Text, Text, Text_Length, Thaw, Top, Top, Valid, Vertical_Scroll_Bar, Vertical_Scroll_Bar, Visible, Visible, Width, Width
Cancel_Button_Access
Cancel_Button_Type derived from Button_Type
Overridden Operations:  On_Click
Inherited Operations:  Accelerator_Handle, Accelerator_Handle, Accelerator_Table, Attach, Attach_Control, Attach_Dialog, Attach_Dialog_Item, Border, Border, Capture_Mouse, Center, Center, Child, Client_Area_Height, Client_Area_Height, Client_Area_Size, Client_Area_Width, Client_Area_Width, Close, Control, Controlling_Parent, Create, Create_Control, Disable, Dock, Dock, Enable, Enabled, Enabled, End_Dialog, Enumerate_Children, Finalize, Fire_On_Click, Fire_On_Context_Menu, Fire_On_Create, Fire_On_Destroy, Fire_On_Focus, Fire_On_Horizontal_Scroll, Fire_On_Lost_Focus, Fire_On_Pre_Create, Fire_On_Pushed, Fire_On_Released, Fire_On_Vertical_Scroll, First_Window, Focus, Focus, Freeze, Get_Canvas, Get_Font, Get_Full_Window_Canvas, Group, Group, Handle, Height, Height, Hide, Horizontal_Scroll_Bar, Horizontal_Scroll_Bar, ID, Initialize, Is_Dialog, Is_Dialog, Is_Modal, Is_Modal, Keyboard_Support, Keyboard_Support, Last_Window, Left, Left, MDI_Client_Window, MDI_Client_Window, Modal_Result, Modal_Result, Move, Next_Tab_Stop, Next_Window, On_Click_Handler, On_Command, On_Context_Menu, On_Context_Menu_Handler, On_Create, On_Create_Handler, On_Destroy, On_Destroy_Handler, On_Draw_Item, On_Filter_Message, On_Focus, On_Focus_Handler, On_Horizontal_Scroll, On_Horizontal_Scroll_Handler, On_Lost_Focus, On_Lost_Focus_Handler, On_Message, On_Notify, On_Pre_Create, On_Pre_Create_Handler, On_Pushed, On_Pushed_Handler, On_Released, On_Released_Handler, On_Vertical_Scroll, On_Vertical_Scroll_Handler, Order, Order, Parent, Parent, Point_To_Client, Point_To_Desktop, Previous_Tab_Stop, Previous_Window, Redraw, Set_Font, Show, Size, Tab_Stop, Tab_Stop, Text, Text, Text_Length, Thaw, Top, Top, Valid, Vertical_Scroll_Bar, Vertical_Scroll_Bar, Visible, Visible, Width, Width
Check_Box_Access
Check_Box_Type derived from Button_Type
Overridden Operations:  On_Click, On_Create
New Operations:  State, State
Inherited Operations:  Accelerator_Handle, Accelerator_Handle, Accelerator_Table, Attach, Attach_Control, Attach_Dialog, Attach_Dialog_Item, Border, Border, Capture_Mouse, Center, Center, Child, Client_Area_Height, Client_Area_Height, Client_Area_Size, Client_Area_Width, Client_Area_Width, Close, Control, Controlling_Parent, Create, Create_Control, Disable, Dock, Dock, Enable, Enabled, Enabled, End_Dialog, Enumerate_Children, Finalize, Fire_On_Click, Fire_On_Context_Menu, Fire_On_Create, Fire_On_Destroy, Fire_On_Focus, Fire_On_Horizontal_Scroll, Fire_On_Lost_Focus, Fire_On_Pre_Create, Fire_On_Pushed, Fire_On_Released, Fire_On_Vertical_Scroll, First_Window, Focus, Focus, Freeze, Get_Canvas, Get_Font, Get_Full_Window_Canvas, Group, Group, Handle, Height, Height, Hide, Horizontal_Scroll_Bar, Horizontal_Scroll_Bar, ID, Initialize, Is_Dialog, Is_Dialog, Is_Modal, Is_Modal, Keyboard_Support, Keyboard_Support, Last_Window, Left, Left, MDI_Client_Window, MDI_Client_Window, Modal_Result, Modal_Result, Move, Next_Tab_Stop, Next_Window, On_Click_Handler, On_Command, On_Context_Menu, On_Context_Menu_Handler, On_Create_Handler, On_Destroy, On_Destroy_Handler, On_Draw_Item, On_Filter_Message, On_Focus, On_Focus_Handler, On_Horizontal_Scroll, On_Horizontal_Scroll_Handler, On_Lost_Focus, On_Lost_Focus_Handler, On_Message, On_Notify, On_Pre_Create, On_Pre_Create_Handler, On_Pushed, On_Pushed_Handler, On_Released, On_Released_Handler, On_Vertical_Scroll, On_Vertical_Scroll_Handler, Order, Order, Parent, Parent, Point_To_Client, Point_To_Desktop, Previous_Tab_Stop, Previous_Window, Redraw, Set_Font, Show, Size, Tab_Stop, Tab_Stop, Text, Text, Text_Length, Thaw, Top, Top, Valid, Vertical_Scroll_Bar, Vertical_Scroll_Bar, Visible, Visible, Width, Width
Check_State_Type
Default_Button_Access
Default_Button_Type derived from Button_Type
Overridden Operations:  On_Create
Inherited Operations:  Accelerator_Handle, Accelerator_Handle, Accelerator_Table, Attach, Attach_Control, Attach_Dialog, Attach_Dialog_Item, Border, Border, Capture_Mouse, Center, Center, Child, Client_Area_Height, Client_Area_Height, Client_Area_Size, Client_Area_Width, Client_Area_Width, Close, Control, Controlling_Parent, Create, Create_Control, Disable, Dock, Dock, Enable, Enabled, Enabled, End_Dialog, Enumerate_Children, Finalize, Fire_On_Click, Fire_On_Context_Menu, Fire_On_Create, Fire_On_Destroy, Fire_On_Focus, Fire_On_Horizontal_Scroll, Fire_On_Lost_Focus, Fire_On_Pre_Create, Fire_On_Pushed, Fire_On_Released, Fire_On_Vertical_Scroll, First_Window, Focus, Focus, Freeze, Get_Canvas, Get_Font, Get_Full_Window_Canvas, Group, Group, Handle, Height, Height, Hide, Horizontal_Scroll_Bar, Horizontal_Scroll_Bar, ID, Initialize, Is_Dialog, Is_Dialog, Is_Modal, Is_Modal, Keyboard_Support, Keyboard_Support, Last_Window, Left, Left, MDI_Client_Window, MDI_Client_Window, Modal_Result, Modal_Result, Move, Next_Tab_Stop, Next_Window, On_Click, On_Click_Handler, On_Command, On_Context_Menu, On_Context_Menu_Handler, On_Create_Handler, On_Destroy, On_Destroy_Handler, On_Draw_Item, On_Filter_Message, On_Focus, On_Focus_Handler, On_Horizontal_Scroll, On_Horizontal_Scroll_Handler, On_Lost_Focus, On_Lost_Focus_Handler, On_Message, On_Notify, On_Pre_Create, On_Pre_Create_Handler, On_Pushed, On_Pushed_Handler, On_Released, On_Released_Handler, On_Vertical_Scroll, On_Vertical_Scroll_Handler, Order, Order, Parent, Parent, Point_To_Client, Point_To_Desktop, Previous_Tab_Stop, Previous_Window, Redraw, Set_Font, Show, Size, Tab_Stop, Tab_Stop, Text, Text, Text_Length, Thaw, Top, Top, Valid, Vertical_Scroll_Bar, Vertical_Scroll_Bar, Visible, Visible, Width, Width
Default_Cancel_Button_Access
Default_Cancel_Button_Type derived from Cancel_Button_Type
Overridden Operations:  On_Create
Inherited Operations:  Accelerator_Handle, Accelerator_Handle, Accelerator_Table, Attach, Attach_Control, Attach_Dialog, Attach_Dialog_Item, Border, Border, Capture_Mouse, Center, Center, Child, Client_Area_Height, Client_Area_Height, Client_Area_Size, Client_Area_Width, Client_Area_Width, Close, Control, Controlling_Parent, Create, Create_Control, Disable, Dock, Dock, Enable, Enabled, Enabled, End_Dialog, Enumerate_Children, Finalize, Fire_On_Click, Fire_On_Context_Menu, Fire_On_Create, Fire_On_Destroy, Fire_On_Focus, Fire_On_Horizontal_Scroll, Fire_On_Lost_Focus, Fire_On_Pre_Create, Fire_On_Pushed, Fire_On_Released, Fire_On_Vertical_Scroll, First_Window, Focus, Focus, Freeze, Get_Canvas, Get_Font, Get_Full_Window_Canvas, Group, Group, Handle, Height, Height, Hide, Horizontal_Scroll_Bar, Horizontal_Scroll_Bar, ID, Initialize, Is_Dialog, Is_Dialog, Is_Modal, Is_Modal, Keyboard_Support, Keyboard_Support, Last_Window, Left, Left, MDI_Client_Window, MDI_Client_Window, Modal_Result, Modal_Result, Move, Next_Tab_Stop, Next_Window, On_Click, On_Click_Handler, On_Command, On_Context_Menu, On_Context_Menu_Handler, On_Create_Handler, On_Destroy, On_Destroy_Handler, On_Draw_Item, On_Filter_Message, On_Focus, On_Focus_Handler, On_Horizontal_Scroll, On_Horizontal_Scroll_Handler, On_Lost_Focus, On_Lost_Focus_Handler, On_Message, On_Notify, On_Pre_Create, On_Pre_Create_Handler, On_Pushed, On_Pushed_Handler, On_Released, On_Released_Handler, On_Vertical_Scroll, On_Vertical_Scroll_Handler, Order, Order, Parent, Parent, Point_To_Client, Point_To_Desktop, Previous_Tab_Stop, Previous_Window, Redraw, Set_Font, Show, Size, Tab_Stop, Tab_Stop, Text, Text, Text_Length, Thaw, Top, Top, Valid, Vertical_Scroll_Bar, Vertical_Scroll_Bar, Visible, Visible, Width, Width
Default_Dialog_Button_Access
Default_Dialog_Button_Type derived from Dialog_Button_Type
Overridden Operations:  On_Create
Inherited Operations:  Accelerator_Handle, Accelerator_Handle, Accelerator_Table, Attach, Attach_Control, Attach_Dialog, Attach_Dialog_Item, Border, Border, Capture_Mouse, Center, Center, Child, Client_Area_Height, Client_Area_Height, Client_Area_Size, Client_Area_Width, Client_Area_Width, Close, Control, Controlling_Parent, Create, Create_Control, Disable, Dock, Dock, Enable, Enabled, Enabled, End_Dialog, Enumerate_Children, Finalize, Fire_On_Click, Fire_On_Context_Menu, Fire_On_Create, Fire_On_Destroy, Fire_On_Focus, Fire_On_Horizontal_Scroll, Fire_On_Lost_Focus, Fire_On_Pre_Create, Fire_On_Pushed, Fire_On_Released, Fire_On_Vertical_Scroll, First_Window, Focus, Focus, Freeze, Get_Canvas, Get_Font, Get_Full_Window_Canvas, Group, Group, Handle, Height, Height, Hide, Horizontal_Scroll_Bar, Horizontal_Scroll_Bar, ID, Initialize, Is_Dialog, Is_Dialog, Is_Modal, Is_Modal, Keyboard_Support, Keyboard_Support, Last_Window, Left, Left, MDI_Client_Window, MDI_Client_Window, Modal_Result, Modal_Result, Move, Next_Tab_Stop, Next_Window, On_Click, On_Click_Handler, On_Command, On_Context_Menu, On_Context_Menu_Handler, On_Create_Handler, On_Destroy, On_Destroy_Handler, On_Draw_Item, On_Filter_Message, On_Focus, On_Focus_Handler, On_Horizontal_Scroll, On_Horizontal_Scroll_Handler, On_Lost_Focus, On_Lost_Focus_Handler, On_Message, On_Notify, On_Pre_Create, On_Pre_Create_Handler, On_Pushed, On_Pushed_Handler, On_Released, On_Released_Handler, On_Vertical_Scroll, On_Vertical_Scroll_Handler, Order, Order, Parent, Parent, Point_To_Client, Point_To_Desktop, Previous_Tab_Stop, Previous_Window, Redraw, Set_Font, Show, Size, Tab_Stop, Tab_Stop, Text, Text, Text_Length, Thaw, Top, Top, Valid, Vertical_Scroll_Bar, Vertical_Scroll_Bar, Visible, Visible, Width, Width
Dialog_Button_Access
Dialog_Button_Type derived from Button_Type
Overridden Operations:  On_Click
Inherited Operations:  Accelerator_Handle, Accelerator_Handle, Accelerator_Table, Attach, Attach_Control, Attach_Dialog, Attach_Dialog_Item, Border, Border, Capture_Mouse, Center, Center, Child, Client_Area_Height, Client_Area_Height, Client_Area_Size, Client_Area_Width, Client_Area_Width, Close, Control, Controlling_Parent, Create, Create_Control, Disable, Dock, Dock, Enable, Enabled, Enabled, End_Dialog, Enumerate_Children, Finalize, Fire_On_Click, Fire_On_Context_Menu, Fire_On_Create, Fire_On_Destroy, Fire_On_Focus, Fire_On_Horizontal_Scroll, Fire_On_Lost_Focus, Fire_On_Pre_Create, Fire_On_Pushed, Fire_On_Released, Fire_On_Vertical_Scroll, First_Window, Focus, Focus, Freeze, Get_Canvas, Get_Font, Get_Full_Window_Canvas, Group, Group, Handle, Height, Height, Hide, Horizontal_Scroll_Bar, Horizontal_Scroll_Bar, ID, Initialize, Is_Dialog, Is_Dialog, Is_Modal, Is_Modal, Keyboard_Support, Keyboard_Support, Last_Window, Left, Left, MDI_Client_Window, MDI_Client_Window, Modal_Result, Modal_Result, Move, Next_Tab_Stop, Next_Window, On_Click_Handler, On_Command, On_Context_Menu, On_Context_Menu_Handler, On_Create, On_Create_Handler, On_Destroy, On_Destroy_Handler, On_Draw_Item, On_Filter_Message, On_Focus, On_Focus_Handler, On_Horizontal_Scroll, On_Horizontal_Scroll_Handler, On_Lost_Focus, On_Lost_Focus_Handler, On_Message, On_Notify, On_Pre_Create, On_Pre_Create_Handler, On_Pushed, On_Pushed_Handler, On_Released, On_Released_Handler, On_Vertical_Scroll, On_Vertical_Scroll_Handler, Order, Order, Parent, Parent, Point_To_Client, Point_To_Desktop, Previous_Tab_Stop, Previous_Window, Redraw, Set_Font, Show, Size, Tab_Stop, Tab_Stop, Text, Text, Text_Length, Thaw, Top, Top, Valid, Vertical_Scroll_Bar, Vertical_Scroll_Bar, Visible, Visible, Width, Width
Group_Box_Access
Group_Box_Type derived from Base_Window_Type
New Operations:  Create
Inherited Operations:  Accelerator_Handle, Accelerator_Handle, Accelerator_Table, Attach, Attach_Control, Attach_Dialog, Attach_Dialog_Item, Border, Border, Capture_Mouse, Center, Center, Child, Client_Area_Height, Client_Area_Height, Client_Area_Size, Client_Area_Width, Client_Area_Width, Close, Control, Controlling_Parent, Create_Control, Disable, Dock, Dock, Enable, Enabled, Enabled, End_Dialog, Enumerate_Children, Finalize, Fire_On_Context_Menu, Fire_On_Create, Fire_On_Destroy, Fire_On_Horizontal_Scroll, Fire_On_Pre_Create, Fire_On_Vertical_Scroll, First_Window, Focus, Focus, Freeze, Get_Canvas, Get_Font, Get_Full_Window_Canvas, Group, Group, Handle, Height, Height, Hide, Horizontal_Scroll_Bar, Horizontal_Scroll_Bar, ID, Initialize, Is_Dialog, Is_Dialog, Is_Modal, Is_Modal, Keyboard_Support, Keyboard_Support, Last_Window, Left, Left, MDI_Client_Window, MDI_Client_Window, Modal_Result, Modal_Result, Move, Next_Tab_Stop, Next_Window, On_Command, On_Context_Menu, On_Context_Menu_Handler, On_Create, On_Create_Handler, On_Destroy, On_Destroy_Handler, On_Draw_Item, On_Filter_Message, On_Horizontal_Scroll, On_Horizontal_Scroll_Handler, On_Message, On_Notify, On_Pre_Create, On_Pre_Create_Handler, On_Vertical_Scroll, On_Vertical_Scroll_Handler, Order, Order, Parent, Parent, Point_To_Client, Point_To_Desktop, Previous_Tab_Stop, Previous_Window, Redraw, Set_Font, Show, Size, Tab_Stop, Tab_Stop, Text, Text, Text_Length, Thaw, Top, Top, Valid, Vertical_Scroll_Bar, Vertical_Scroll_Bar, Visible, Visible, Width, Width
Pointer_To_Button_Class
Pointer_To_Group_Box_Class
Push_Radio_Button_Access
Push_Radio_Button_Type derived from Radio_Button_Type
Overridden Operations:  On_Create
Inherited Operations:  Accelerator_Handle, Accelerator_Handle, Accelerator_Table, Attach, Attach_Control, Attach_Dialog, Attach_Dialog_Item, Border, Border, Capture_Mouse, Center, Center, Child, Client_Area_Height, Client_Area_Height, Client_Area_Size, Client_Area_Width, Client_Area_Width, Close, Control, Controlling_Parent, Create, Create_Control, Disable, Dock, Dock, Enable, Enabled, Enabled, End_Dialog, Enumerate_Children, Finalize, Fire_On_Click, Fire_On_Context_Menu, Fire_On_Create, Fire_On_Destroy, Fire_On_Focus, Fire_On_Horizontal_Scroll, Fire_On_Lost_Focus, Fire_On_Pre_Create, Fire_On_Pushed, Fire_On_Released, Fire_On_Vertical_Scroll, First_Window, Focus, Focus, Freeze, Get_Canvas, Get_Font, Get_Full_Window_Canvas, Group, Group, Handle, Height, Height, Hide, Horizontal_Scroll_Bar, Horizontal_Scroll_Bar, ID, Initialize, Is_Dialog, Is_Dialog, Is_Modal, Is_Modal, Keyboard_Support, Keyboard_Support, Last_Window, Left, Left, MDI_Client_Window, MDI_Client_Window, Modal_Result, Modal_Result, Move, Next_Tab_Stop, Next_Window, On_Click, On_Click_Handler, On_Command, On_Context_Menu, On_Context_Menu_Handler, On_Create_Handler, On_Destroy, On_Destroy_Handler, On_Draw_Item, On_Filter_Message, On_Focus, On_Focus_Handler, On_Horizontal_Scroll, On_Horizontal_Scroll_Handler, On_Lost_Focus, On_Lost_Focus_Handler, On_Message, On_Notify, On_Pre_Create, On_Pre_Create_Handler, On_Pushed, On_Pushed_Handler, On_Released, On_Released_Handler, On_Vertical_Scroll, On_Vertical_Scroll_Handler, Order, Order, Parent, Parent, Point_To_Client, Point_To_Desktop, Previous_Tab_Stop, Previous_Window, Redraw, Set_Font, Show, Size, State, State, Tab_Stop, Tab_Stop, Text, Text, Text_Length, Thaw, Top, Top, Valid, Vertical_Scroll_Bar, Vertical_Scroll_Bar, Visible, Visible, Width, Width
Radio_Button_Access
Radio_Button_Type derived from Check_Box_Type
Overridden Operations:  On_Click, On_Create
Inherited Operations:  Accelerator_Handle, Accelerator_Handle, Accelerator_Table, Attach, Attach_Control, Attach_Dialog, Attach_Dialog_Item, Border, Border, Capture_Mouse, Center, Center, Child, Client_Area_Height, Client_Area_Height, Client_Area_Size, Client_Area_Width, Client_Area_Width, Close, Control, Controlling_Parent, Create, Create_Control, Disable, Dock, Dock, Enable, Enabled, Enabled, End_Dialog, Enumerate_Children, Finalize, Fire_On_Click, Fire_On_Context_Menu, Fire_On_Create, Fire_On_Destroy, Fire_On_Focus, Fire_On_Horizontal_Scroll, Fire_On_Lost_Focus, Fire_On_Pre_Create, Fire_On_Pushed, Fire_On_Released, Fire_On_Vertical_Scroll, First_Window, Focus, Focus, Freeze, Get_Canvas, Get_Font, Get_Full_Window_Canvas, Group, Group, Handle, Height, Height, Hide, Horizontal_Scroll_Bar, Horizontal_Scroll_Bar, ID, Initialize, Is_Dialog, Is_Dialog, Is_Modal, Is_Modal, Keyboard_Support, Keyboard_Support, Last_Window, Left, Left, MDI_Client_Window, MDI_Client_Window, Modal_Result, Modal_Result, Move, Next_Tab_Stop, Next_Window, On_Click_Handler, On_Command, On_Context_Menu, On_Context_Menu_Handler, On_Create_Handler, On_Destroy, On_Destroy_Handler, On_Draw_Item, On_Filter_Message, On_Focus, On_Focus_Handler, On_Horizontal_Scroll, On_Horizontal_Scroll_Handler, On_Lost_Focus, On_Lost_Focus_Handler, On_Message, On_Notify, On_Pre_Create, On_Pre_Create_Handler, On_Pushed, On_Pushed_Handler, On_Released, On_Released_Handler, On_Vertical_Scroll, On_Vertical_Scroll_Handler, Order, Order, Parent, Parent, Point_To_Client, Point_To_Desktop, Previous_Tab_Stop, Previous_Window, Redraw, Set_Font, Show, Size, State, State, Tab_Stop, Tab_Stop, Text, Text, Text_Length, Thaw, Top, Top, Valid, Vertical_Scroll_Bar, Vertical_Scroll_Bar, Visible, Visible, Width, Width
Three_State_Box_Access
Three_State_Box_Type derived from Button_Type
Overridden Operations:  On_Click, On_Create
New Operations:  State, State
Inherited Operations:  Accelerator_Handle, Accelerator_Handle, Accelerator_Table, Attach, Attach_Control, Attach_Dialog, Attach_Dialog_Item, Border, Border, Capture_Mouse, Center, Center, Child, Client_Area_Height, Client_Area_Height, Client_Area_Size, Client_Area_Width, Client_Area_Width, Close, Control, Controlling_Parent, Create, Create_Control, Disable, Dock, Dock, Enable, Enabled, Enabled, End_Dialog, Enumerate_Children, Finalize, Fire_On_Click, Fire_On_Context_Menu, Fire_On_Create, Fire_On_Destroy, Fire_On_Focus, Fire_On_Horizontal_Scroll, Fire_On_Lost_Focus, Fire_On_Pre_Create, Fire_On_Pushed, Fire_On_Released, Fire_On_Vertical_Scroll, First_Window, Focus, Focus, Freeze, Get_Canvas, Get_Font, Get_Full_Window_Canvas, Group, Group, Handle, Height, Height, Hide, Horizontal_Scroll_Bar, Horizontal_Scroll_Bar, ID, Initialize, Is_Dialog, Is_Dialog, Is_Modal, Is_Modal, Keyboard_Support, Keyboard_Support, Last_Window, Left, Left, MDI_Client_Window, MDI_Client_Window, Modal_Result, Modal_Result, Move, Next_Tab_Stop, Next_Window, On_Click_Handler, On_Command, On_Context_Menu, On_Context_Menu_Handler, On_Create_Handler, On_Destroy, On_Destroy_Handler, On_Draw_Item, On_Filter_Message, On_Focus, On_Focus_Handler, On_Horizontal_Scroll, On_Horizontal_Scroll_Handler, On_Lost_Focus, On_Lost_Focus_Handler, On_Message, On_Notify, On_Pre_Create, On_Pre_Create_Handler, On_Pushed, On_Pushed_Handler, On_Released, On_Released_Handler, On_Vertical_Scroll, On_Vertical_Scroll_Handler, Order, Order, Parent, Parent, Point_To_Client, Point_To_Desktop, Previous_Tab_Stop, Previous_Window, Redraw, Set_Font, Show, Size, Tab_Stop, Tab_Stop, Text, Text, Text_Length, Thaw, Top, Top, Valid, Vertical_Scroll_Bar, Vertical_Scroll_Bar, Visible, Visible, Width, Width
Three_State_Button_Access
Three_State_Button_Type derived from Three_State_Box_Type
Overridden Operations:  On_Create
Inherited Operations:  Accelerator_Handle, Accelerator_Handle, Accelerator_Table, Attach, Attach_Control, Attach_Dialog, Attach_Dialog_Item, Border, Border, Capture_Mouse, Center, Center, Child, Client_Area_Height, Client_Area_Height, Client_Area_Size, Client_Area_Width, Client_Area_Width, Close, Control, Controlling_Parent, Create, Create_Control, Disable, Dock, Dock, Enable, Enabled, Enabled, End_Dialog, Enumerate_Children, Finalize, Fire_On_Click, Fire_On_Context_Menu, Fire_On_Create, Fire_On_Destroy, Fire_On_Focus, Fire_On_Horizontal_Scroll, Fire_On_Lost_Focus, Fire_On_Pre_Create, Fire_On_Pushed, Fire_On_Released, Fire_On_Vertical_Scroll, First_Window, Focus, Focus, Freeze, Get_Canvas, Get_Font, Get_Full_Window_Canvas, Group, Group, Handle, Height, Height, Hide, Horizontal_Scroll_Bar, Horizontal_Scroll_Bar, ID, Initialize, Is_Dialog, Is_Dialog, Is_Modal, Is_Modal, Keyboard_Support, Keyboard_Support, Last_Window, Left, Left, MDI_Client_Window, MDI_Client_Window, Modal_Result, Modal_Result, Move, Next_Tab_Stop, Next_Window, On_Click, On_Click_Handler, On_Command, On_Context_Menu, On_Context_Menu_Handler, On_Create_Handler, On_Destroy, On_Destroy_Handler, On_Draw_Item, On_Filter_Message, On_Focus, On_Focus_Handler, On_Horizontal_Scroll, On_Horizontal_Scroll_Handler, On_Lost_Focus, On_Lost_Focus_Handler, On_Message, On_Notify, On_Pre_Create, On_Pre_Create_Handler, On_Pushed, On_Pushed_Handler, On_Released, On_Released_Handler, On_Vertical_Scroll, On_Vertical_Scroll_Handler, Order, Order, Parent, Parent, Point_To_Client, Point_To_Desktop, Previous_Tab_Stop, Previous_Window, Redraw, Set_Font, Show, Size, State, State, Tab_Stop, Tab_Stop, Text, Text, Text_Length, Thaw, Top, Top, Valid, Vertical_Scroll_Bar, Vertical_Scroll_Bar, Visible, Visible, Width, Width
Three_State_Type
Two_State_Button_Access
Two_State_Button_Type derived from Check_Box_Type
Overridden Operations:  On_Create
Inherited Operations:  Accelerator_Handle, Accelerator_Handle, Accelerator_Table, Attach, Attach_Control, Attach_Dialog, Attach_Dialog_Item, Border, Border, Capture_Mouse, Center, Center, Child, Client_Area_Height, Client_Area_Height, Client_Area_Size, Client_Area_Width, Client_Area_Width, Close, Control, Controlling_Parent, Create, Create_Control, Disable, Dock, Dock, Enable, Enabled, Enabled, End_Dialog, Enumerate_Children, Finalize, Fire_On_Click, Fire_On_Context_Menu, Fire_On_Create, Fire_On_Destroy, Fire_On_Focus, Fire_On_Horizontal_Scroll, Fire_On_Lost_Focus, Fire_On_Pre_Create, Fire_On_Pushed, Fire_On_Released, Fire_On_Vertical_Scroll, First_Window, Focus, Focus, Freeze, Get_Canvas, Get_Font, Get_Full_Window_Canvas, Group, Group, Handle, Height, Height, Hide, Horizontal_Scroll_Bar, Horizontal_Scroll_Bar, ID, Initialize, Is_Dialog, Is_Dialog, Is_Modal, Is_Modal, Keyboard_Support, Keyboard_Support, Last_Window, Left, Left, MDI_Client_Window, MDI_Client_Window, Modal_Result, Modal_Result, Move, Next_Tab_Stop, Next_Window, On_Click, On_Click_Handler, On_Command, On_Context_Menu, On_Context_Menu_Handler, On_Create_Handler, On_Destroy, On_Destroy_Handler, On_Draw_Item, On_Filter_Message, On_Focus, On_Focus_Handler, On_Horizontal_Scroll, On_Horizontal_Scroll_Handler, On_Lost_Focus, On_Lost_Focus_Handler, On_Message, On_Notify, On_Pre_Create, On_Pre_Create_Handler, On_Pushed, On_Pushed_Handler, On_Released, On_Released_Handler, On_Vertical_Scroll, On_Vertical_Scroll_Handler, Order, Order, Parent, Parent, Point_To_Client, Point_To_Desktop, Previous_Tab_Stop, Previous_Window, Redraw, Set_Font, Show, Size, State, State, Tab_Stop, Tab_Stop, Text, Text, Text_Length, Thaw, Top, Top, Valid, Vertical_Scroll_Bar, Vertical_Scroll_Bar, Visible, Visible, Width, Width

Other Items:

type Button_Type is new GWindows.Base.Base_Window_Type with private;

type Button_Access is access all Button_Type;

type Pointer_To_Button_Class is access all Button_Type'Class;
Button_Type - Creation Methods

procedure Create
  (Button     : in out Button_Type;
   Parent     : in out GWindows.Base.Base_Window_Type'Class;
   Text       : in     GString;
   Left       : in     Integer;
   Top        : in     Integer;
   Width      : in     Integer;
   Height     : in     Integer;
   ID         : in     Integer                              := 0;
   Show       : in     Boolean                              := True;
   Is_Dynamic : in     Boolean                              := False);
Create Button

procedure On_Click_Handler (Button  : in out Button_Type;
                            Handler : in GWindows.Base.Action_Event);

procedure Fire_On_Click (Button : in out Button_Type);

procedure On_Focus_Handler (Button  : in out Button_Type;
                            Handler : in GWindows.Base.Action_Event);

procedure Fire_On_Focus (Button : in out Button_Type);

procedure On_Lost_Focus_Handler (Button  : in out Button_Type;
                            Handler : in GWindows.Base.Action_Event);

procedure Fire_On_Lost_Focus (Button : in out Button_Type);

procedure On_Pushed_Handler (Button  : in out Button_Type;
                            Handler : in GWindows.Base.Action_Event);

procedure Fire_On_Pushed (Button : in out Button_Type);

procedure On_Released_Handler (Button  : in out Button_Type;
                            Handler : in GWindows.Base.Action_Event);

procedure Fire_On_Released (Button : in out Button_Type);
Button_Type - Event Methods

procedure On_Click (Button : in out Button_Type);
Button clicked

procedure On_Focus (Button : in out Button_Type);
Button received focus

procedure On_Lost_Focus (Button : in out Button_Type);
Button lost focus

procedure On_Pushed (Button : in out Button_Type);
Button is being pushed

procedure On_Released (Button : in out Button_Type);
Button was released

procedure On_Command (Window  : in out Button_Type;
                      Code    : in     Integer;
                      ID      : in     Integer;
                      Control : in
                        GWindows.Base.Pointer_To_Base_Window_Class);
Receives command messages from parent window

type Default_Button_Type is new Button_Type with private;
Default_Button_Type

Default_Button_Type buttons have a thicker border.


type Default_Button_Access is access all Default_Button_Type;
Default_Button_Type - Event Framework Methods

These should be overiden with caution and only with a full understanding of the internals of the entire GWindows framework


procedure On_Create (Window : in out Default_Button_Type);
Sets up styles

type Cancel_Button_Type is new Button_Type with private;
Cancel_Button_Type

Cancel_Button_Type buttons close their parent window when clicked Note: If an On_Click_Handler is set, it will not be called


type Cancel_Button_Access is access all Cancel_Button_Type;
Cancel_Button_Type - Event Framework Methods

These should be overiden with caution and only with a full understanding of the internals of the entire GWindows framework


procedure On_Click (Button : in out Cancel_Button_Type);
On_Click event closes parent window

type Default_Cancel_Button_Type is new Cancel_Button_Type with private;
Default_Cancel_Button_Type

Cancel_Button_Type buttons close their parent window when clicked Note: If an On_Click_Handler is set, it will not be called


type Default_Cancel_Button_Access is access all Default_Cancel_Button_Type;
Default_Cancel_Button_Type - Event Framework Methods

These should be overiden with caution and only with a full understanding of the internals of the entire GWindows framework


procedure On_Create (Window : in out Default_Cancel_Button_Type);
Sets up styles

type Dialog_Button_Type is new Button_Type with private;
Dialog_Button_Type

Dialog_Button_Type buttons close their parent window when clicked and set the Modal Result to the Button's ID Note: If an On_Click_Handler is set, it will not be called


type Dialog_Button_Access is access all Dialog_Button_Type;
Dialog_Button_Type - Event Framework Methods

These should be overiden with caution and only with a full understanding of the internals of the entire GWindows framework


procedure On_Click (Button : in out Dialog_Button_Type);
On_Click event closes parent window

type Default_Dialog_Button_Type is new Dialog_Button_Type with private;
Default_Dialog_Button_Type

Dialog_Button_Type buttons close their parent window when clicked and set the Modal Result to the Button's ID Note: If an On_Click_Handler is set, it will not be called


type Default_Dialog_Button_Access is access all Default_Dialog_Button_Type;
Dialog_Button_Type - Event Framework Methods

These should be overiden with caution and only with a full understanding of the internals of the entire GWindows framework


procedure On_Create (Window : in out Default_Dialog_Button_Type);
Sets up styles

type Check_Box_Type is new Button_Type with private;
Check_Box_Type

type Check_Box_Access is access all Check_Box_Type;

type Check_State_Type is (Checked, Unchecked);

function State (Button : in Check_Box_Type)
               return Check_State_Type;

procedure State (Button : in out Check_Box_Type;
                 State  : in     Check_State_Type);
Check state property

procedure On_Create (Window : in out Check_Box_Type);
Sets up styles

procedure On_Click (Button : in out Check_Box_Type);
Handles switching states

type Two_State_Button_Type is
  new Check_Box_Type with private;
Two_State_Button_Type

Two_State_Button_Type buttons look like buttons but act like check boxes


type Two_State_Button_Access is
  access all Two_State_Button_Type;
Two_State_Button_Type - Event Framework Methods

These should be overiden with caution and only with a full understanding of the internals of the entire GWindows framework


procedure On_Create (Window : in out Two_State_Button_Type);
Sets up styles

type Radio_Button_Type is
  new Check_Box_Type with private;
Radio_Button_Type

type Radio_Button_Access is
  access all Radio_Button_Type;
Creates a radio button

procedure On_Create (Window : in out Radio_Button_Type);
Sets up styles

procedure On_Click (Button : in out Radio_Button_Type);
Push_Radio_Button_Type

type Push_Radio_Button_Type is
  new Radio_Button_Type with private;

type Push_Radio_Button_Access is
  access all Push_Radio_Button_Type;
Creates a push style radio button

procedure On_Create (Window : in out Push_Radio_Button_Type);
Sets up styles

type Three_State_Box_Type is new Button_Type with private;
Three_State_Box_Type

Check box with three states Checked, Indeterminate and Unchecked


type Three_State_Box_Access is access all Three_State_Box_Type;
Creates a three state check box

type Three_State_Type is (Checked, Indeterminate, Unchecked);

function State (Button : in Three_State_Box_Type)
               return Three_State_Type;

procedure State (Button : in out Three_State_Box_Type;
                 State  : in     Three_State_Type);
Button state property

procedure On_Create (Window : in out Three_State_Box_Type);
Sets up styles

procedure On_Click (Button : in out Three_State_Box_Type);
Handles switching states

type Three_State_Button_Type is new Three_State_Box_Type with private;
Three_State_Button_Type

Button with three states Checked, Indeterminate and Unchecked


type Three_State_Button_Access is
  access all Three_State_Button_Type;
Creates a three state push button

procedure On_Create (Window : in out Three_State_Button_Type);
Sets up styles

type Group_Box_Type is new GWindows.Base.Base_Window_Type with null record;
Group_Box_Type

type Group_Box_Access is access all Group_Box_Type;

type Pointer_To_Group_Box_Class is access all Group_Box_Type'Class;
Goup_Box_Type - Creation Methods

procedure Create
  (Box        : in out Group_Box_Type;
   Parent     : in out GWindows.Base.Base_Window_Type'Class;
   Text       : in     GString;
   Left       : in     Integer;
   Top        : in     Integer;
   Width      : in     Integer;
   Height     : in     Integer;
   Show       : in     Boolean                              := True;
   Is_Dynamic : in     Boolean                              := False);
Create Button

private

   --  Implementation-defined ...
end GWindows.Buttons;