1 /* ///////////////////////////////////////////////////////////////////////////
3 // Purpose: wxWindows's GTK base widget = GtkPizza
4 // Author: Robert Roebling
6 // Copyright: (c) 1998 Robert Roebling
7 // Licence: wxWindows licence
8 /////////////////////////////////////////////////////////////////////////// */
11 #ifndef __GTK_PIZZA_H__
12 #define __GTK_PIZZA_H__
15 #include <gtk/gtkcontainer.h>
16 #include <gtk/gtkadjustment.h>
18 #include <gtk/gtkfeatures.h>
23 #endif /* __cplusplus */
25 #define GTK_PIZZA(obj) GTK_CHECK_CAST (obj, gtk_pizza_get_type (), GtkPizza)
26 #define GTK_PIZZA_CLASS(klass) GTK_CHECK_CLASS_CAST (klass, gtk_pizza_get_type (), GtkPizzaClass)
27 #define GTK_IS_PIZZA(obj) GTK_CHECK_TYPE (obj, gtk_pizza_get_type ())
38 typedef struct _GtkPizzaChild GtkPizzaChild
;
39 typedef struct _GtkPizza GtkPizza
;
40 typedef struct _GtkPizzaClass GtkPizzaClass
;
53 GtkContainer container
;
55 GtkMyShadowType shadow_type
;
63 GdkWindow
*bin_window
;
65 GdkVisibilityState visibility
;
66 gulong configure_serial
;
70 gboolean clear_on_draw
;
72 gboolean external_expose
;
77 GtkContainerClass parent_class
;
79 void (*set_scroll_adjustments
) (GtkPizza
*pizza
,
80 GtkAdjustment
*hadjustment
,
81 GtkAdjustment
*vadjustment
);
84 guint
gtk_pizza_get_type (void);
85 GtkWidget
* gtk_pizza_new (void);
87 void gtk_pizza_set_shadow_type (GtkPizza
*pizza
,
88 GtkMyShadowType type
);
90 void gtk_pizza_set_clear (GtkPizza
*pizza
,
93 void gtk_pizza_set_filter (GtkPizza
*pizza
,
96 void gtk_pizza_set_external (GtkPizza
*pizza
,
99 void gtk_pizza_scroll (GtkPizza
*pizza
,
103 gint
gtk_pizza_child_resized (GtkPizza
*pizza
,
106 void gtk_pizza_put (GtkPizza
*pizza
,
113 void gtk_pizza_move (GtkPizza
*pizza
,
118 void gtk_pizza_resize (GtkPizza
*pizza
,
123 void gtk_pizza_set_size (GtkPizza
*pizza
,
131 #endif /* __cplusplus */
134 #endif /* __GTK_PIZZA_H__ */