]> git.saurik.com Git - wxWidgets.git/blob - include/wx/gtk1/win_gtk.h
added methods for sequential scan of wxTextFile: Get{First|Next|Prev|Last}Line
[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 // Created: 01/02/97
6 // Id:
7 // Copyright: (c) 1998 Robert Roebling, Julian Smart and Markus Holzem
8 // Licence: wxWindows licence
9 /////////////////////////////////////////////////////////////////////////// */
10
11
12 #ifndef __GTK_MYFIXED_H__
13 #define __GTK_MYFIXED_H__
14
15
16 #include <gdk/gdk.h>
17 #include <gtk/gtkcontainer.h>
18
19
20 #ifdef __cplusplus
21 extern "C" {
22 #endif /* __cplusplus */
23
24
25 #define GTK_MYFIXED(obj) GTK_CHECK_CAST (obj, gtk_myfixed_get_type (), GtkMyFixed)
26 #define GTK_MYFIXED_CLASS(klass) GTK_CHECK_CLASS_CAST (klass, gtk_myfixed_get_type (), GtkMyFixedClass)
27 #define GTK_IS_MYFIXED(obj) GTK_CHECK_TYPE (obj, gtk_myfixed_get_type ())
28
29
30 typedef struct _GtkMyFixed GtkMyFixed;
31 typedef struct _GtkMyFixedClass GtkMyFixedClass;
32 typedef struct _GtkMyFixedChild GtkMyFixedChild;
33
34 struct _GtkMyFixed
35 {
36 GtkContainer container;
37
38 GList *children;
39 };
40
41 struct _GtkMyFixedClass
42 {
43 GtkContainerClass parent_class;
44 };
45
46 struct _GtkMyFixedChild
47 {
48 GtkWidget *widget;
49 gint16 x;
50 gint16 y;
51 };
52
53 guint gtk_myfixed_get_type (void);
54 GtkWidget* gtk_myfixed_new (void);
55 void gtk_myfixed_put (GtkMyFixed *myfixed,
56 GtkWidget *widget,
57 gint16 x,
58 gint16 y);
59 void gtk_myfixed_move (GtkMyFixed *myfixed,
60 GtkWidget *widget,
61 gint16 x,
62 gint16 y);
63
64 #ifdef __cplusplus
65 }
66 #endif /* __cplusplus */
67
68
69 #endif /* __GTK_MYFIXED_H__ */