]> git.saurik.com Git - wxWidgets.git/blame_incremental - include/wx/gtk/win_gtk.h
no message
[wxWidgets.git] / include / wx / gtk / win_gtk.h
... / ...
CommitLineData
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
21extern "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
30typedef struct _GtkMyFixed GtkMyFixed;
31typedef struct _GtkMyFixedClass GtkMyFixedClass;
32typedef struct _GtkMyFixedChild GtkMyFixedChild;
33
34struct _GtkMyFixed
35{
36 GtkContainer container;
37
38 GList *children;
39};
40
41struct _GtkMyFixedClass
42{
43 GtkContainerClass parent_class;
44};
45
46struct _GtkMyFixedChild
47{
48 GtkWidget *widget;
49 gint16 x;
50 gint16 y;
51};
52
53guint gtk_myfixed_get_type (void);
54GtkWidget* gtk_myfixed_new (void);
55void gtk_myfixed_put (GtkMyFixed *myfixed,
56 GtkWidget *widget,
57 gint16 x,
58 gint16 y);
59void 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__ */