]> git.saurik.com Git - wxWidgets.git/blame - include/wx/gtk/win_gtk.h
Added dde sample; added docs/index.htm
[wxWidgets.git] / include / wx / gtk / win_gtk.h
CommitLineData
c67daf87 1/* ///////////////////////////////////////////////////////////////////////////
c801d85f
KB
2// Name: win_gtk.h
3// Purpose: wxWindows's GTK base widget
4// Author: Robert Roebling
58614078
RR
5// Id: $Id$
6// Copyright: (c) 1998 Robert Roebling
c801d85f 7// Licence: wxWindows licence
c67daf87 8/////////////////////////////////////////////////////////////////////////// */
c801d85f
KB
9
10
11#ifndef __GTK_MYFIXED_H__
12#define __GTK_MYFIXED_H__
13
14
15#include <gdk/gdk.h>
16#include <gtk/gtkcontainer.h>
17
18
19#ifdef __cplusplus
20extern "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
29typedef struct _GtkMyFixed GtkMyFixed;
30typedef struct _GtkMyFixedClass GtkMyFixedClass;
31typedef struct _GtkMyFixedChild GtkMyFixedChild;
32
33struct _GtkMyFixed
34{
35 GtkContainer container;
36
37 GList *children;
c801d85f
KB
38};
39
40struct _GtkMyFixedClass
41{
42 GtkContainerClass parent_class;
43};
44
45struct _GtkMyFixedChild
46{
47 GtkWidget *widget;
48 gint16 x;
49 gint16 y;
50};
51
52guint gtk_myfixed_get_type (void);
53GtkWidget* gtk_myfixed_new (void);
c801d85f
KB
54void gtk_myfixed_put (GtkMyFixed *myfixed,
55 GtkWidget *widget,
56 gint16 x,
57 gint16 y);
58void gtk_myfixed_move (GtkMyFixed *myfixed,
59 GtkWidget *widget,
60 gint16 x,
61 gint16 y);
62
63#ifdef __cplusplus
64}
65#endif /* __cplusplus */
66
67
68#endif /* __GTK_MYFIXED_H__ */