Merge branch 'gtk_combo_box_with_entry_docs_update' into 'master'

Documentation update for combo_box_new_with_entry

See merge request GNOME/gtk!3605
This commit is contained in:
Matthias Clasen 2021-06-04 04:02:48 +00:00
commit 10c6c93f40

View File

@ -1851,6 +1851,10 @@ gtk_combo_box_new (void)
*
* Creates a new empty `GtkComboBox` with an entry.
*
* In order to use a combo box with entry, you need to tell it
* which column of the model contains the text for the entry
* by calling [method@Gtk.ComboBox.set_entry_text_column].
*
* Returns: A new `GtkComboBox`
*/
GtkWidget *
@ -1885,6 +1889,8 @@ gtk_combo_box_new_with_model (GtkTreeModel *model)
*
* Creates a new empty `GtkComboBox` with an entry and a model.
*
* See also [ctor@Gtk.ComboBox.new_with_entry].
*
* Returns: A new `GtkComboBox`
*/
GtkWidget *
@ -2674,7 +2680,10 @@ gtk_combo_box_get_has_entry (GtkComboBox *combo_box)
* the internal entry
*
* Sets the model column which @combo_box should use to get strings
* from to be @text_column.
* from to be @text_column.
*
* For this column no separate
* [class@Gtk.CellRenderer] is needed.
*
* The column @text_column in the model of @combo_box must be of
* type %G_TYPE_STRING.