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>
17 #include <gtk/gtkfeatures.h>
21 #endif /* __cplusplus */
24 #define GTK_PIZZA(obj) GTK_CHECK_CAST (obj, gtk_pizza_get_type (), GtkPizza)
25 #define GTK_PIZZA_CLASS(klass) GTK_CHECK_CLASS_CAST (klass, gtk_pizza_get_type (), GtkPizzaClass)
26 #define GTK_IS_PIZZA(obj) GTK_CHECK_TYPE (obj, gtk_pizza_get_type ())
37 typedef struct _GtkPizza GtkPizza
;
38 typedef struct _GtkPizzaClass GtkPizzaClass
;
42 GtkContainer container
;
44 GtkMyShadowType shadow_type
;
52 GdkWindow
*bin_window
;
54 GdkVisibilityState visibility
;
55 gulong configure_serial
;
59 gboolean clear_on_draw
;
64 GtkContainerClass parent_class
;
66 void (*set_scroll_adjustments
) (GtkPizza
*pizza
,
67 GtkAdjustment
*hadjustment
,
68 GtkAdjustment
*vadjustment
);
71 guint
gtk_pizza_get_type (void);
72 GtkWidget
* gtk_pizza_new (void);
74 void gtk_pizza_set_shadow_type (GtkPizza
*pizza
,
75 GtkMyShadowType type
);
77 void gtk_pizza_set_clear (GtkPizza
*pizza
,
80 void gtk_pizza_scroll (GtkPizza
*pizza
,
84 void gtk_pizza_put (GtkPizza
*pizza
,
91 void gtk_pizza_move (GtkPizza
*pizza
,
96 void gtk_pizza_resize (GtkPizza
*pizza
,
101 void gtk_pizza_set_size (GtkPizza
*pizza
,
109 #endif /* __cplusplus */
112 #endif /* __GTK_PIZZA_H__ */