diff options
Diffstat (limited to 'gtk/gtkcombobox.c')
-rw-r--r-- | gtk/gtkcombobox.c | 102 |
1 files changed, 0 insertions, 102 deletions
diff --git a/gtk/gtkcombobox.c b/gtk/gtkcombobox.c index daf95a5a04..68776dde6c 100644 --- a/gtk/gtkcombobox.c +++ b/gtk/gtkcombobox.c @@ -460,8 +460,6 @@ gtk_combo_box_class_init (GtkComboBoxClass *klass) * call to gtk_combo_box_set_active_iter(). * It will also be emitted while typing into the entry of a combo box * with an entry. - * - * Since: 2.4 */ combo_box_signals[CHANGED] = g_signal_new (I_("changed"), @@ -479,8 +477,6 @@ gtk_combo_box_class_init (GtkComboBoxClass *klass) * The ::move-active signal is a * [keybinding signal][GtkBindingSignal] * which gets emitted to move the active selection. - * - * Since: 2.12 */ combo_box_signals[MOVE_ACTIVE] = g_signal_new_class_handler (I_("move-active"), @@ -501,8 +497,6 @@ gtk_combo_box_class_init (GtkComboBoxClass *klass) * which gets emitted to popup the combo box list. * * The default binding for this signal is Alt+Down. - * - * Since: 2.12 */ combo_box_signals[POPUP] = g_signal_new_class_handler (I_("popup"), @@ -521,8 +515,6 @@ gtk_combo_box_class_init (GtkComboBoxClass *klass) * which gets emitted to popdown the combo box list. * * The default bindings for this signal are Alt+Up and Escape. - * - * Since: 2.12 */ combo_box_signals[POPDOWN] = g_signal_new_class_handler (I_("popdown"), @@ -573,8 +565,6 @@ gtk_combo_box_class_init (GtkComboBoxClass *klass) * * Returns: (transfer full): a newly allocated string representing @path * for the current GtkComboBox model. - * - * Since: 3.4 */ combo_box_signals[FORMAT_ENTRY_TEXT] = g_signal_new (I_("format-entry-text"), @@ -648,8 +638,6 @@ gtk_combo_box_class_init (GtkComboBoxClass *klass) * * The model from which the combo box takes the values shown * in the list. - * - * Since: 2.4 */ g_object_class_install_property (object_class, PROP_MODEL, @@ -664,8 +652,6 @@ gtk_combo_box_class_init (GtkComboBoxClass *klass) * * If wrap-width is set to a positive value, items in the popup will be laid * out along multiple columns, starting a new row on reaching the wrap width. - * - * Since: 2.4 */ g_object_class_install_property (object_class, PROP_WRAP_WIDTH, @@ -685,8 +671,6 @@ gtk_combo_box_class_init (GtkComboBoxClass *klass) * of type %G_TYPE_INT in the model. The value in that column for each item * will determine how many rows that item will span in the popup. Therefore, * values in this column must be greater than zero. - * - * Since: 2.4 */ g_object_class_install_property (object_class, PROP_ROW_SPAN_COLUMN, @@ -707,8 +691,6 @@ gtk_combo_box_class_init (GtkComboBoxClass *klass) * will determine how many columns that item will span in the popup. * Therefore, values in this column must be greater than zero, and the sum of * an item’s column position + span should not exceed #GtkComboBox:wrap-width. - * - * Since: 2.4 */ g_object_class_install_property (object_class, PROP_COLUMN_SPAN_COLUMN, @@ -729,8 +711,6 @@ gtk_combo_box_class_init (GtkComboBoxClass *klass) * this property has the value * `gtk_tree_path_get_indices (path)[0]`, * where `path` is the #GtkTreePath of the active item. - * - * Since: 2.4 */ g_object_class_install_property (object_class, PROP_ACTIVE, @@ -747,8 +727,6 @@ gtk_combo_box_class_init (GtkComboBoxClass *klass) * * The has-frame property controls whether a frame * is drawn around the entry. - * - * Since: 2.6 */ g_object_class_install_property (object_class, PROP_HAS_FRAME, @@ -764,8 +742,6 @@ gtk_combo_box_class_init (GtkComboBoxClass *klass) * Whether the combo boxes dropdown is popped up. * Note that this property is mainly useful, because * it allows you to connect to notify::popup-shown. - * - * Since: 2.10 */ g_object_class_install_property (object_class, PROP_POPUP_SHOWN, @@ -781,8 +757,6 @@ gtk_combo_box_class_init (GtkComboBoxClass *klass) * * Whether the dropdown button is sensitive when * the model is empty. - * - * Since: 2.14 */ g_object_class_install_property (object_class, PROP_BUTTON_SENSITIVITY, @@ -797,8 +771,6 @@ gtk_combo_box_class_init (GtkComboBoxClass *klass) * GtkComboBox:has-entry: * * Whether the combo box has an entry. - * - * Since: 2.24 */ g_object_class_install_property (object_class, PROP_HAS_ENTRY, @@ -813,8 +785,6 @@ gtk_combo_box_class_init (GtkComboBoxClass *klass) * * The column in the combo box's model to associate with strings from the entry * if the combo was created with #GtkComboBox:has-entry = %TRUE. - * - * Since: 2.24 */ g_object_class_install_property (object_class, PROP_ENTRY_TEXT_COLUMN, @@ -831,8 +801,6 @@ gtk_combo_box_class_init (GtkComboBoxClass *klass) * * The column in the combo box's model that provides string * IDs for the values in the model, if != -1. - * - * Since: 3.0 */ g_object_class_install_property (object_class, PROP_ID_COLUMN, @@ -847,8 +815,6 @@ gtk_combo_box_class_init (GtkComboBoxClass *klass) * GtkComboBox:active-id: * * The value of the ID column of the active row. - * - * Since: 3.0 */ g_object_class_install_property (object_class, PROP_ACTIVE_ID, @@ -864,8 +830,6 @@ gtk_combo_box_class_init (GtkComboBoxClass *klass) * * Whether the popup's width should be a fixed width matching the * allocated width of the combo box. - * - * Since: 3.0 */ g_object_class_install_property (object_class, PROP_POPUP_FIXED_WIDTH, @@ -1525,8 +1489,6 @@ gtk_combo_box_menu_popup (GtkComboBox *combo_box) * applications should have little use for it. * * Before calling this, @combo_box must be mapped, or nothing will happen. - * - * Since: 2.4 */ void gtk_combo_box_popup (GtkComboBox *combo_box) @@ -1546,8 +1508,6 @@ gtk_combo_box_popup (GtkComboBox *combo_box) * with the device, as it was previously only used for list-mode ComboBoxes, * and those were removed in GTK+ 4. However, it is retained in case similar * functionality is added back later. - * - * Since: 3.0 **/ void gtk_combo_box_popup_for_device (GtkComboBox *combo_box, @@ -1598,8 +1558,6 @@ gtk_combo_box_real_popdown (GtkComboBox *combo_box) * * This function is mostly intended for use by accessibility technologies; * applications should have little use for it. - * - * Since: 2.4 */ void gtk_combo_box_popdown (GtkComboBox *combo_box) @@ -2019,8 +1977,6 @@ gtk_combo_box_cell_layout_get_area (GtkCellLayout *cell_layout) * Creates a new empty #GtkComboBox. * * Returns: A new #GtkComboBox. - * - * Since: 2.4 */ GtkWidget * gtk_combo_box_new (void) @@ -2034,8 +1990,6 @@ gtk_combo_box_new (void) * Creates a new empty #GtkComboBox with an entry. * * Returns: A new #GtkComboBox. - * - * Since: 2.24 */ GtkWidget * gtk_combo_box_new_with_entry (void) @@ -2050,8 +2004,6 @@ gtk_combo_box_new_with_entry (void) * Creates a new #GtkComboBox with the model initialized to @model. * * Returns: A new #GtkComboBox. - * - * Since: 2.4 */ GtkWidget * gtk_combo_box_new_with_model (GtkTreeModel *model) @@ -2073,8 +2025,6 @@ gtk_combo_box_new_with_model (GtkTreeModel *model) * and with the model initialized to @model. * * Returns: A new #GtkComboBox - * - * Since: 2.24 */ GtkWidget * gtk_combo_box_new_with_model_and_entry (GtkTreeModel *model) @@ -2094,8 +2044,6 @@ gtk_combo_box_new_with_model_and_entry (GtkTreeModel *model) * is in table mode. * * Returns: the wrap width. - * - * Since: 2.6 */ gint gtk_combo_box_get_wrap_width (GtkComboBox *combo_box) @@ -2113,8 +2061,6 @@ gtk_combo_box_get_wrap_width (GtkComboBox *combo_box) * Sets the wrap width of @combo_box to be @width. The wrap width is basically * the preferred number of columns when you want the popup to be layed out * in a table. - * - * Since: 2.4 */ void gtk_combo_box_set_wrap_width (GtkComboBox *combo_box, @@ -2142,8 +2088,6 @@ gtk_combo_box_set_wrap_width (GtkComboBox *combo_box, * Returns the column with row span information for @combo_box. * * Returns: the row span column. - * - * Since: 2.6 */ gint gtk_combo_box_get_row_span_column (GtkComboBox *combo_box) @@ -2161,8 +2105,6 @@ gtk_combo_box_get_row_span_column (GtkComboBox *combo_box) * Sets the column with row span information for @combo_box to be @row_span. * The row span column contains integers which indicate how many rows * an item should span. - * - * Since: 2.4 */ void gtk_combo_box_set_row_span_column (GtkComboBox *combo_box, @@ -2193,8 +2135,6 @@ gtk_combo_box_set_row_span_column (GtkComboBox *combo_box, * Returns the column with column span information for @combo_box. * * Returns: the column span column. - * - * Since: 2.6 */ gint gtk_combo_box_get_column_span_column (GtkComboBox *combo_box) @@ -2212,8 +2152,6 @@ gtk_combo_box_get_column_span_column (GtkComboBox *combo_box) * Sets the column with column span information for @combo_box to be * @column_span. The column span column contains integers which indicate * how many columns an item should span. - * - * Since: 2.4 */ void gtk_combo_box_set_column_span_column (GtkComboBox *combo_box, @@ -2249,8 +2187,6 @@ gtk_combo_box_set_column_span_column (GtkComboBox *combo_box, * * Returns: An integer which is the index of the currently active item, * or -1 if there’s no active item. - * - * Since: 2.4 */ gint gtk_combo_box_get_active (GtkComboBox *combo_box) @@ -2283,8 +2219,6 @@ gtk_combo_box_get_active (GtkComboBox *combo_box) * no active item * * Sets the active item of @combo_box to be the item at @index. - * - * Since: 2.4 */ void gtk_combo_box_set_active (GtkComboBox *combo_box, @@ -2385,8 +2319,6 @@ gtk_combo_box_set_active_internal (GtkComboBox *combo_box, * Otherwise, @iter is left unchanged. * * Returns: %TRUE if @iter was set, %FALSE otherwise - * - * Since: 2.4 */ gboolean gtk_combo_box_get_active_iter (GtkComboBox *combo_box, @@ -2417,8 +2349,6 @@ gtk_combo_box_get_active_iter (GtkComboBox *combo_box, * * Sets the current active item to be the one referenced by @iter, or * unsets the active item if @iter is %NULL. - * - * Since: 2.4 */ void gtk_combo_box_set_active_iter (GtkComboBox *combo_box, @@ -2446,8 +2376,6 @@ gtk_combo_box_set_active_iter (GtkComboBox *combo_box, * Note that this function does not clear the cell renderers, you have to * call gtk_cell_layout_clear() yourself if you need to set up different * cell renderers for the new model. - * - * Since: 2.4 */ void gtk_combo_box_set_model (GtkComboBox *combo_box, @@ -2512,8 +2440,6 @@ out: * * Returns: (transfer none): A #GtkTreeModel which was passed * during construction. - * - * Since: 2.4 */ GtkTreeModel * gtk_combo_box_get_model (GtkComboBox *combo_box) @@ -2886,8 +2812,6 @@ gtk_combo_box_start_editing (GtkCellEditable *cell_editable, * * Specifies whether the popup’s width should be a fixed width * matching the allocated width of the combo box. - * - * Since: 3.0 **/ void gtk_combo_box_set_popup_fixed_width (GtkComboBox *combo_box, @@ -2915,8 +2839,6 @@ gtk_combo_box_set_popup_fixed_width (GtkComboBox *combo_box, * the allocated width of the combo box. * * Returns: %TRUE if the popup uses a fixed width - * - * Since: 3.0 **/ gboolean gtk_combo_box_get_popup_fixed_width (GtkComboBox *combo_box) @@ -2938,8 +2860,6 @@ gtk_combo_box_get_popup_fixed_width (GtkComboBox *combo_box) * * Returns: (transfer none): the accessible object corresponding * to the combo box’s popup. - * - * Since: 2.6 */ AtkObject* gtk_combo_box_get_popup_accessible (GtkComboBox *combo_box) @@ -2956,8 +2876,6 @@ gtk_combo_box_get_popup_accessible (GtkComboBox *combo_box) * Returns the current row separator function. * * Returns: the current row separator function. - * - * Since: 2.6 */ GtkTreeViewRowSeparatorFunc gtk_combo_box_get_row_separator_func (GtkComboBox *combo_box) @@ -2977,8 +2895,6 @@ gtk_combo_box_get_row_separator_func (GtkComboBox *combo_box) * Sets the row separator function, which is used to determine * whether a row should be drawn as a separator. If the row separator * function is %NULL, no separators are drawn. This is the default value. - * - * Since: 2.6 */ void gtk_combo_box_set_row_separator_func (GtkComboBox *combo_box, @@ -3014,8 +2930,6 @@ gtk_combo_box_set_row_separator_func (GtkComboBox *combo_box, * Sets whether the dropdown button of the combo box should be * always sensitive (%GTK_SENSITIVITY_ON), never sensitive (%GTK_SENSITIVITY_OFF) * or only if there is at least one item to display (%GTK_SENSITIVITY_AUTO). - * - * Since: 2.14 **/ void gtk_combo_box_set_button_sensitivity (GtkComboBox *combo_box, @@ -3048,8 +2962,6 @@ gtk_combo_box_set_button_sensitivity (GtkComboBox *combo_box, * if the button is always insensitive or * %GTK_SENSITIVITY_AUTO if it is only sensitive as long as * the model has one item to be selected. - * - * Since: 2.14 **/ GtkSensitivityType gtk_combo_box_get_button_sensitivity (GtkComboBox *combo_box) @@ -3067,8 +2979,6 @@ gtk_combo_box_get_button_sensitivity (GtkComboBox *combo_box) * Returns whether the combo box has an entry. * * Returns: whether there is an entry in @combo_box. - * - * Since: 2.24 **/ gboolean gtk_combo_box_get_has_entry (GtkComboBox *combo_box) @@ -3090,8 +3000,6 @@ gtk_combo_box_get_has_entry (GtkComboBox *combo_box) * * This is only relevant if @combo_box has been created with * #GtkComboBox:has-entry as %TRUE. - * - * Since: 2.24 */ void gtk_combo_box_set_entry_text_column (GtkComboBox *combo_box, @@ -3130,8 +3038,6 @@ gtk_combo_box_set_entry_text_column (GtkComboBox *combo_box, * from to display in the internal entry. * * Returns: A column in the data source model of @combo_box. - * - * Since: 2.24 */ gint gtk_combo_box_get_entry_text_column (GtkComboBox *combo_box) @@ -3204,8 +3110,6 @@ gtk_combo_box_buildable_get_internal_child (GtkBuildable *buildable, * Sets the model column which @combo_box should use to get string IDs * for values from. The column @id_column in the model of @combo_box * must be of type %G_TYPE_STRING. - * - * Since: 3.0 */ void gtk_combo_box_set_id_column (GtkComboBox *combo_box, @@ -3241,8 +3145,6 @@ gtk_combo_box_set_id_column (GtkComboBox *combo_box, * for values from. * * Returns: A column in the data source model of @combo_box. - * - * Since: 3.0 */ gint gtk_combo_box_get_id_column (GtkComboBox *combo_box) @@ -3269,8 +3171,6 @@ gtk_combo_box_get_id_column (GtkComboBox *combo_box) * is returned. * * Returns: (nullable): the ID of the active row, or %NULL - * - * Since: 3.0 **/ const gchar * gtk_combo_box_get_active_id (GtkComboBox *combo_box) @@ -3320,8 +3220,6 @@ gtk_combo_box_get_active_id (GtkComboBox *combo_box) * Returns: %TRUE if a row with a matching ID was found. If a %NULL * @active_id was given to unset the active row, the function * always returns %TRUE. - * - * Since: 3.0 **/ gboolean gtk_combo_box_set_active_id (GtkComboBox *combo_box, |