aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gtkflowbox.h
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2016-01-30 08:22:20 +0100
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2016-01-31 02:21:02 +0100
commitd7279189cbd51d2d1b5dee36a4fb09f3388801e0 (patch)
tree443c7e307a7a60a1d70ffdcaa07c7b16903cca09 /src/gtkflowbox.h
parent360925350c4667107c71191176fc479cad8dcaf8 (diff)
downloadsciteco-d7279189cbd51d2d1b5dee36a4fb09f3388801e0.tar.gz
made the fallback GtkFlowBox a stand-alone widget that can be built outside of Gtk
* it was necessary to remove the accessibility integration since I don't want to import a lot of bloat into the SciTECO codebase * Includes follow the guidelines of external Gtk code now * internationalization support has been removed * The "move-cursor" signal uses the generic marshaller now since we don't want to introduce genmarshal just for that signal (and it will never be called from a scripting language)
Diffstat (limited to 'src/gtkflowbox.h')
-rw-r--r--src/gtkflowbox.h41
1 files changed, 1 insertions, 40 deletions
diff --git a/src/gtkflowbox.h b/src/gtkflowbox.h
index f0f1790..6f0549f 100644
--- a/src/gtkflowbox.h
+++ b/src/gtkflowbox.h
@@ -25,11 +25,7 @@
#ifndef __GTK_FLOW_BOX_H__
#define __GTK_FLOW_BOX_H__
-#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
-#error "Only <gtk/gtk.h> can be included directly."
-#endif
-
-#include <gtk/gtkbin.h>
+#include <gtk/gtk.h>
G_BEGIN_DECLS
@@ -99,62 +95,41 @@ struct _GtkFlowBoxChildClass
void (*_gtk_reserved2) (void);
};
-GDK_AVAILABLE_IN_3_12
GType gtk_flow_box_child_get_type (void) G_GNUC_CONST;
-GDK_AVAILABLE_IN_3_12
GtkWidget* gtk_flow_box_child_new (void);
-GDK_AVAILABLE_IN_3_12
gint gtk_flow_box_child_get_index (GtkFlowBoxChild *child);
-GDK_AVAILABLE_IN_3_12
gboolean gtk_flow_box_child_is_selected (GtkFlowBoxChild *child);
-GDK_AVAILABLE_IN_3_12
void gtk_flow_box_child_changed (GtkFlowBoxChild *child);
-GDK_AVAILABLE_IN_3_12
GType gtk_flow_box_get_type (void) G_GNUC_CONST;
-GDK_AVAILABLE_IN_3_12
GtkWidget *gtk_flow_box_new (void);
-GDK_AVAILABLE_IN_3_12
void gtk_flow_box_set_homogeneous (GtkFlowBox *box,
gboolean homogeneous);
-GDK_AVAILABLE_IN_3_12
gboolean gtk_flow_box_get_homogeneous (GtkFlowBox *box);
-GDK_AVAILABLE_IN_3_12
void gtk_flow_box_set_row_spacing (GtkFlowBox *box,
guint spacing);
-GDK_AVAILABLE_IN_3_12
guint gtk_flow_box_get_row_spacing (GtkFlowBox *box);
-GDK_AVAILABLE_IN_3_12
void gtk_flow_box_set_column_spacing (GtkFlowBox *box,
guint spacing);
-GDK_AVAILABLE_IN_3_12
guint gtk_flow_box_get_column_spacing (GtkFlowBox *box);
-GDK_AVAILABLE_IN_3_12
void gtk_flow_box_set_min_children_per_line (GtkFlowBox *box,
guint n_children);
-GDK_AVAILABLE_IN_3_12
guint gtk_flow_box_get_min_children_per_line (GtkFlowBox *box);
-GDK_AVAILABLE_IN_3_12
void gtk_flow_box_set_max_children_per_line (GtkFlowBox *box,
guint n_children);
-GDK_AVAILABLE_IN_3_12
guint gtk_flow_box_get_max_children_per_line (GtkFlowBox *box);
-GDK_AVAILABLE_IN_3_12
void gtk_flow_box_set_activate_on_single_click (GtkFlowBox *box,
gboolean single);
-GDK_AVAILABLE_IN_3_12
gboolean gtk_flow_box_get_activate_on_single_click (GtkFlowBox *box);
-GDK_AVAILABLE_IN_3_12
void gtk_flow_box_insert (GtkFlowBox *box,
GtkWidget *widget,
gint position);
-GDK_AVAILABLE_IN_3_12
GtkFlowBoxChild *gtk_flow_box_get_child_at_index (GtkFlowBox *box,
gint idx);
@@ -162,55 +137,41 @@ typedef void (* GtkFlowBoxForeachFunc) (GtkFlowBox *box,
GtkFlowBoxChild *child,
gpointer user_data);
-GDK_AVAILABLE_IN_3_12
void gtk_flow_box_selected_foreach (GtkFlowBox *box,
GtkFlowBoxForeachFunc func,
gpointer data);
-GDK_AVAILABLE_IN_3_12
GList *gtk_flow_box_get_selected_children (GtkFlowBox *box);
-GDK_AVAILABLE_IN_3_12
void gtk_flow_box_select_child (GtkFlowBox *box,
GtkFlowBoxChild *child);
-GDK_AVAILABLE_IN_3_12
void gtk_flow_box_unselect_child (GtkFlowBox *box,
GtkFlowBoxChild *child);
-GDK_AVAILABLE_IN_3_12
void gtk_flow_box_select_all (GtkFlowBox *box);
-GDK_AVAILABLE_IN_3_12
void gtk_flow_box_unselect_all (GtkFlowBox *box);
-GDK_AVAILABLE_IN_3_12
void gtk_flow_box_set_selection_mode (GtkFlowBox *box,
GtkSelectionMode mode);
-GDK_AVAILABLE_IN_3_12
GtkSelectionMode gtk_flow_box_get_selection_mode (GtkFlowBox *box);
-GDK_AVAILABLE_IN_3_12
void gtk_flow_box_set_hadjustment (GtkFlowBox *box,
GtkAdjustment *adjustment);
-GDK_AVAILABLE_IN_3_12
void gtk_flow_box_set_vadjustment (GtkFlowBox *box,
GtkAdjustment *adjustment);
typedef gboolean (*GtkFlowBoxFilterFunc) (GtkFlowBoxChild *child,
gpointer user_data);
-GDK_AVAILABLE_IN_3_12
void gtk_flow_box_set_filter_func (GtkFlowBox *box,
GtkFlowBoxFilterFunc filter_func,
gpointer user_data,
GDestroyNotify destroy);
-GDK_AVAILABLE_IN_3_12
void gtk_flow_box_invalidate_filter (GtkFlowBox *box);
typedef gint (*GtkFlowBoxSortFunc) (GtkFlowBoxChild *child1,
GtkFlowBoxChild *child2,
gpointer user_data);
-GDK_AVAILABLE_IN_3_12
void gtk_flow_box_set_sort_func (GtkFlowBox *box,
GtkFlowBoxSortFunc sort_func,
gpointer user_data,
GDestroyNotify destroy);
-GDK_AVAILABLE_IN_3_12
void gtk_flow_box_invalidate_sort (GtkFlowBox *box);
G_END_DECLS