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 ())
25 typedef struct _GtkPizzaChild GtkPizzaChild
;
26 typedef struct _GtkPizza GtkPizza
;
27 typedef struct _GtkPizzaClass GtkPizzaClass
;
40 GtkContainer container
;
46 GdkWindow
*bin_window
;
51 GtkContainerClass parent_class
;
53 void (*set_scroll_adjustments
) (GtkPizza
*pizza
,
54 GtkAdjustment
*hadjustment
,
55 GtkAdjustment
*vadjustment
);
59 GtkType
gtk_pizza_get_type (void);
61 GtkWidget
* gtk_pizza_new (void);
66 gint
gtk_pizza_get_xoffset (GtkPizza
*pizza
);
68 gint
gtk_pizza_get_yoffset (GtkPizza
*pizza
);
70 void gtk_pizza_set_xoffset (GtkPizza
*pizza
, gint xoffset
);
72 void gtk_pizza_set_yoffset (GtkPizza
*pizza
, gint yoffset
);
76 gint
gtk_pizza_get_rtl_offset (GtkPizza
*pizza
);
80 void gtk_pizza_scroll (GtkPizza
*pizza
,
85 void gtk_pizza_put (GtkPizza
*pizza
,
93 void gtk_pizza_set_size (GtkPizza
*pizza
,
101 #endif /* __cplusplus */
104 #endif /* __GTK_PIZZA_H__ */