diff options
Diffstat (limited to 'gtk')
-rw-r--r-- | gtk/gtkcelleditable.c | 23 | ||||
-rw-r--r-- | gtk/gtktreemodel.h | 4 | ||||
-rw-r--r-- | gtk/gtktreeviewcolumn.c | 5 |
3 files changed, 28 insertions, 4 deletions
diff --git a/gtk/gtkcelleditable.c b/gtk/gtkcelleditable.c index cab88e8aa3..158ed5265b 100644 --- a/gtk/gtkcelleditable.c +++ b/gtk/gtkcelleditable.c @@ -74,6 +74,15 @@ gtk_cell_editable_base_init (gpointer g_class) } } +/** + * gtk_cell_editable_start_editing: + * @cell_editable: A #GtkCellEditable + * @event: A #GdkEvent, or %NULL + * + * Begins editing on a @cell_editable. @event is the #GdkEvent that began the + * editing process. It may be %NULL, in the instance that editing was initiated + * through programatic means. + **/ void gtk_cell_editable_start_editing (GtkCellEditable *cell_editable, GdkEvent *event) @@ -84,6 +93,13 @@ gtk_cell_editable_start_editing (GtkCellEditable *cell_editable, (* GTK_CELL_EDITABLE_GET_IFACE (cell_editable)->start_editing) (cell_editable, event); } +/** + * gtk_cell_editable_editing_done: + * @cell_editable: A #GtkTreeEditable + * + * Emits the "editing_done" signal. This signal is a sign for the cell renderer + * to update it's value from the cell. + **/ void gtk_cell_editable_editing_done (GtkCellEditable *cell_editable) { @@ -92,6 +108,13 @@ gtk_cell_editable_editing_done (GtkCellEditable *cell_editable) g_signal_emit_by_name (cell_editable, "editing_done"); } +/** + * gtk_cell_editable_remove_widget: + * @cell_editable: A #GtkTreeEditable + * + * Emits the "remove_widget" signal. This signal is meant to indicate that the + * cell is finished editing, and the widget may now be destroyed. + **/ void gtk_cell_editable_remove_widget (GtkCellEditable *cell_editable) { diff --git a/gtk/gtktreemodel.h b/gtk/gtktreemodel.h index 41322eab60..8caf190b6b 100644 --- a/gtk/gtktreemodel.h +++ b/gtk/gtktreemodel.h @@ -219,8 +219,8 @@ void gtk_tree_model_foreach (GtkTreeModel *model /* Signals */ void gtk_tree_model_row_changed (GtkTreeModel *tree_model, - GtkTreePath *start_path, - GtkTreeIter *start_iter); + GtkTreePath *path, + GtkTreeIter *iter); void gtk_tree_model_row_inserted (GtkTreeModel *tree_model, GtkTreePath *path, GtkTreeIter *iter); diff --git a/gtk/gtktreeviewcolumn.c b/gtk/gtktreeviewcolumn.c index 8892eeadf2..6b020ba548 100644 --- a/gtk/gtktreeviewcolumn.c +++ b/gtk/gtktreeviewcolumn.c @@ -1242,6 +1242,7 @@ gtk_tree_view_column_set_attributes (GtkTreeViewColumn *tree_column, /** * gtk_tree_view_column_set_cell_data_func: * @tree_column: A #GtkTreeViewColumn + * @cell_renderer: A #GtkCellRenderer * @func: The #GtkTreeViewColumnFunc to use. * @func_data: The user data for @func. * @destroy: The destroy notification for @func_data @@ -1462,7 +1463,7 @@ gtk_tree_view_column_get_width (GtkTreeViewColumn *tree_column) /** * gtk_tree_view_column_set_fixed_width: * @tree_column: A #GtkTreeViewColumn. - * @width: The size to set the @tree_column to. + * @fixed_width: The size to set the @tree_column to. * * Sets the size of the column in pixels. This is meaningful only if the sizing * type is #GTK_TREE_VIEW_COLUMN_FIXED. In this case, the value is discarded @@ -1471,7 +1472,7 @@ gtk_tree_view_column_get_width (GtkTreeViewColumn *tree_column) **/ void gtk_tree_view_column_set_fixed_width (GtkTreeViewColumn *tree_column, - gint width) + gint fixed_width) { g_return_if_fail (GTK_IS_TREE_VIEW_COLUMN (tree_column)); g_return_if_fail (width > 0); |