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
;
63 GtkContainerClass parent_class
;
65 void (*set_scroll_adjustments
) (GtkPizza
*pizza
,
66 GtkAdjustment
*hadjustment
,
67 GtkAdjustment
*vadjustment
);
71 GtkType
gtk_pizza_get_type (void);
73 GtkWidget
* gtk_pizza_new (void);
78 gint
gtk_pizza_get_xoffset (GtkPizza
*pizza
);
80 gint
gtk_pizza_get_yoffset (GtkPizza
*pizza
);
82 void gtk_pizza_set_xoffset (GtkPizza
*pizza
, gint xoffset
);
84 void gtk_pizza_set_yoffset (GtkPizza
*pizza
, gint yoffset
);
88 gint
gtk_pizza_get_rtl_offset (GtkPizza
*pizza
);
91 void gtk_pizza_set_shadow_type (GtkPizza
*pizza
,
92 GtkMyShadowType type
);
95 void gtk_pizza_scroll (GtkPizza
*pizza
,
100 void gtk_pizza_put (GtkPizza
*pizza
,
108 void gtk_pizza_set_size (GtkPizza
*pizza
,
116 #endif /* __cplusplus */
119 #endif /* __GTK_PIZZA_H__ */