summaryrefslogtreecommitdiff
path: root/gtk/gtkflowbox.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2018-02-05 20:13:20 +0100
committerMatthias Clasen <mclasen@redhat.com>2018-02-06 01:16:32 -0500
commit4c150d8eb518c35c484802e5cd7da572e4030f25 (patch)
tree8867f973fd6c9737b5d7f05d6945817f354a37e2 /gtk/gtkflowbox.h
parent2616e6857cc136c654b64dd16839ddf89f4b5c62 (diff)
downloadgtk+-4c150d8eb518c35c484802e5cd7da572e4030f25.tar.gz
The big versioning cleanup
Remove all the old 2.x and 3.x version annotations. GTK+ 4 is a new start, and from the perspective of a GTK+ 4 developer all these APIs have been around since the beginning.
Diffstat (limited to 'gtk/gtkflowbox.h')
-rw-r--r--gtk/gtkflowbox.h76
1 files changed, 37 insertions, 39 deletions
diff --git a/gtk/gtkflowbox.h b/gtk/gtkflowbox.h
index ba07f55e7a..906162165a 100644
--- a/gtk/gtkflowbox.h
+++ b/gtk/gtkflowbox.h
@@ -108,80 +108,78 @@ struct _GtkFlowBoxChildClass
* gtk_flow_box_bind_model() for each item that gets added to the model.
*
* Returns: (transfer full): a #GtkWidget that represents @item
- *
- * Since: 3.18
*/
typedef GtkWidget * (*GtkFlowBoxCreateWidgetFunc) (gpointer item,
gpointer user_data);
-GDK_AVAILABLE_IN_3_12
+GDK_AVAILABLE_IN_ALL
GType gtk_flow_box_child_get_type (void) G_GNUC_CONST;
-GDK_AVAILABLE_IN_3_12
+GDK_AVAILABLE_IN_ALL
GtkWidget* gtk_flow_box_child_new (void);
-GDK_AVAILABLE_IN_3_12
+GDK_AVAILABLE_IN_ALL
gint gtk_flow_box_child_get_index (GtkFlowBoxChild *child);
-GDK_AVAILABLE_IN_3_12
+GDK_AVAILABLE_IN_ALL
gboolean gtk_flow_box_child_is_selected (GtkFlowBoxChild *child);
-GDK_AVAILABLE_IN_3_12
+GDK_AVAILABLE_IN_ALL
void gtk_flow_box_child_changed (GtkFlowBoxChild *child);
-GDK_AVAILABLE_IN_3_12
+GDK_AVAILABLE_IN_ALL
GType gtk_flow_box_get_type (void) G_GNUC_CONST;
-GDK_AVAILABLE_IN_3_12
+GDK_AVAILABLE_IN_ALL
GtkWidget *gtk_flow_box_new (void);
-GDK_AVAILABLE_IN_3_18
+GDK_AVAILABLE_IN_ALL
void gtk_flow_box_bind_model (GtkFlowBox *box,
GListModel *model,
GtkFlowBoxCreateWidgetFunc create_widget_func,
gpointer user_data,
GDestroyNotify user_data_free_func);
-GDK_AVAILABLE_IN_3_12
+GDK_AVAILABLE_IN_ALL
void gtk_flow_box_set_homogeneous (GtkFlowBox *box,
gboolean homogeneous);
-GDK_AVAILABLE_IN_3_12
+GDK_AVAILABLE_IN_ALL
gboolean gtk_flow_box_get_homogeneous (GtkFlowBox *box);
-GDK_AVAILABLE_IN_3_12
+GDK_AVAILABLE_IN_ALL
void gtk_flow_box_set_row_spacing (GtkFlowBox *box,
guint spacing);
-GDK_AVAILABLE_IN_3_12
+GDK_AVAILABLE_IN_ALL
guint gtk_flow_box_get_row_spacing (GtkFlowBox *box);
-GDK_AVAILABLE_IN_3_12
+GDK_AVAILABLE_IN_ALL
void gtk_flow_box_set_column_spacing (GtkFlowBox *box,
guint spacing);
-GDK_AVAILABLE_IN_3_12
+GDK_AVAILABLE_IN_ALL
guint gtk_flow_box_get_column_spacing (GtkFlowBox *box);
-GDK_AVAILABLE_IN_3_12
+GDK_AVAILABLE_IN_ALL
void gtk_flow_box_set_min_children_per_line (GtkFlowBox *box,
guint n_children);
-GDK_AVAILABLE_IN_3_12
+GDK_AVAILABLE_IN_ALL
guint gtk_flow_box_get_min_children_per_line (GtkFlowBox *box);
-GDK_AVAILABLE_IN_3_12
+GDK_AVAILABLE_IN_ALL
void gtk_flow_box_set_max_children_per_line (GtkFlowBox *box,
guint n_children);
-GDK_AVAILABLE_IN_3_12
+GDK_AVAILABLE_IN_ALL
guint gtk_flow_box_get_max_children_per_line (GtkFlowBox *box);
-GDK_AVAILABLE_IN_3_12
+GDK_AVAILABLE_IN_ALL
void gtk_flow_box_set_activate_on_single_click (GtkFlowBox *box,
gboolean single);
-GDK_AVAILABLE_IN_3_12
+GDK_AVAILABLE_IN_ALL
gboolean gtk_flow_box_get_activate_on_single_click (GtkFlowBox *box);
-GDK_AVAILABLE_IN_3_12
+GDK_AVAILABLE_IN_ALL
void gtk_flow_box_insert (GtkFlowBox *box,
GtkWidget *widget,
gint position);
-GDK_AVAILABLE_IN_3_12
+GDK_AVAILABLE_IN_ALL
GtkFlowBoxChild *gtk_flow_box_get_child_at_index (GtkFlowBox *box,
gint idx);
-GDK_AVAILABLE_IN_3_22
+GDK_AVAILABLE_IN_ALL
GtkFlowBoxChild *gtk_flow_box_get_child_at_pos (GtkFlowBox *box,
gint x,
gint y);
@@ -190,55 +188,55 @@ typedef void (* GtkFlowBoxForeachFunc) (GtkFlowBox *box,
GtkFlowBoxChild *child,
gpointer user_data);
-GDK_AVAILABLE_IN_3_12
+GDK_AVAILABLE_IN_ALL
void gtk_flow_box_selected_foreach (GtkFlowBox *box,
GtkFlowBoxForeachFunc func,
gpointer data);
-GDK_AVAILABLE_IN_3_12
+GDK_AVAILABLE_IN_ALL
GList *gtk_flow_box_get_selected_children (GtkFlowBox *box);
-GDK_AVAILABLE_IN_3_12
+GDK_AVAILABLE_IN_ALL
void gtk_flow_box_select_child (GtkFlowBox *box,
GtkFlowBoxChild *child);
-GDK_AVAILABLE_IN_3_12
+GDK_AVAILABLE_IN_ALL
void gtk_flow_box_unselect_child (GtkFlowBox *box,
GtkFlowBoxChild *child);
-GDK_AVAILABLE_IN_3_12
+GDK_AVAILABLE_IN_ALL
void gtk_flow_box_select_all (GtkFlowBox *box);
-GDK_AVAILABLE_IN_3_12
+GDK_AVAILABLE_IN_ALL
void gtk_flow_box_unselect_all (GtkFlowBox *box);
-GDK_AVAILABLE_IN_3_12
+GDK_AVAILABLE_IN_ALL
void gtk_flow_box_set_selection_mode (GtkFlowBox *box,
GtkSelectionMode mode);
-GDK_AVAILABLE_IN_3_12
+GDK_AVAILABLE_IN_ALL
GtkSelectionMode gtk_flow_box_get_selection_mode (GtkFlowBox *box);
-GDK_AVAILABLE_IN_3_12
+GDK_AVAILABLE_IN_ALL
void gtk_flow_box_set_hadjustment (GtkFlowBox *box,
GtkAdjustment *adjustment);
-GDK_AVAILABLE_IN_3_12
+GDK_AVAILABLE_IN_ALL
void gtk_flow_box_set_vadjustment (GtkFlowBox *box,
GtkAdjustment *adjustment);
typedef gboolean (*GtkFlowBoxFilterFunc) (GtkFlowBoxChild *child,
gpointer user_data);
-GDK_AVAILABLE_IN_3_12
+GDK_AVAILABLE_IN_ALL
void gtk_flow_box_set_filter_func (GtkFlowBox *box,
GtkFlowBoxFilterFunc filter_func,
gpointer user_data,
GDestroyNotify destroy);
-GDK_AVAILABLE_IN_3_12
+GDK_AVAILABLE_IN_ALL
void gtk_flow_box_invalidate_filter (GtkFlowBox *box);
typedef gint (*GtkFlowBoxSortFunc) (GtkFlowBoxChild *child1,
GtkFlowBoxChild *child2,
gpointer user_data);
-GDK_AVAILABLE_IN_3_12
+GDK_AVAILABLE_IN_ALL
void gtk_flow_box_set_sort_func (GtkFlowBox *box,
GtkFlowBoxSortFunc sort_func,
gpointer user_data,
GDestroyNotify destroy);
-GDK_AVAILABLE_IN_3_12
+GDK_AVAILABLE_IN_ALL
void gtk_flow_box_invalidate_sort (GtkFlowBox *box);
G_END_DECLS