]> git.saurik.com Git - wxWidgets.git/blame_incremental - include/wx/gtk/win_gtk.h
set eol-style
[wxWidgets.git] / include / wx / gtk / win_gtk.h
... / ...
CommitLineData
1/* ///////////////////////////////////////////////////////////////////////////
2// Name: win_gtk.h
3// Purpose: wxWidgets's GTK base widget = GtkPizza
4// Author: Robert Roebling
5// Id: $Id$
6// Copyright: (c) 1998 Robert Roebling
7// Licence: wxWindows licence
8/////////////////////////////////////////////////////////////////////////// */
9
10
11#ifndef __GTK_PIZZA_H__
12#define __GTK_PIZZA_H__
13
14#ifdef __cplusplus
15extern "C" {
16#endif /* __cplusplus */
17
18#include <gtk/gtkcontainer.h>
19
20#include "wx/dlimpexp.h"
21
22#define GTK_PIZZA(obj) GTK_CHECK_CAST (obj, gtk_pizza_get_type (), GtkPizza)
23#define GTK_IS_PIZZA(obj) GTK_CHECK_TYPE (obj, gtk_pizza_get_type ())
24
25typedef struct _GtkPizza GtkPizza;
26
27struct _GtkPizza
28{
29 GtkContainer container;
30 GList *children;
31
32 guint m_xoffset;
33 guint m_yoffset;
34
35 gboolean m_noscroll;
36
37 GdkWindow *bin_window;
38};
39
40WXDLLIMPEXP_CORE
41GtkType gtk_pizza_get_type (void);
42WXDLLIMPEXP_CORE
43GtkWidget* gtk_pizza_new (void);
44WXDLLIMPEXP_CORE
45GtkWidget* gtk_pizza_new_no_scroll (void);
46
47/* accessors */
48
49WXDLLIMPEXP_CORE
50gint gtk_pizza_get_xoffset (GtkPizza *pizza);
51WXDLLIMPEXP_CORE
52gint gtk_pizza_get_yoffset (GtkPizza *pizza);
53WXDLLIMPEXP_CORE
54void gtk_pizza_set_xoffset (GtkPizza *pizza, gint xoffset);
55WXDLLIMPEXP_CORE
56void gtk_pizza_set_yoffset (GtkPizza *pizza, gint yoffset);
57
58
59WXDLLIMPEXP_CORE
60gint gtk_pizza_get_rtl_offset (GtkPizza *pizza);
61
62
63WXDLLIMPEXP_CORE
64void gtk_pizza_scroll (GtkPizza *pizza,
65 gint dx,
66 gint dy);
67
68WXDLLIMPEXP_CORE
69void gtk_pizza_put (GtkPizza *pizza,
70 GtkWidget *widget,
71 gint x,
72 gint y,
73 gint width,
74 gint height);
75
76WXDLLIMPEXP_CORE
77void gtk_pizza_set_size (GtkPizza *pizza,
78 GtkWidget *widget,
79 gint x,
80 gint y,
81 gint width,
82 gint height);
83#ifdef __cplusplus
84}
85#endif /* __cplusplus */
86
87
88#endif /* __GTK_PIZZA_H__ */