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 */
18 #include <gtk/gtkcontainer.h>
20 #include "wx/dlimpexp.h"
22 #define GTK_PIZZA(obj) GTK_CHECK_CAST (obj, gtk_pizza_get_type (), GtkPizza)
23 #define GTK_IS_PIZZA(obj) GTK_CHECK_TYPE (obj, gtk_pizza_get_type ())
34 typedef struct _GtkPizzaChild GtkPizzaChild
;
35 typedef struct _GtkPizza GtkPizza
;
36 typedef struct _GtkPizzaClass GtkPizzaClass
;
49 GtkContainer container
;
51 GtkMyShadowType shadow_type
;
59 GdkWindow
*bin_window
;
61 gboolean external_expose
;
66 GtkContainerClass parent_class
;
68 void (*set_scroll_adjustments
) (GtkPizza
*pizza
,
69 GtkAdjustment
*hadjustment
,
70 GtkAdjustment
*vadjustment
);
74 GtkType
gtk_pizza_get_type (void);
76 GtkWidget
* gtk_pizza_new (void);
79 void gtk_pizza_set_shadow_type (GtkPizza
*pizza
,
80 GtkMyShadowType type
);
83 void gtk_pizza_set_external (GtkPizza
*pizza
,
87 void gtk_pizza_scroll (GtkPizza
*pizza
,
92 void gtk_pizza_put (GtkPizza
*pizza
,
100 void gtk_pizza_set_size (GtkPizza
*pizza
,
108 #endif /* __cplusplus */
111 #endif /* __GTK_PIZZA_H__ */