diff options
author | Matthias Clasen <mclasen@redhat.com> | 2013-03-20 18:17:32 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2013-05-05 15:38:47 -0400 |
commit | 20c8c8b91cf2719249a729492ec84b7282dc03fb (patch) | |
tree | d53cf50689bceedbea093895d0e51a7c204cef76 /gtk/gtktreeselection.h | |
parent | 8470eb84c080718120b5daf130db744bf6ec220b (diff) | |
download | gtk+-20c8c8b91cf2719249a729492ec84b7282dc03fb.tar.gz |
Add annotations to gtk headers
Add annotations to all exported functions in GTK+ headers.
Diffstat (limited to 'gtk/gtktreeselection.h')
-rw-r--r-- | gtk/gtktreeselection.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/gtk/gtktreeselection.h b/gtk/gtktreeselection.h index 4600930ce7..379961e2c2 100644 --- a/gtk/gtktreeselection.h +++ b/gtk/gtktreeselection.h @@ -94,48 +94,69 @@ struct _GtkTreeSelectionClass }; +GDK_AVAILABLE_IN_ALL GType gtk_tree_selection_get_type (void) G_GNUC_CONST; +GDK_AVAILABLE_IN_ALL void gtk_tree_selection_set_mode (GtkTreeSelection *selection, GtkSelectionMode type); +GDK_AVAILABLE_IN_ALL GtkSelectionMode gtk_tree_selection_get_mode (GtkTreeSelection *selection); +GDK_AVAILABLE_IN_ALL void gtk_tree_selection_set_select_function (GtkTreeSelection *selection, GtkTreeSelectionFunc func, gpointer data, GDestroyNotify destroy); +GDK_AVAILABLE_IN_ALL gpointer gtk_tree_selection_get_user_data (GtkTreeSelection *selection); +GDK_AVAILABLE_IN_ALL GtkTreeView* gtk_tree_selection_get_tree_view (GtkTreeSelection *selection); +GDK_AVAILABLE_IN_ALL GtkTreeSelectionFunc gtk_tree_selection_get_select_function (GtkTreeSelection *selection); /* Only meaningful if GTK_SELECTION_SINGLE or GTK_SELECTION_BROWSE is set */ /* Use selected_foreach or get_selected_rows for GTK_SELECTION_MULTIPLE */ +GDK_AVAILABLE_IN_ALL gboolean gtk_tree_selection_get_selected (GtkTreeSelection *selection, GtkTreeModel **model, GtkTreeIter *iter); +GDK_AVAILABLE_IN_ALL GList * gtk_tree_selection_get_selected_rows (GtkTreeSelection *selection, GtkTreeModel **model); +GDK_AVAILABLE_IN_ALL gint gtk_tree_selection_count_selected_rows (GtkTreeSelection *selection); +GDK_AVAILABLE_IN_ALL void gtk_tree_selection_selected_foreach (GtkTreeSelection *selection, GtkTreeSelectionForeachFunc func, gpointer data); +GDK_AVAILABLE_IN_ALL void gtk_tree_selection_select_path (GtkTreeSelection *selection, GtkTreePath *path); +GDK_AVAILABLE_IN_ALL void gtk_tree_selection_unselect_path (GtkTreeSelection *selection, GtkTreePath *path); +GDK_AVAILABLE_IN_ALL void gtk_tree_selection_select_iter (GtkTreeSelection *selection, GtkTreeIter *iter); +GDK_AVAILABLE_IN_ALL void gtk_tree_selection_unselect_iter (GtkTreeSelection *selection, GtkTreeIter *iter); +GDK_AVAILABLE_IN_ALL gboolean gtk_tree_selection_path_is_selected (GtkTreeSelection *selection, GtkTreePath *path); +GDK_AVAILABLE_IN_ALL gboolean gtk_tree_selection_iter_is_selected (GtkTreeSelection *selection, GtkTreeIter *iter); +GDK_AVAILABLE_IN_ALL void gtk_tree_selection_select_all (GtkTreeSelection *selection); +GDK_AVAILABLE_IN_ALL void gtk_tree_selection_unselect_all (GtkTreeSelection *selection); +GDK_AVAILABLE_IN_ALL void gtk_tree_selection_select_range (GtkTreeSelection *selection, GtkTreePath *start_path, GtkTreePath *end_path); +GDK_AVAILABLE_IN_ALL void gtk_tree_selection_unselect_range (GtkTreeSelection *selection, GtkTreePath *start_path, GtkTreePath *end_path); |