diff options
author | Kristian Rietveld <kris@gtk.org> | 2003-12-19 22:47:20 +0000 |
---|---|---|
committer | Kristian Rietveld <kristian@src.gnome.org> | 2003-12-19 22:47:20 +0000 |
commit | 2f4326e40633536ffea31e266f1985ca0fb805f3 (patch) | |
tree | 5ae741b553cfad54a1969207659eb381693794cb /gtk/gtkcelllayout.h | |
parent | 30d9f88996c6cf5148837063ea45cef3f17c96da (diff) | |
download | gtk+-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.h | 6 |
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 |