]> git.saurik.com Git - wxWidgets.git/blob - include/wx/gtk/win_gtk.h
Got a new idea to do cursors, including global
[wxWidgets.git] / include / wx / gtk / 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 gint16 width;
59 gint16 height;
60 };
61
62 guint gtk_myfixed_get_type (void);
63 GtkWidget* gtk_myfixed_new (void);
64 #if (GTK_MINOR_VERSION > 0)
65 void gtk_myfixed_set_shadow_type (GtkMyFixed *myfixed,
66 GtkShadowType type);
67 #endif
68 void gtk_myfixed_put (GtkMyFixed *myfixed,
69 GtkWidget *widget,
70 gint16 x,
71 gint16 y,
72 gint16 width,
73 gint16 height);
74
75 void gtk_myfixed_move (GtkMyFixed *myfixed,
76 GtkWidget *widget,
77 gint16 x,
78 gint16 y );
79
80 void gtk_myfixed_resize (GtkMyFixed *myfixed,
81 GtkWidget *widget,
82 gint16 width,
83 gint16 height );
84
85 void gtk_myfixed_set_size (GtkMyFixed *myfixed,
86 GtkWidget *widget,
87 gint16 x,
88 gint16 y,
89 gint16 width,
90 gint16 height);
91 #ifdef __cplusplus
92 }
93 #endif /* __cplusplus */
94
95
96 #endif /* __GTK_MYFIXED_H__ */