]> git.saurik.com Git - wxWidgets.git/blob - include/wx/gtk1/win_gtk.h
Added wxEnableTopLevelWindows(bool enable) for use by wxSafeYield().
[wxWidgets.git] / include / wx / gtk1 / win_gtk.h
1 /* ///////////////////////////////////////////////////////////////////////////
2 // Name: win_gtk.h
3 // Purpose: wxWindows's GTK base widget
4 // Author: Robert Roebling
5 // Id: $Id$
6 // Copyright: (c) 1998 Robert Roebling
7 // Licence: wxWindows licence
8 /////////////////////////////////////////////////////////////////////////// */
9
10
11 #ifndef __GTK_MYFIXED_H__
12 #define __GTK_MYFIXED_H__
13
14 #include <gdk/gdk.h>
15 #include <gtk/gtkcontainer.h>
16 #include <gtk/gtkadjustment.h>
17 #include <gtk/gtkfeatures.h>
18
19 #ifdef __cplusplus
20 extern "C" {
21 #endif /* __cplusplus */
22
23
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 ())
27
28
29 typedef struct _GtkMyFixed GtkMyFixed;
30 typedef struct _GtkMyFixedClass GtkMyFixedClass;
31 typedef struct _GtkMyFixedChild GtkMyFixedChild;
32
33 struct _GtkMyFixed
34 {
35 GtkContainer container;
36 GList *children;
37 #if (GTK_MINOR_VERSION > 0)
38 GtkShadowType shadow_type;
39 #endif
40 };
41
42 struct _GtkMyFixedClass
43 {
44 GtkContainerClass parent_class;
45
46 #if (GTK_MINOR_VERSION > 0)
47 void (*set_scroll_adjustments) (GtkMyFixed *myfixed,
48 GtkAdjustment *hadjustment,
49 GtkAdjustment *vadjustment);
50 #endif
51 };
52
53 struct _GtkMyFixedChild
54 {
55 GtkWidget *widget;
56 gint16 x;
57 gint16 y;
58 };
59
60 guint gtk_myfixed_get_type (void);
61 GtkWidget* gtk_myfixed_new (void);
62 #if (GTK_MINOR_VERSION > 0)
63 void gtk_myfixed_set_shadow_type (GtkMyFixed *myfixed,
64 GtkShadowType type);
65 #endif
66 void gtk_myfixed_put (GtkMyFixed *myfixed,
67 GtkWidget *widget,
68 gint16 x,
69 gint16 y);
70 void gtk_myfixed_move (GtkMyFixed *myfixed,
71 GtkWidget *widget,
72 gint16 x,
73 gint16 y);
74 #ifdef __cplusplus
75 }
76 #endif /* __cplusplus */
77
78
79 #endif /* __GTK_MYFIXED_H__ */