Back to Seed Clases

Gtk


Classes

Interfaces

Structs

Unions

Enums

Class Gtk.ComboBoxText

Import line: Gtk = imports.gi.Gtk;
GIR File: Gtk-3.0.gir
C documentation: GtkComboBoxText
Class : ComboBoxText
Implements: Atk.ImplementorIface, Gtk.Buildable, Gtk.CellEditable, Gtk.CellLayout
Extends: Gtk.ComboBox
A GtkComboBoxText is a simple variant of GtkComboBox that hides
the model-view complexity for simple text-only use cases.
To create a GtkComboBoxText, use gtk_combo_box_text_new() or
gtk_combo_box_text_new_with_entry().
You can add items to a GtkComboBoxText with
gtk_combo_box_text_append_text(), gtk_combo_box_text_insert_text()
or gtk_combo_box_text_prepend_text() and remove options with
gtk_combo_box_text_remove().
If the GtkComboBoxText contains an entry (via the 'has-entry' property),
its contents can be retrieved using gtk_combo_box_text_get_active_text().
The entry itself can be accessed by calling gtk_bin_get_child() on the
combo box.

GtkComboBoxText as GtkBuildable

The GtkComboBoxText implementation of the GtkBuildable interface
supports adding items directly using the <items> element
and specifying <item> elements for each item. Each <item>
element supports the regular translation attributes "translatable",
"context" and "comments".

A UI definition fragment specifying GtkComboBoxText items


Factory
Home
Subway


]]>



Properties
Properties Defined By
Methods / Constructors
Method / Constructor Defined By
 
new Gtk.ComboBoxText.with_entry () : Gtk.Widget
Create a new Gtk.ComboBoxText
Create a new Gtk.ComboBoxText
Returns:
Gtk.Widget a new GtkComboBoxText
 
Events - usage syntax: this.signals.EVENTNAME.connect( Function )
Event Defined By
Used by These Methods / Signals / Properties- Nowhere other than here
Documentation generated by Introspection Doc Generator Loosely Based on JsDoc Toolkit on Sat Apr 16 2011 17:12:27 GMT+0800 (HKT)