]> git.saurik.com Git - wxWidgets.git/blame - include/wx/gtk/win_gtk.h
handle mouse capture lost event in grid windows and reset the grid to normal state...
[wxWidgets.git] / include / wx / gtk / win_gtk.h
CommitLineData
c67daf87 1/* ///////////////////////////////////////////////////////////////////////////
c801d85f 2// Name: win_gtk.h
77ffb593 3// Purpose: wxWidgets's GTK base widget = GtkPizza
c801d85f 4// Author: Robert Roebling
58614078
RR
5// Id: $Id$
6// Copyright: (c) 1998 Robert Roebling
5b12ccee 7// Licence: wxWindows licence
c67daf87 8/////////////////////////////////////////////////////////////////////////// */
c801d85f
KB
9
10
da048e3d
RR
11#ifndef __GTK_PIZZA_H__
12#define __GTK_PIZZA_H__
c801d85f 13
e8106239
VZ
14#ifdef __cplusplus
15extern "C" {
16#endif /* __cplusplus */
17
c801d85f 18#include <gtk/gtkcontainer.h>
c801d85f 19
20123d49
MW
20#include "wx/dlimpexp.h"
21
da048e3d 22#define GTK_PIZZA(obj) GTK_CHECK_CAST (obj, gtk_pizza_get_type (), GtkPizza)
da048e3d 23#define GTK_IS_PIZZA(obj) GTK_CHECK_TYPE (obj, gtk_pizza_get_type ())
c801d85f 24
da048e3d 25typedef struct _GtkPizza GtkPizza;
b6fa52db 26
da048e3d 27struct _GtkPizza
c801d85f 28{
0e09f76e
RR
29 GtkContainer container;
30 GList *children;
5b12ccee 31
a31bb944
RR
32 guint m_xoffset;
33 guint m_yoffset;
69597639 34
0e09f76e 35 GdkWindow *bin_window;
c801d85f
KB
36};
37
20123d49 38WXDLLIMPEXP_CORE
e1ff9329 39GtkType gtk_pizza_get_type (void);
20123d49 40WXDLLIMPEXP_CORE
da048e3d 41GtkWidget* gtk_pizza_new (void);
147bc491 42
a31bb944
RR
43/* accessors */
44
a31bb944
RR
45WXDLLIMPEXP_CORE
46gint gtk_pizza_get_xoffset (GtkPizza *pizza);
47WXDLLIMPEXP_CORE
48gint gtk_pizza_get_yoffset (GtkPizza *pizza);
49WXDLLIMPEXP_CORE
50void gtk_pizza_set_xoffset (GtkPizza *pizza, gint xoffset);
51WXDLLIMPEXP_CORE
52void gtk_pizza_set_yoffset (GtkPizza *pizza, gint yoffset);
53
54
428f4657
RR
55WXDLLIMPEXP_CORE
56gint gtk_pizza_get_rtl_offset (GtkPizza *pizza);
57
5b12ccee 58
20123d49 59WXDLLIMPEXP_CORE
5b12ccee 60void gtk_pizza_scroll (GtkPizza *pizza,
0e09f76e
RR
61 gint dx,
62 gint dy);
8cb9f0d0 63
20123d49 64WXDLLIMPEXP_CORE
0e09f76e
RR
65void gtk_pizza_put (GtkPizza *pizza,
66 GtkWidget *widget,
67 gint x,
68 gint y,
5b12ccee
MW
69 gint width,
70 gint height);
0e09f76e 71
20123d49 72WXDLLIMPEXP_CORE
0e09f76e
RR
73void gtk_pizza_set_size (GtkPizza *pizza,
74 GtkWidget *widget,
75 gint x,
76 gint y,
77 gint width,
78 gint height);
c801d85f
KB
79#ifdef __cplusplus
80}
81#endif /* __cplusplus */
82
83
da048e3d 84#endif /* __GTK_PIZZA_H__ */