Add missing getters for readwrite properies. (#135649)

Thu May  6 00:02:21 2004  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtkcombobox.c (gtk_combo_box_get_wrap_width):
	(gtk_combo_box_get_row_span_column):
	(gtk_combo_box_get_column_span_column): Add missing getters
	for readwrite properies. (#135649)
This commit is contained in:
Matthias Clasen
2004-05-06 04:06:35 +00:00
committed by Matthias Clasen
parent 56b202f461
commit 3d01ab5f5a
8 changed files with 94 additions and 0 deletions

View File

@ -3023,6 +3023,26 @@ gtk_combo_box_new_with_model (GtkTreeModel *model)
return GTK_WIDGET (combo_box);
}
/**
* gtk_combo_box_get_wrap_width:
* @combo_box: A #GtkComboBox.
*
* Returns the wrap width which is used to determine the number
* of columns for the popup menu. If the wrap width is larger than
* 1, the combo box is in table mode.
*
* Returns: the wrap width.
*
* Since: 2.6
*/
gint
gtk_combo_box_get_wrap_width (GtkComboBox *combo_box)
{
g_return_val_if_fail (GTK_IS_COMBO_BOX (combo_box), -1);
return combo_box->priv->wrap_width;
}
/**
* gtk_combo_box_set_wrap_width:
* @combo_box: A #GtkComboBox.
@ -3052,6 +3072,24 @@ gtk_combo_box_set_wrap_width (GtkComboBox *combo_box,
}
}
/**
* gtk_combo_box_get_row_span_column:
* @combo_box: A #GtkComboBox.
*
* 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)
{
g_return_val_if_fail (GTK_IS_COMBO_BOX (combo_box), -1);
return combo_box->priv->row_column;
}
/**
* gtk_combo_box_set_row_span_column:
* @combo_box: A #GtkComboBox.
@ -3084,6 +3122,24 @@ gtk_combo_box_set_row_span_column (GtkComboBox *combo_box,
}
}
/**
* gtk_combo_box_get_column_span_column:
* @combo_box: A #GtkComboBox.
*
* 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)
{
g_return_val_if_fail (GTK_IS_COMBO_BOX (combo_box), -1);
return combo_box->priv->col_column;
}
/**
* gtk_combo_box_set_column_span_column:
* @combo_box: A #GtkComboBox.