Class: GOffice::ComboBox

Inherits:
Gtk::Box
  • Object
show all
Defined in:
(unknown)

Direct Known Subclasses

CalendarButton, ComboColor, ComboPixmaps

Instance Method Summary collapse

Instance Method Details

#construct(display_widget, popdown_container, popdown_focus) ⇒ nil

Parameters:

  • display_widget (Gtk::Widget)
  • popdown_container (Gtk::Widget)
  • popdown_focus (Gtk::Widget)

Returns:

  • (nil)

#display=(display_widget) ⇒ nil

Sets the displayed widget for the combo_box to be display_widget

Parameters:

  • display_widget (Gtk::Widget)

    The widget to be displayed

Returns:

  • (nil)

#get_pos(x, y) ⇒ nil

Parameters:

  • x (Integer)
  • y (Integer)

Returns:

  • (nil)

Returns:

  • (nil)

Hides popup, but not when it is torn off. This is the external interface - for subclasses and apps which expect a regular combo which doesn't do tearoffs.

Returns:

  • (nil)

#relief=(relief) ⇒ nil

Parameters:

  • relief (Gtk::ReliefStyle)

Returns:

  • (nil)

#set_tooltip(tips, text, priv_text) ⇒ nil

Parameters:

  • tips (GObject)
  • text (String)
  • priv_text (String)

Returns:

  • (nil)

#show_arrow=(show_arrow) ⇒ Boolean

Parameters:

  • show_arrow (Boolean)

Returns:

  • (Boolean)

    show-arrow

  • (Boolean)

    show-arrow

#show_arrow?Boolean

Returns show-arrow.

Returns:

  • (Boolean)

    show-arrow

#tearable=(tearable) ⇒ nil

controls whether the combo box's pop up widget can be torn off.

Parameters:

  • tearable (Boolean)

    whether to allow the combo to be tearable

Returns:

  • (nil)

#titleString

Returns title.

Returns:

  • (String)

    title

#title=(title) ⇒ String

Parameters:

  • title (String)

Returns:

  • (String)

    title

  • (String)

    title