Merge branch 'row-activated-annotation' into 'master'

treeview: Add a few missing annotations

Closes #3828

See merge request GNOME/gtk!3647
This commit is contained in:
Matthias Clasen 2021-06-08 17:17:45 +00:00
commit 5ef6944a41

View File

@ -1167,15 +1167,17 @@ gtk_tree_view_class_init (GtkTreeViewClass *class)
* GtkTreeView::row-activated:
* @tree_view: the object on which the signal is emitted
* @path: the `GtkTreePath` for the activated row
* @column: the `GtkTreeViewColumn` in which the activation occurred
* @column: (nullable): the `GtkTreeViewColumn` in which the activation occurred
*
* The "row-activated" signal is emitted when the method
* gtk_tree_view_row_activated() is called, when the user double
* clicks a treeview row with the "activate-on-single-click"
* property set to %FALSE, or when the user single clicks a row when
* the "activate-on-single-click" property set to %TRUE. It is also
* emitted when a non-editable row is selected and one of the keys:
* Space, Shift+Space, Return or Enter is pressed.
* gtk_tree_view_row_activated() is called.
*
* This signal is emitted when the user double-clicks a treeview row with the
* [property@Gtk.TreeView:activate-on-single-click] property set to %FALSE,
* or when the user single-clicks a row when that property set to %TRUE.
*
* This signal is also emitted when a non-editable row is selected and one
* of the keys: <kbd>Space</kbd>, <kbd>Shift</kbd>+<kbd>Space</kbd>, <kbd>Return</kbd> or <kbd>Enter</kbd> is pressed.
*
* For selection handling refer to the
* [tree widget conceptual overview][TreeWidget]
@ -11283,7 +11285,7 @@ gtk_tree_view_scroll_to_cell (GtkTreeView *tree_view,
* gtk_tree_view_row_activated:
* @tree_view: A `GtkTreeView`
* @path: The `GtkTreePath` to be activated.
* @column: The `GtkTreeViewColumn` to be activated.
* @column: (nullable): The `GtkTreeViewColumn` to be activated.
*
* Activates the cell determined by @path and @column.
**/