summaryrefslogtreecommitdiff
path: root/gtk/gtkcelllayout.h
diff options
context:
space:
mode:
authorKristian Rietveld <kris@gtk.org>2003-12-19 22:47:20 +0000
committerKristian Rietveld <kristian@src.gnome.org>2003-12-19 22:47:20 +0000
commit2f4326e40633536ffea31e266f1985ca0fb805f3 (patch)
tree5ae741b553cfad54a1969207659eb381693794cb /gtk/gtkcelllayout.h
parent30d9f88996c6cf5148837063ea45cef3f17c96da (diff)
downloadgtk+-2f4326e40633536ffea31e266f1985ca0fb805f3.tar.gz
Fixes #108458.
Fri Dec 19 23:36:00 2003 Kristian Rietveld <kris@gtk.org> Fixes #108458. * gtk/gtkcelllayout.[ch]: added a reorder method. * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_layout_init), (gtk_tree_view_column_cell_layout_reorder): implement reorder. * gtk/gtkcellview.c (gtk_cell_view_cell_layout_init), (gtk_cell_view_cell_layout_reorder): ditto. * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_init), (gtk_combo_box_cell_layout_reorder): ditto. * gtk/gtkentrycompletion.c (gtk_entry_completion_cell_layout_init), (gtk_entry_completion_reorder): ditto.
Diffstat (limited to 'gtk/gtkcelllayout.h')
-rw-r--r--gtk/gtkcelllayout.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gtk/gtkcelllayout.h b/gtk/gtkcelllayout.h
index 5e60e2e361..2458df3a76 100644
--- a/gtk/gtkcelllayout.h
+++ b/gtk/gtkcelllayout.h
@@ -65,6 +65,9 @@ struct _GtkCellLayoutIface
GDestroyNotify destroy);
void (* clear_attributes) (GtkCellLayout *cell_layout,
GtkCellRenderer *cell);
+ void (* reorder) (GtkCellLayout *cell_layout,
+ GtkCellRenderer *cell,
+ gint position);
};
GType gtk_cell_layout_get_type (void);
@@ -89,6 +92,9 @@ void gtk_cell_layout_set_cell_data_func (GtkCellLayout *cell_layout,
GDestroyNotify destroy);
void gtk_cell_layout_clear_attributes (GtkCellLayout *cell_layout,
GtkCellRenderer *cell);
+void gtk_cell_layout_reorder (GtkCellLayout *cell_layout,
+ GtkCellRenderer *cell,
+ gint position);
G_END_DECLS