]> git.saurik.com Git - wxWidgets.git/blame - include/wx/gtk1/win_gtk.h
Attempts to make this wchar_t business compile with Borland C++ 4.52.
[wxWidgets.git] / include / wx / gtk1 / 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
c801d85f
KB
14#include <gdk/gdk.h>
15#include <gtk/gtkcontainer.h>
034be888
RR
16#include <gtk/gtkadjustment.h>
17#include <gtk/gtkfeatures.h>
c801d85f
KB
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;
c801d85f 36 GList *children;
034be888
RR
37#if (GTK_MINOR_VERSION > 0)
38 GtkShadowType shadow_type;
39#endif
c801d85f
KB
40};
41
42struct _GtkMyFixedClass
43{
44 GtkContainerClass parent_class;
034be888
RR
45
46#if (GTK_MINOR_VERSION > 0)
47 void (*set_scroll_adjustments) (GtkMyFixed *myfixed,
48 GtkAdjustment *hadjustment,
49 GtkAdjustment *vadjustment);
50#endif
c801d85f
KB
51};
52
53struct _GtkMyFixedChild
54{
55 GtkWidget *widget;
56 gint16 x;
57 gint16 y;
58};
59
60guint gtk_myfixed_get_type (void);
61GtkWidget* gtk_myfixed_new (void);
034be888
RR
62#if (GTK_MINOR_VERSION > 0)
63void gtk_myfixed_set_shadow_type (GtkMyFixed *myfixed,
64 GtkShadowType type);
65#endif
c801d85f
KB
66void gtk_myfixed_put (GtkMyFixed *myfixed,
67 GtkWidget *widget,
68 gint16 x,
69 gint16 y);
70void gtk_myfixed_move (GtkMyFixed *myfixed,
71 GtkWidget *widget,
72 gint16 x,
73 gint16 y);
c801d85f
KB
74#ifdef __cplusplus
75}
76#endif /* __cplusplus */
77
78
79#endif /* __GTK_MYFIXED_H__ */