1 /* ///////////////////////////////////////////////////////////////////////////
3 // Purpose: wxWidgets'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__
16 #endif /* __cplusplus */
20 #include <gtk/gtkcontainer.h>
21 #include <gtk/gtkadjustment.h>
23 #include <gtk/gtkfeatures.h>
26 #include "wx/dlimpexp.h"
28 #define GTK_PIZZA(obj) GTK_CHECK_CAST (obj, gtk_pizza_get_type (), GtkPizza)
29 #define GTK_PIZZA_CLASS(klass) GTK_CHECK_CLASS_CAST (klass, gtk_pizza_get_type (), GtkPizzaClass)
30 #define GTK_IS_PIZZA(obj) GTK_CHECK_TYPE (obj, gtk_pizza_get_type ())
41 typedef struct _GtkPizzaChild GtkPizzaChild
;
42 typedef struct _GtkPizza GtkPizza
;
43 typedef struct _GtkPizzaClass GtkPizzaClass
;
56 GtkContainer container
;
58 GtkMyShadowType shadow_type
;
66 GdkWindow
*bin_window
;
68 GdkVisibilityState visibility
;
69 gulong configure_serial
;
73 gboolean clear_on_draw
;
75 gboolean external_expose
;
80 GtkContainerClass parent_class
;
82 void (*set_scroll_adjustments
) (GtkPizza
*pizza
,
83 GtkAdjustment
*hadjustment
,
84 GtkAdjustment
*vadjustment
);
88 GtkType
gtk_pizza_get_type (void);
90 GtkWidget
* gtk_pizza_new (void);
93 void gtk_pizza_set_shadow_type (GtkPizza
*pizza
,
94 GtkMyShadowType type
);
97 void gtk_pizza_set_clear (GtkPizza
*pizza
,
101 void gtk_pizza_set_filter (GtkPizza
*pizza
,
105 void gtk_pizza_set_external (GtkPizza
*pizza
,
109 void gtk_pizza_scroll (GtkPizza
*pizza
,
114 gint
gtk_pizza_child_resized (GtkPizza
*pizza
,
118 void gtk_pizza_put (GtkPizza
*pizza
,
126 void gtk_pizza_move (GtkPizza
*pizza
,
132 void gtk_pizza_resize (GtkPizza
*pizza
,
138 void gtk_pizza_set_size (GtkPizza
*pizza
,
146 #endif /* __cplusplus */
149 #endif /* __GTK_PIZZA_H__ */