This package implements a general button widget. This button can be clicked on by the user to start any action. This button does not have multiple states, it can just be temporarily pressed while the mouse is on it, but does not keep its pressed state.
Widget Hierarchy |
---|
Gtk_Object (see section Package Gtk.Object) \___ Gtk_Widget (see section Package Gtk.Widget) \___ Gtk_Container (see section Package Gtk.Container) \___ Gtk_Bin (see section Package Gtk.Bin) \___ Gtk_Button (see section Package Gtk.Button) |
Signals |
---|
Subprograms |
---|
procedure Gtk_New (Button : out Gtk_Button; Label : in String := ""); | ||
Create a new button. | ||
function Get_Type return Gtk.Gtk_Type; | ||
Return the internal value associated with a Gtk_Button.
| ||
procedure Set_Relief (Button : access Gtk_Button_Record; NewStyle : in Gtk.Enums.Gtk_Relief_Style); | ||
Modify the relief style for the button. | ||
function Get_Relief (Button : access Gtk_Button_Record) return Gtk.Enums.Gtk_Relief_Style; | ||
Get the current relief style for the button
| ||
Signals emission | ||
procedure Pressed (Button : access Gtk_Button_Record); | ||
Send the "pressed" signal to the button
| ||
procedure Released (Button : access Gtk_Button_Record); | ||
Send the "release" signal to the button
| ||
procedure Clicked (Button : access Gtk_Button_Record); | ||
Send the "clicked" signal to the button
| ||
procedure Enter (Button : access Gtk_Button_Record); | ||
Send the "enter" signal to the button
| ||
procedure Leave (Button : access Gtk_Button_Record); | ||
Send the "leave" signal to the button
|