Toc Gallery Index Tree Gtk.Extra.Combo_Button

Hierarchy

Description

A Gtk_Combo_Button is a general form for a combo box (ie a button associated with a popup window to select its value). This widget should be used only if you intend to write your own kind of combo box. You should look at the following widgets for specific implementation: Gtk_Combo, Gtk_Color_Combo, Gtk_Border_Combo.

Types

  • type Gtk_Combo_Button is access all Gtk_Combo_Button_Record'Class;
  • type Gtk_Combo_Button_Record is new Gtk.Box.Gtk_Box_Record with private;

Subprograms

  • procedure Gtk_New (Widget : out Gtk_Combo_Button);
    Create a new combo box. This creates all the internal subwidgets (the popup window,...) but this is your responsibility to put something inside the button or the popup window.
  • procedure Initialize (Widget : access Gtk_Combo_Button_Record'Class);
    Internal initialization function. See the section "Creating your own widgets" in the documentation.
  • function Get_Type return Gtk.Gtk_Type;
    Return the internal value associated with a Gtk_Combo_Box.
  • procedure Hide_Popdown_Window (Combo : access Gtk_Combo_Button_Record);
    Hide the popup window, release the mouse grabs, and restore the default aspect for the arrow.
  • function Get_Button (Combo : access Gtk_Combo_Button_Record) return Gtk.Button.Gtk_Button;
    Return the button that shows the value of the combo.
  • function Get_Arrow (Combo : access Gtk_Combo_Button_Record) return Gtk.Arrow.Gtk_Arrow;
    Return the arrow button. The user has to click on it to open the popup window.
  • function Get_Frame (Combo : access Gtk_Combo_Button_Record) return Gtk.Frame.Gtk_Frame;
    The frame displayed in the popup window. You should add whatever value the popup window should display in it.

Signals

Alphabetical Index