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
;
64 gboolean external_expose
;
69 GtkContainerClass parent_class
;
71 void (*set_scroll_adjustments
) (GtkPizza
*pizza
,
72 GtkAdjustment
*hadjustment
,
73 GtkAdjustment
*vadjustment
);
77 GtkType
gtk_pizza_get_type (void);
79 GtkWidget
* gtk_pizza_new (void);
82 void gtk_pizza_set_shadow_type (GtkPizza
*pizza
,
83 GtkMyShadowType type
);
86 void gtk_pizza_set_external (GtkPizza
*pizza
,
90 void gtk_pizza_scroll (GtkPizza
*pizza
,
95 void gtk_pizza_put (GtkPizza
*pizza
,
103 void gtk_pizza_set_size (GtkPizza
*pizza
,
111 #endif /* __cplusplus */
114 #endif /* __GTK_PIZZA_H__ */