1 /* ///////////////////////////////////////////////////////////////////////////
2 // Name: wx/gtk1/win_gtk.h
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 */
20 #include <gtk/gtkcontainer.h>
21 #include <gtk/gtkadjustment.h>
22 #include <gtk/gtkfeatures.h>
24 #include "wx/dlimpexp.h"
26 #define GTK_PIZZA(obj) GTK_CHECK_CAST (obj, gtk_pizza_get_type (), GtkPizza)
27 #define GTK_PIZZA_CLASS(klass) GTK_CHECK_CLASS_CAST (klass, gtk_pizza_get_type (), GtkPizzaClass)
28 #define GTK_IS_PIZZA(obj) GTK_CHECK_TYPE (obj, gtk_pizza_get_type ())
39 typedef struct _GtkPizzaChild GtkPizzaChild
;
40 typedef struct _GtkPizza GtkPizza
;
41 typedef struct _GtkPizzaClass GtkPizzaClass
;
54 GtkContainer container
;
56 GtkMyShadowType shadow_type
;
64 GdkWindow
*bin_window
;
66 GdkVisibilityState visibility
;
67 gulong configure_serial
;
71 gboolean clear_on_draw
;
73 gboolean external_expose
;
78 GtkContainerClass parent_class
;
80 void (*set_scroll_adjustments
) (GtkPizza
*pizza
,
81 GtkAdjustment
*hadjustment
,
82 GtkAdjustment
*vadjustment
);
86 GtkType
gtk_pizza_get_type (void);
88 GtkWidget
* gtk_pizza_new (void);
91 void gtk_pizza_set_shadow_type (GtkPizza
*pizza
,
92 GtkMyShadowType type
);
95 void gtk_pizza_set_clear (GtkPizza
*pizza
,
99 void gtk_pizza_set_filter (GtkPizza
*pizza
,
103 void gtk_pizza_set_external (GtkPizza
*pizza
,
107 void gtk_pizza_scroll (GtkPizza
*pizza
,
112 gint
gtk_pizza_child_resized (GtkPizza
*pizza
,
116 void gtk_pizza_put (GtkPizza
*pizza
,
124 void gtk_pizza_move (GtkPizza
*pizza
,
130 void gtk_pizza_resize (GtkPizza
*pizza
,
136 void gtk_pizza_set_size (GtkPizza
*pizza
,
144 #endif /* __cplusplus */
147 #endif /* __GTK_PIZZA_H__ */