1 /* ///////////////////////////////////////////////////////////////////////////
3 // Purpose: wxWindows's GTK base widget
4 // Author: Robert Roebling
6 // Copyright: (c) 1998 Robert Roebling
7 // Licence: wxWindows licence
8 /////////////////////////////////////////////////////////////////////////// */
11 #ifndef __GTK_MYFIXED_H__
12 #define __GTK_MYFIXED_H__
15 #include <gtk/gtkcontainer.h>
16 #include <gtk/gtkadjustment.h>
17 #include <gtk/gtkfeatures.h>
21 #endif /* __cplusplus */
24 #define GTK_MYFIXED(obj) GTK_CHECK_CAST (obj, gtk_myfixed_get_type (), GtkMyFixed)
25 #define GTK_MYFIXED_CLASS(klass) GTK_CHECK_CLASS_CAST (klass, gtk_myfixed_get_type (), GtkMyFixedClass)
26 #define GTK_IS_MYFIXED(obj) GTK_CHECK_TYPE (obj, gtk_myfixed_get_type ())
37 typedef struct _GtkMyFixed GtkMyFixed
;
38 typedef struct _GtkMyFixedClass GtkMyFixedClass
;
42 GtkContainer container
;
44 GtkMyShadowType shadow_type
;
52 GdkWindow
*bin_window
;
54 GdkVisibilityState visibility
;
55 gulong configure_serial
;
60 struct _GtkMyFixedClass
62 GtkContainerClass parent_class
;
64 void (*set_scroll_adjustments
) (GtkMyFixed
*myfixed
,
65 GtkAdjustment
*hadjustment
,
66 GtkAdjustment
*vadjustment
);
69 guint
gtk_myfixed_get_type (void);
70 GtkWidget
* gtk_myfixed_new (void);
71 void gtk_myfixed_set_shadow_type (GtkMyFixed
*myfixed
,
72 GtkMyShadowType type
);
74 void gtk_myfixed_scroll (GtkMyFixed
*myfixed
,
78 void gtk_myfixed_put (GtkMyFixed
*myfixed
,
85 void gtk_myfixed_move (GtkMyFixed
*myfixed
,
90 void gtk_myfixed_resize (GtkMyFixed
*myfixed
,
95 void gtk_myfixed_set_size (GtkMyFixed
*myfixed
,
103 #endif /* __cplusplus */
106 #endif /* __GTK_MYFIXED_H__ */