]> git.saurik.com Git - wxWidgets.git/blame_incremental - include/wx/gtk/win_gtk.h
Here it comes:
[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// 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
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 GList *children;
37#if (GTK_MINOR_VERSION > 0)
38 GtkShadowType shadow_type;
39#endif
40};
41
42struct _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
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);
62#if (GTK_MINOR_VERSION > 0)
63void gtk_myfixed_set_shadow_type (GtkMyFixed *myfixed,
64 GtkShadowType type);
65#endif
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);
74#ifdef __cplusplus
75}
76#endif /* __cplusplus */
77
78
79#endif /* __GTK_MYFIXED_H__ */