* You should not call [method@Gtk.ComboBox.set_model] or attempt to pack more
* cells into this combo box via its [iface@Gtk.CellLayout] interface.
*
- * # GtkComboBoxText as GtkBuildable
+ * ## GtkComboBoxText as GtkBuildable
*
* The `GtkComboBoxText` implementation of the `GtkBuildable` interface supports
* adding items directly using the <items> element and specifying <item>
* </object>
* ```
*
- * # CSS nodes
+ * ## CSS nodes
*
* ```
* combobox
* `GtkComboBoxText` has a single CSS node with name combobox. It adds
* the style class .combo to the main CSS nodes of its entry and button
* children, and the .linked class to the node of its internal box.
+ *
+ * Deprecated: 4.10: Use [class@Gtk.DropDown] with a [class@Gtk.StringList]
+ * instead
*/
typedef struct _GtkComboBoxTextClass GtkComboBoxTextClass;
*
* Returns: A new `GtkComboBoxText`
*
- * Deprecated: 4.10: Use GtkDropDown
+ * Deprecated: 4.10: Use [class@Gtk.DropDown]
*/
GtkWidget *
gtk_combo_box_text_new (void)
*
* Returns: a new `GtkComboBoxText`
*
- * Deprecated: 4.10: Use GtkDropDown
+ * Deprecated: 4.10: Use [class@Gtk.DropDown]
*/
GtkWidget *
gtk_combo_box_text_new_with_entry (void)
* This is the same as calling [method@Gtk.ComboBoxText.insert_text]
* with a position of -1.
*
- * Deprecated: 4.10: Use GtkDropDown
+ * Deprecated: 4.10: Use [class@Gtk.DropDown]
*/
void
gtk_combo_box_text_append_text (GtkComboBoxText *combo_box,
* This is the same as calling [method@Gtk.ComboBoxText.insert_text]
* with a position of 0.
*
- * Deprecated: 4.10: Use GtkDropDown
+ * Deprecated: 4.10: Use [class@Gtk.DropDown]
*/
void
gtk_combo_box_text_prepend_text (GtkComboBoxText *combo_box,
* This is the same as calling [method@Gtk.ComboBoxText.insert]
* with a %NULL ID string.
*
- * Deprecated: 4.10: Use GtkDropDown
+ * Deprecated: 4.10: Use [class@Gtk.DropDown]
*/
void
gtk_combo_box_text_insert_text (GtkComboBoxText *combo_box,
* This is the same as calling [method@Gtk.ComboBoxText.insert]
* with a position of -1.
*
- * Deprecated: 4.10: Use GtkDropDown
+ * Deprecated: 4.10: Use [class@Gtk.DropDown]
*/
void
gtk_combo_box_text_append (GtkComboBoxText *combo_box,
* This is the same as calling [method@Gtk.ComboBoxText.insert]
* with a position of 0.
*
- * Deprecated: 4.10: Use GtkDropDown
+ * Deprecated: 4.10: Use [class@Gtk.DropDown]
*/
void
gtk_combo_box_text_prepend (GtkComboBoxText *combo_box,
*
* If @position is negative then @text is appended.
*
- * Deprecated: 4.10: Use GtkDropDown
+ * Deprecated: 4.10: Use [class@Gtk.DropDown]
*/
void
gtk_combo_box_text_insert (GtkComboBoxText *combo_box,
*
* Removes the string at @position from @combo_box.
*
- * Deprecated: 4.10: Use GtkDropDown
+ * Deprecated: 4.10: Use [class@Gtk.DropDown]
*/
void
gtk_combo_box_text_remove (GtkComboBoxText *combo_box,
*
* Removes all the text entries from the combo box.
*
- * Deprecated: 4.10: Use GtkDropDown
+ * Deprecated: 4.10: Use [class@Gtk.DropDown]
*/
void
gtk_combo_box_text_remove_all (GtkComboBoxText *combo_box)
* string containing the currently active text.
* Must be freed with g_free().
*
- * Deprecated: 4.10: Use GtkDropDown
+ * Deprecated: 4.10: Use [class@Gtk.DropDown]
*/
char *
gtk_combo_box_text_get_active_text (GtkComboBoxText *combo_box)
GDK_AVAILABLE_IN_ALL
GType gtk_combo_box_text_get_type (void) G_GNUC_CONST;
-GDK_DEPRECATED_IN_4_10
+GDK_DEPRECATED_IN_4_10_FOR(GtkDropDown and GtkStringList)
GtkWidget* gtk_combo_box_text_new (void);
-GDK_DEPRECATED_IN_4_10
+GDK_DEPRECATED_IN_4_10_FOR(GtkDropDown and GtkStringList)
GtkWidget* gtk_combo_box_text_new_with_entry (void);
-GDK_DEPRECATED_IN_4_10
+GDK_DEPRECATED_IN_4_10_FOR(GtkDropDown and GtkStringList)
void gtk_combo_box_text_append_text (GtkComboBoxText *combo_box,
const char *text);
-GDK_DEPRECATED_IN_4_10
+GDK_DEPRECATED_IN_4_10_FOR(GtkDropDown and GtkStringList)
void gtk_combo_box_text_insert_text (GtkComboBoxText *combo_box,
int position,
const char *text);
-GDK_DEPRECATED_IN_4_10
+GDK_DEPRECATED_IN_4_10_FOR(GtkDropDown and GtkStringList)
void gtk_combo_box_text_prepend_text (GtkComboBoxText *combo_box,
const char *text);
-GDK_DEPRECATED_IN_4_10
+GDK_DEPRECATED_IN_4_10_FOR(GtkDropDown and GtkStringList)
void gtk_combo_box_text_remove (GtkComboBoxText *combo_box,
int position);
-GDK_DEPRECATED_IN_4_10
+GDK_DEPRECATED_IN_4_10_FOR(GtkDropDown and GtkStringList)
void gtk_combo_box_text_remove_all (GtkComboBoxText *combo_box);
-GDK_DEPRECATED_IN_4_10
+GDK_DEPRECATED_IN_4_10_FOR(GtkDropDown and GtkStringList)
char *gtk_combo_box_text_get_active_text (GtkComboBoxText *combo_box);
-GDK_DEPRECATED_IN_4_10
+GDK_DEPRECATED_IN_4_10_FOR(GtkDropDown and GtkStringList)
void gtk_combo_box_text_insert (GtkComboBoxText *combo_box,
int position,
const char *id,
const char *text);
-GDK_DEPRECATED_IN_4_10
+GDK_DEPRECATED_IN_4_10_FOR(GtkDropDown and GtkStringList)
void gtk_combo_box_text_append (GtkComboBoxText *combo_box,
const char *id,
const char *text);
-GDK_DEPRECATED_IN_4_10
+GDK_DEPRECATED_IN_4_10_FOR(GtkDropDown and GtkStringList)
void gtk_combo_box_text_prepend (GtkComboBoxText *combo_box,
const char *id,
const char *text);