diff options
author | Jonathan Blandford <jrb@redhat.com> | 2001-09-18 22:49:02 +0000 |
---|---|---|
committer | Jonathan Blandford <jrb@src.gnome.org> | 2001-09-18 22:49:02 +0000 |
commit | fa6e6928f6e3095ea795625d4791b1734896f8c0 (patch) | |
tree | 1fc768a78490f150db8778b318bba26301fcbfb7 /gtk/gtktreeprivate.h | |
parent | a15d5c36f6e100ff512ca3fc2ff034d3cbd5f572 (diff) | |
download | gdk-pixbuf-fa6e6928f6e3095ea795625d4791b1734896f8c0.tar.gz |
centralize all the editing code
Tue Sep 18 18:46:54 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_start_editing): centralize all
the editing code
* gtk/gtkcelleditable.c: Got rid of stop_editing, as there was no
reason to call it beyond emiting the two signals.
* gtk/gtkentry.c (gtk_entry_class_init): add "has_frame" property
to GtkEntry.
Diffstat (limited to 'gtk/gtktreeprivate.h')
-rw-r--r-- | gtk/gtktreeprivate.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/gtk/gtktreeprivate.h b/gtk/gtktreeprivate.h index 67b37f0c7..33235b5fe 100644 --- a/gtk/gtktreeprivate.h +++ b/gtk/gtktreeprivate.h @@ -105,6 +105,7 @@ struct _GtkTreeViewPrivate gint drag_column_x; GtkTreeViewColumn *expander_column; + GtkTreeViewColumn *edited_column; /* Focus code */ GtkTreeViewColumn *focus_column; @@ -268,6 +269,12 @@ GtkTreePath *_gtk_tree_view_find_path (GtkTreeView *tree_v GtkRBTree *tree, GtkRBNode *node); void _gtk_tree_view_update_size (GtkTreeView *tree_view); +void _gtk_tree_view_child_move_resize (GtkTreeView *tree_view, + GtkWidget *widget, + gint x, + gint y, + gint width, + gint height); void _gtk_tree_view_column_realize_button (GtkTreeViewColumn *column); @@ -286,6 +293,10 @@ gboolean _gtk_tree_view_column_cell_event (GtkTreeViewColumn *tree_column, GdkRectangle *background_area, GdkRectangle *cell_area, guint flags); +void _gtk_tree_view_column_start_editing (GtkTreeViewColumn *tree_column, + GtkCellEditable *editable_widget); +void _gtk_tree_view_column_stop_editing (GtkTreeViewColumn *tree_column); + GtkTreeSelection* _gtk_tree_selection_new (void); GtkTreeSelection* _gtk_tree_selection_new_with_tree_view (GtkTreeView *tree_view); |