GtkAda Reference Manual - Package Gtk.Check_Button

[Contents] [Back] [Prev] [Up] [Next] [Forward]

# Package Gtk.Check`_`Button

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

- Gtk.Check_Button Widget Hierarchy
- Gtk.Check_Button Subprograms

## Widget Hierarchy

    GObject                       (see section Package Glib.Object)
    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)
                   \___ Gtk_Toggle_Button (see section Package Gtk.Toggle_Button)
                      \___ Gtk_Check_Button (see section 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.

[Contents] [Back] [Prev] [Up] [Next] [Forward]