cvs: php-gtk-doc /manual/en/reference/gtk gtkcombobox.xml

From: Date: Wed, 03 Aug 2005 12:44:42 +0000
Subject: cvs: php-gtk-doc /manual/en/reference/gtk gtkcombobox.xml
Groups: php.gtk.doc 
Request: Send a blank email to php-gtk-doc+get-1521@lists.php.net to get a copy of this message
pablo Wed Aug 3 08:44:42 2005 EDT Modified files: /php-gtk-doc/manual/en/reference/gtk gtkcombobox.xml Log: description. I'm almost there :-) http://cvs.php.net/diff.php/php-gtk-doc/manual/en/reference/gtk/gtkcombobox.xml?r1=1.5&r2=1.6&ty=u Index: php-gtk-doc/manual/en/reference/gtk/gtkcombobox.xml diff -u php-gtk-doc/manual/en/reference/gtk/gtkcombobox.xml:1.5 php-gtk-doc/manual/en/reference/gtk/gtkcombobox.xml:1.6 --- php-gtk-doc/manual/en/reference/gtk/gtkcombobox.xml:1.5 Wed Aug 3 08:25:36 2005 +++ php-gtk-doc/manual/en/reference/gtk/gtkcombobox.xml Wed Aug 3 08:44:39 2005 @@ -4,10 +4,28 @@ <classtitle>GtkComboBox</classtitle> <classparent>GtkBin</classparent> <shortdesc> - a widget used to choose from a list of items + A widget used to choose from a list of items. </shortdesc> <desc> - +The <classname>GtkComboBox </classname> is a replacement for the <classname>GtkOptionMenu<classname>. +The <classname>GtkComboBox </classname> implements the <classname>GtkCellLayout</classname> +interface that provides a number of useful +methods for managing the contents. A <classname>GtkComboBox</classname> is created with the +<function class="GtkComboBox">constructor</function> that is associated with the optional +<classname>GtkTreeModel</classname>. If no <classname>GtkTreeModel</classname> is +specified it can be added later with the <function class="GtkComboBox">set_model()</function> +method. + +Alternatively, the <function class="Gtk">combo_box_new_text</function> function creates a +simple <classname>GtkComboBox</classname> and associated <classname>GtkListStore</classname> +model. A <classname>GtkCellRendererText</classname> +is also created and packed in the new combo box. In this simple combo box each +list item is a text string that can be selected. The convenience methods +<function class="GtkComboBox">append_text()</function>, +<function class="GtkComboBox">prepend_text()</function>, +<function class="GtkComboBox">insert_text()</function> and +<function class="GtkComboBox">remove_text()</function> can be used +to manage the contents of the <classname>GtkComboBox</classname>. </desc> </classmeta>

« previous php.gtk.doc (#1521) next »