Next: , Previous: Package_Gtk.Calendar, Up: Top



Package Gtk.Check_Button

A Gtk_Check_Button places a discrete Gtk_Toggle_Button next to a widget, (usually a Gtk_Label).

Widget Hierarchy
     GObject                       (see Package_Glib.Object)
     Gtk_Object                    (see Package_Gtk.Object)
        \___ Gtk_Widget            (see Package_Gtk.Widget)
           \___ Gtk_Container      (see Package_Gtk.Container)
              \___ Gtk_Bin         (see Package_Gtk.Bin)
                 \___ Gtk_Button   (see Package_Gtk.Button)
                    \___ Gtk_Toggle_Button (see Package_Gtk.Toggle_Button)
                       \___ Gtk_Check_Button (see Package_Gtk.Check_Button)
     

Subprograms
procedure Gtk_New (Check_Button : out Gtk_Check_Button; Label : UTF8_String := "");
Create a check button.
if Label is null, then no widget is associated with the button, and any widget can be added to the button (with Gtk.Container.Add).

procedure Gtk_New_With_Mnemonic (Check_Button : out Gtk_Check_Button; Label : UTF8_String);
Create a new check button containing a label.
If characters in Label are preceded by an underscore, they are underlined indicating that they represent a keyboard accelerator called a mnemonic. Pressing Alt and that key activates the checkbutton. Label: The text of the button, with an underscore in front of the mnemonic character

procedure Initialize_With_Mnemonic (Check_Button : access Gtk_Check_Button_Record'Class; Label : UTF8_String);
Internal initialization function.

function Get_Type return Glib.GType;
Return the internal value associated with a Gtk_Check_Button.