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
;
58 GdkWindow
*bin_window
;
60 gboolean external_expose
;
65 GtkContainerClass parent_class
;
67 void (*set_scroll_adjustments
) (GtkPizza
*pizza
,
68 GtkAdjustment
*hadjustment
,
69 GtkAdjustment
*vadjustment
);
73 GtkType
gtk_pizza_get_type (void);
75 GtkWidget
* gtk_pizza_new (void);
80 gint
gtk_pizza_get_xoffset (GtkPizza
*pizza
);
82 gint
gtk_pizza_get_yoffset (GtkPizza
*pizza
);
84 void gtk_pizza_set_xoffset (GtkPizza
*pizza
, gint xoffset
);
86 void gtk_pizza_set_yoffset (GtkPizza
*pizza
, gint yoffset
);
90 void gtk_pizza_set_shadow_type (GtkPizza
*pizza
,
91 GtkMyShadowType type
);
94 void gtk_pizza_set_external (GtkPizza
*pizza
,
98 void gtk_pizza_scroll (GtkPizza
*pizza
,
103 void gtk_pizza_put (GtkPizza
*pizza
,
111 void gtk_pizza_set_size (GtkPizza
*pizza
,
119 #endif /* __cplusplus */
122 #endif /* __GTK_PIZZA_H__ */