Mercurial > projects > dwt-linux
annotate dwt/internal/gtk/OS.d @ 54:8f049b136add
first example working
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Fri, 11 Jan 2008 14:31:37 +0100 |
parents | 8e9ea24111fd |
children | 8cec8f536af3 |
rev | line source |
---|---|
7 | 1 /******************************************************************************* |
2 * Copyright (c) 2000, 2007 IBM Corporation and others. All rights reserved. | |
3 * The contents of this file are made available under the terms | |
4 * of the GNU Lesser General Public License (LGPL) Version 2.1 that | |
5 * accompanies this distribution (lgpl-v21.txt). The LGPL is also | |
6 * available at http://www.gnu.org/licenses/lgpl.html. If the version | |
7 * of the LGPL at http://www.gnu.org is different to the version of | |
8 * the LGPL accompanying this distribution and there is any conflict | |
9 * between the two license versions, the terms of the LGPL accompanying | |
10 * this distribution shall govern. | |
11 * | |
12 * Contributors: | |
13 * IBM Corporation - initial API and implementation | |
14 *******************************************************************************/ | |
40
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
15 /******************************************************************************** |
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
16 * D port done by: |
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
17 * Frank Benoit <keinfarbton@googlemail.com> |
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
18 * JJR |
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
19 *******************************************************************************/ |
10
63c023465156
moved from org.eclipse.swt to dwt
Frank Benoit <benoit@tionex.de>
parents:
9
diff
changeset
|
20 module dwt.internal.gtk.OS; |
7 | 21 |
10
63c023465156
moved from org.eclipse.swt to dwt
Frank Benoit <benoit@tionex.de>
parents:
9
diff
changeset
|
22 import dwt.internal.Platform; |
7 | 23 import tango.core.Traits; |
24 | |
33
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
25 import dwt.internal.c.gtk, |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
26 dwt.internal.c.gdk, |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
27 dwt.internal.c.gdkx, |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
28 dwt.internal.c.atk, |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
29 dwt.internal.c.cairo, |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
30 dwt.internal.c.pango, |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
31 dwt.internal.c.pangocairo, |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
32 dwt.internal.c.gtk_unix_print_2_0, |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
33 dwt.internal.c.Xlib, |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
34 dwt.internal.c.XTest, |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
35 dwt.internal.c.Xrender, |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
36 dwt.internal.c.glib_object; |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
37 |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
38 public alias dwt.internal.c.glib_object.GPollFD GPollFD; |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
39 public alias dwt.internal.c.glib_object.GClosure GClosure; |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
40 public alias dwt.internal.c.glib_object.GList GList; |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
41 public alias dwt.internal.c.glib_object.GObject GObject; |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
42 public alias dwt.internal.c.glib_object.GTypeInfo GTypeInfo; |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
43 public alias dwt.internal.c.glib_object.GCallback GCallback; |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
44 public alias dwt.internal.c.glib_object.GClosureNotify GClosureNotify; |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
45 public alias dwt.internal.c.glib_object.GPollFunc GPollFunc; |
40
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
46 public alias dwt.internal.c.glib_object.GTypeInstance GTypeInstance; |
42 | 47 public alias dwt.internal.c.glib_object.GObjectClass GObjectClass; |
48 public alias dwt.internal.c.glib_object.GTypeClass GTypeClass; | |
49 public alias dwt.internal.c.glib_object.GInterfaceInfo GInterfaceInfo; | |
50 public alias dwt.internal.c.glib_object.GTypeQuery GTypeQuery; | |
33
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
51 |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
52 public alias dwt.internal.c.gdk.GdkColor GdkColor; |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
53 public alias dwt.internal.c.gdk.GdkRegion GdkRegion; |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
54 public alias dwt.internal.c.gdk.GdkDrawable GdkDrawable; |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
55 public alias dwt.internal.c.gdk.GdkGC GdkGC; |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
56 public alias dwt.internal.c.gdk.GdkPixbuf GdkPixbuf; |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
57 public alias dwt.internal.c.gdk.GdkCursor GdkCursor; |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
58 public alias dwt.internal.c.gdk.GdkEvent GdkEvent; |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
59 public alias dwt.internal.c.gdk.GdkEventKey GdkEventKey; |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
60 public alias dwt.internal.c.gdk.GdkWindow GdkWindow; |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
61 public alias dwt.internal.c.gdk.GdkEventButton GdkEventButton; |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
62 public alias dwt.internal.c.gdk.GdkRectangle GdkRectangle; |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
63 public alias dwt.internal.c.gdk.GdkEventExpose GdkEventExpose; |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
64 public alias dwt.internal.c.gdk.GdkEventCrossing GdkEventCrossing; |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
65 public alias dwt.internal.c.gdk.GdkEventMotion GdkEventMotion; |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
66 public alias dwt.internal.c.gdk.GdkEventScroll GdkEventScroll; |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
67 public alias dwt.internal.c.gdk.GdkEventVisibility GdkEventVisibility; |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
68 public alias dwt.internal.c.gdk.GdkXEvent GdkXEvent; |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
69 public alias dwt.internal.c.gdk.GdkPoint GdkPoint; |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
70 public alias dwt.internal.c.gdk.GdkPixmap GdkPixmap; |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
71 public alias dwt.internal.c.gdk.GdkBitmap GdkBitmap; |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
72 public alias dwt.internal.c.gdk.GdkGCValues GdkGCValues; |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
73 public alias dwt.internal.c.gdk.GdkDisplay GdkDisplay; |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
74 public alias dwt.internal.c.gdk.GdkImage GdkImage; |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
75 public alias dwt.internal.c.gdk.GdkEventAny GdkEventAny; |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
76 public alias dwt.internal.c.gdk.GdkEventFocus GdkEventFocus; |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
77 public alias dwt.internal.c.gdk.GdkWindowAttr GdkWindowAttr; |
38 | 78 public alias dwt.internal.c.gdk.GdkEventWindowState GdkEventWindowState; |
33
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
79 |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
80 public alias dwt.internal.c.pango.PangoFontDescription PangoFontDescription; |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
81 public alias dwt.internal.c.pango.PangoTabArray PangoTabArray; |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
82 public alias dwt.internal.c.pango.PangoContext PangoContext; |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
83 public alias dwt.internal.c.pango.PangoLayout PangoLayout; |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
84 public alias dwt.internal.c.pango.PangoAttrList PangoAttrList; |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
85 public alias dwt.internal.c.pango.PangoFontFamily PangoFontFamily; |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
86 public alias dwt.internal.c.pango.PangoFontFace PangoFontFace; |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
87 public alias dwt.internal.c.pango.PangoRectangle PangoRectangle; |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
88 public alias dwt.internal.c.pango.PangoAttribute PangoAttribute; |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
89 public alias dwt.internal.c.pango.PangoLogAttr PangoLogAttr; |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
90 public alias dwt.internal.c.pango.PangoItem PangoItem; |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
91 public alias dwt.internal.c.pango.PangoLayoutRun PangoLayoutRun; |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
92 public alias dwt.internal.c.pango.PangoLayoutLine PangoLayoutLine; |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
93 |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
94 public alias dwt.internal.c.cairo.cairo_t cairo_t; |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
95 public alias dwt.internal.c.cairo.cairo_pattern_t cairo_pattern_t; |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
96 public alias dwt.internal.c.cairo.cairo_surface_t cairo_surface_t; |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
97 public alias dwt.internal.c.cairo.cairo_text_extents_t cairo_text_extents_t; |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
98 public alias dwt.internal.c.cairo.cairo_font_extents_t cairo_font_extents_t; |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
99 public alias dwt.internal.c.cairo.cairo_matrix_t cairo_matrix_t; |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
100 public alias dwt.internal.c.cairo.cairo_path_t cairo_path_t; |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
101 public alias dwt.internal.c.cairo.cairo_path_data_t cairo_path_data_t; |
15
758bbbe4b86a
Fixup gtk bindings; OS.d updates
John Reimer<terminal.node@gmail.com>
parents:
10
diff
changeset
|
102 |
33
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
103 public alias dwt.internal.c.gtk.GtkWidget GtkWidget; |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
104 public alias dwt.internal.c.gtk.GtkIMContext GtkIMContext; |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
105 public alias dwt.internal.c.gtk.GtkStyle GtkStyle; |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
106 public alias dwt.internal.c.gtk.GtkRcStyle GtkRcStyle; |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
107 public alias dwt.internal.c.gtk.GtkCellRenderer GtkCellRenderer; |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
108 public alias dwt.internal.c.gtk.GtkScrolledWindow GtkScrolledWindow; |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
109 public alias dwt.internal.c.gtk.GtkLabel GtkLabel; |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
110 public alias dwt.internal.c.gtk.GtkWindow GtkWindow; |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
111 public alias dwt.internal.c.gtk.GtkRequisition GtkRequisition; |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
112 public alias dwt.internal.c.gtk.GtkContainer GtkContainer; |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
113 public alias dwt.internal.c.gtk.GtkAdjustment GtkAdjustment; |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
114 public alias dwt.internal.c.gtk.GtkCallback GtkCallback; |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
115 public alias dwt.internal.c.gtk.GtkFixedClass GtkFixedClass; |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
116 public alias dwt.internal.c.gtk.GtkFixed GtkFixed; |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
117 public alias dwt.internal.c.gtk.GtkCellRendererText GtkCellRendererText; |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
118 public alias dwt.internal.c.gtk.GtkCellRendererTextClass GtkCellRendererTextClass; |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
119 public alias dwt.internal.c.gtk.GtkCellRendererPixbufClass GtkCellRendererPixbufClass; |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
120 public alias dwt.internal.c.gtk.GtkCellRendererPixbuf GtkCellRendererPixbuf; |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
121 public alias dwt.internal.c.gtk.GtkCellRendererToggleClass GtkCellRendererToggleClass; |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
122 public alias dwt.internal.c.gtk.GtkCellRendererToggle GtkCellRendererToggle; |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
123 public alias dwt.internal.c.gtk.GtkWidgetClass GtkWidgetClass; |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
124 public alias dwt.internal.c.gtk.GtkCellRendererClass GtkCellRendererClass; |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
125 public alias dwt.internal.c.gtk.GtkAllocation GtkAllocation; |
34 | 126 public alias dwt.internal.c.gtk.GtkSocket GtkSocket; |
37 | 127 public alias dwt.internal.c.gtk.GtkAccelGroup GtkAccelGroup; |
38 | 128 public alias dwt.internal.c.gtk.GtkTooltips GtkTooltips; |
44 | 129 public alias dwt.internal.c.gtk.GtkBorder GtkBorder; |
130 public alias dwt.internal.c.gtk.GtkObject GtkObject; | |
131 public alias dwt.internal.c.gtk.GtkRadioButton GtkRadioButton; | |
132 public alias dwt.internal.c.gtk.GtkToggleButton GtkToggleButton; | |
133 public alias dwt.internal.c.gtk.GtkArrow GtkArrow; | |
134 public alias dwt.internal.c.gtk.GtkBox GtkBox; | |
135 public alias dwt.internal.c.gtk.GtkMisc GtkMisc; | |
136 public alias dwt.internal.c.gtk.GtkImage GtkImage; | |
47
f646579f309c
Tray, Tooltip, TrayItem, Item
Frank Benoit <benoit@tionex.de>
parents:
44
diff
changeset
|
137 public alias dwt.internal.c.gtk.GtkPlug GtkPlug; |
48 | 138 public alias dwt.internal.c.gtk.GtkMenu GtkMenu; |
139 public alias dwt.internal.c.gtk.GtkBin GtkBin; | |
140 public alias dwt.internal.c.gtk.GtkRadioMenuItem GtkRadioMenuItem; | |
141 public alias dwt.internal.c.gtk.GtkMenuShell GtkMenuShell; | |
142 public alias dwt.internal.c.gtk.GtkCheckMenuItem GtkCheckMenuItem; | |
143 public alias dwt.internal.c.gtk.GtkAccelLabel GtkAccelLabel; | |
144 public alias dwt.internal.c.gtk.GtkImageMenuItem GtkImageMenuItem; | |
145 public alias dwt.internal.c.gtk.GtkMenuItem GtkMenuItem; | |
146 public alias dwt.internal.c.gtk.GtkIMMulticontext GtkIMMulticontext; | |
54 | 147 public alias dwt.internal.c.gtk.GtkTooltipsData GtkTooltipsData; |
33
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
148 |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
149 public alias dwt.internal.c.Xlib.XErrorEvent XErrorEvent; |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
150 public alias dwt.internal.c.Xlib.XExposeEvent XExposeEvent; |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
151 public alias dwt.internal.c.Xlib.XVisibilityEvent XVisibilityEvent; |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
152 public alias dwt.internal.c.Xlib.XEvent XEvent; |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
153 public alias dwt.internal.c.Xlib.XRectangle XRectangle; |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
154 public alias dwt.internal.c.Xlib.XButtonEvent XButtonEvent; |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
155 public alias dwt.internal.c.Xlib.XWindowChanges XWindowChanges; |
38 | 156 public alias dwt.internal.c.Xlib.XFocusChangeEvent XFocusChangeEvent; |
47
f646579f309c
Tray, Tooltip, TrayItem, Item
Frank Benoit <benoit@tionex.de>
parents:
44
diff
changeset
|
157 public alias dwt.internal.c.Xlib.XClientMessageEvent XClientMessageEvent; |
33
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
158 |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
159 public alias dwt.internal.c.Xrender.XRenderPictureAttributes XRenderPictureAttributes; |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
160 public alias dwt.internal.c.Xrender.XTransform XTransform; |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
161 |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
162 |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
163 // function with variadic argument list |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
164 private void gtk_widget_style_get1( GtkWidget* widget, gchar* firstPropertyName, int* res ){ |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
165 gtk_widget_style_get( widget, firstPropertyName, res, null ); |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
166 } |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
167 // function with variadic argument list |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
168 private void g_object_get1( void* obj, gchar* firstPropertyName, int* res ){ |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
169 g_object_get( obj, firstPropertyName, res, null ); |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
170 } |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
171 |
42 | 172 private void g_signal_emit_by_name0( void* instance, char* detailed_signal ){ |
173 g_signal_emit_by_name( instance, detailed_signal ); | |
174 } | |
175 | |
176 private void g_signal_emit_by_name1( void* instance, char* detailed_signal, int value ){ | |
177 g_signal_emit_by_name( instance, detailed_signal, value ); | |
178 } | |
179 | |
180 private void g_signal_emit_by_name2( void* instance, char* detailed_signal, int value1, int value2 ){ | |
181 g_signal_emit_by_name( instance, detailed_signal, value1, value2 ); | |
182 } | |
183 | |
184 private void g_signal_emit_by_name3( void* instance, char* detailed_signal, int value1, int value2, int value3 ){ | |
185 g_signal_emit_by_name( instance, detailed_signal, value1, value2, value3 ); | |
186 } | |
187 | |
33
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
188 // for linux always true, the other possibility would be GDK_WINDOWING_WIN32 |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
189 private bool GDK_WINDOWING_X11(){ |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
190 return true; |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
191 } |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
192 |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
193 private uint GDK_PIXMAP_XID(GdkDrawable* win){ |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
194 return gdk_x11_drawable_get_xid(win); |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
195 } |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
196 |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
197 // macro |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
198 int g_signal_connect( void* instance, char* sig, GCallback handle, void* ptr ){ |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
199 return g_signal_connect_data( instance, sig, handle, ptr, cast(GClosureNotify) 0, cast(GConnectFlags)0 ); |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
200 } |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
201 |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
202 // macro |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
203 void gdk_cursor_destroy( GdkCursor* cursor ){ |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
204 gdk_cursor_unref(cursor); |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
205 } |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
206 |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
207 int g_thread_supported(){ |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
208 return g_threads_got_initialized; |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
209 } |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
210 |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
211 |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
212 // fontconfig.h |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
213 struct FcConfig{}; |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
214 private extern(C) int FcConfigAppFontAddFile (FcConfig *config, char *file); |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
215 |
27324bbbac70
changed to regenerated BCD bindings
Frank Benoit <benoit@tionex.de>
parents:
32
diff
changeset
|
216 |
7 | 217 template NameOfFunc(alias f) { |
218 // Note: highly dependent on the .stringof formatting | |
219 // the value begins with "& " which is why the first two chars are cut off | |
220 const char[] NameOfFunc = (&f).stringof[2 .. $]; | |
221 } | |
222 | |
8 | 223 template ForwardGtkOsCFunc( alias cFunc ) { |
7 | 224 alias ParameterTupleOf!(cFunc) P; |
225 alias ReturnTypeOf!(cFunc) R; | |
226 mixin("public static R " ~ NameOfFunc!(cFunc) ~ "( P p ){ | |
227 lock.lock(); | |
228 scope(exit) lock.unlock(); | |
229 return cFunc(p); | |
230 }"); | |
231 } | |
12 | 232 /+ |
233 // alternative template implementation, might be more stable | |
234 template ForwardGtkOsCFunc(char[] name) { | |
235 alias typeof(mixin(name)) func; | |
236 alias ParameterTupleOf!(func) Params; | |
237 alias ReturnTypeOf!(func) Ret; | |
238 mixin("public static Ret "~name~"( Params p ) { | |
239 return ."~name~"(p); | |
240 }"); | |
241 } | |
242 +/ | |
10
63c023465156
moved from org.eclipse.swt to dwt
Frank Benoit <benoit@tionex.de>
parents:
9
diff
changeset
|
243 //import dwt.internal.*; |
7 | 244 |
245 public class OS : Platform { | |
246 | |
247 /** OS Constants */ | |
54 | 248 public static /*const*/ bool IsAIX, IsSunOS, IsLinux, IsHPUX; |
249 public static void static_this() { | |
7 | 250 /* Initialize the OS flags and locale constants */ |
251 char[] osName = "Linux";//System.getProperty ("os.name"); | |
252 bool isAIX = false, isSunOS = false, isLinux = false, isHPUX = false; | |
253 if (osName == "Linux") isLinux = true; | |
254 if (osName == "AIX") isAIX = true; | |
255 if (osName == "Solaris") isSunOS = true; | |
256 if (osName == "SunOS") isSunOS = true; | |
257 if (osName == "HP-UX") isHPUX = true; | |
258 IsAIX = isAIX; IsSunOS = isSunOS; IsLinux = isLinux; IsHPUX = isHPUX; | |
259 //PORTING_LEFT | |
54 | 260 GTK_VERSION = buildVERSION(gtk_major_version(), gtk_minor_version(), gtk_micro_version()); |
7 | 261 } |
262 | |
263 /** Constants */ | |
264 public static const int ATK_RELATION_LABELLED_BY = 4; | |
265 public static const int G_SIGNAL_MATCH_DATA = 1 << 4; | |
266 public static const int G_SIGNAL_MATCH_ID = 1 << 0; | |
267 public static const int GDK_2BUTTON_PRESS = 0x5; | |
268 public static const int GDK_3BUTTON_PRESS = 0x6; | |
269 public static const int GDK_ACTION_COPY = 1 << 1; | |
270 public static const int GDK_ACTION_MOVE = 1 << 2; | |
271 public static const int GDK_ACTION_LINK = 1 << 3; | |
272 public static const int GDK_Alt_L = 0xffe9; | |
273 public static const int GDK_Alt_R = 0xffea; | |
274 public static const int GDK_AND = 4; | |
275 public static const int GDK_BackSpace = 0xff08; | |
276 public static const int GDK_BOTTOM_LEFT_CORNER = 0xc; | |
277 public static const int GDK_BOTTOM_RIGHT_CORNER = 0xe; | |
278 public static const int GDK_BOTTOM_SIDE = 0x10; | |
279 public static const int GDK_BUTTON1_MASK = 0x100; | |
280 public static const int GDK_BUTTON2_MASK = 0x200; | |
281 public static const int GDK_BUTTON3_MASK = 0x400; | |
282 public static const int GDK_BUTTON_MOTION_MASK = 1 << 4; | |
283 public static const int GDK_BUTTON1_MOTION_MASK = 1 << 5; | |
284 public static const int GDK_BUTTON2_MOTION_MASK = 1 << 6; | |
285 public static const int GDK_BUTTON3_MOTION_MASK = 1 << 7; | |
286 public static const int GDK_BUTTON_PRESS = 0x4; | |
287 public static const int GDK_BUTTON_PRESS_MASK = 0x100; | |
288 public static const int GDK_BUTTON_RELEASE = 0x7; | |
289 public static const int GDK_BUTTON_RELEASE_MASK = 0x200; | |
290 public static const int GDK_CAP_BUTT = 0x1; | |
291 public static const int GDK_CAP_PROJECTING = 3; | |
292 public static const int GDK_CAP_ROUND = 0x2; | |
293 public static const int GDK_COLORSPACE_RGB = 0; | |
294 public static const int GDK_CONFIGURE = 13; | |
295 public static const int GDK_CONTROL_MASK = 0x4; | |
296 public static const int GDK_COPY = 0x0; | |
297 public static const int GDK_CROSS = 0x1e; | |
298 public static const int GDK_CROSSING_NORMAL = 0; | |
299 public static const int GDK_CROSSING_GRAB = 1; | |
300 public static const int GDK_CROSSING_UNGRAB = 2; | |
301 public static const int GDK_Break = 0xff6b; | |
302 public static const int GDK_Cancel = 0xff69; | |
303 public static const int GDK_Caps_Lock = 0xffE5; | |
304 public static const int GDK_Clear = 0xff0B; | |
305 public static const int GDK_Control_L = 0xffe3; | |
306 public static const int GDK_Control_R = 0xffe4; | |
307 public static const int GDK_CURRENT_TIME = 0x0; | |
308 public static const int GDK_DECOR_BORDER = 0x2; | |
309 public static const int GDK_DECOR_MAXIMIZE = 0x40; | |
310 public static const int GDK_DECOR_MENU = 0x10; | |
311 public static const int GDK_DECOR_MINIMIZE = 0x20; | |
312 public static const int GDK_DECOR_RESIZEH = 0x4; | |
313 public static const int GDK_DECOR_TITLE = 0x8; | |
314 public static const int GDK_DOUBLE_ARROW = 0x2a; | |
315 public static const int GDK_Delete = 0xffff; | |
316 public static const int GDK_Down = 0xff54; | |
317 public static const int GDK_ENTER_NOTIFY_MASK = 0x1000; | |
318 public static const int GDK_ENTER_NOTIFY = 10; | |
319 public static const int GDK_EVEN_ODD_RULE = 0; | |
320 public static const int GTK_EXPANDER_COLAPSED = 0; | |
321 public static const int GTK_EXPANDER_SEMI_COLLAPSED = 1; | |
322 public static const int GTK_EXPANDER_SEMI_EXPANDED = 2; | |
323 public static const int GTK_EXPANDER_EXPANDED = 3; | |
324 public static const int GDK_EXPOSE = 2; | |
325 public static const int GDK_EXPOSURE_MASK = 0x2; | |
326 public static const int GDK_End = 0xff57; | |
327 public static const int GDK_Escape = 0xff1b; | |
328 public static const int GDK_F1 = 0xffbe; | |
329 public static const int GDK_F10 = 0xffc7; | |
330 public static const int GDK_F11 = 0xffc8; | |
331 public static const int GDK_F12 = 0xffc9; | |
332 public static const int GDK_F13 = 0xffca; | |
333 public static const int GDK_F14 = 0xffcb; | |
334 public static const int GDK_F15 = 0xffcc; | |
335 public static const int GDK_F2 = 0xffbf; | |
336 public static const int GDK_F3 = 0xffc0; | |
337 public static const int GDK_F4 = 0xffc1; | |
338 public static const int GDK_F5 = 0xffc2; | |
339 public static const int GDK_F6 = 0xffc3; | |
340 public static const int GDK_F7 = 0xffc4; | |
341 public static const int GDK_F8 = 0xffc5; | |
342 public static const int GDK_F9 = 0xffc6; | |
343 public static const int GDK_FLEUR = 0x34; | |
344 public static const int GDK_FOCUS_CHANGE = 0xc; | |
345 public static const int GDK_FOCUS_CHANGE_MASK = 0x4000; | |
346 public static const int GDK_GC_CLIP_MASK = 0x80; | |
347 public static const int GDK_GC_CLIP_X_ORIGIN = 0x800; | |
348 public static const int GDK_GC_CLIP_Y_ORIGIN = 0x1000; | |
349 public static const int GDK_GRAB_SUCCESS = 0x0; | |
350 public static const int GDK_HAND2 = 0x3c; | |
351 public static const int GDK_Help = 0xFF6A; | |
352 public static const int GDK_HINT_MIN_SIZE = 1 << 1; | |
353 public static const int GDK_Home = 0xff50; | |
354 public static const int GDK_INCLUDE_INFERIORS = 0x1; | |
355 public static const int GDK_INPUT_ONLY = 1; | |
356 public static const int GDK_INTERP_BILINEAR = 0x2; | |
357 public static const int GDK_Insert = 0xff63; | |
358 public static const int GDK_ISO_Left_Tab = 0xfe20; | |
359 public static const int GDK_JOIN_MITER = 0x0; | |
360 public static const int GDK_JOIN_ROUND = 0x1; | |
361 public static const int GDK_JOIN_BEVEL = 0x2; | |
362 public static const int GDK_KEY_PRESS = 0x8; | |
363 public static const int GDK_KEY_PRESS_MASK = 0x400; | |
364 public static const int GDK_KEY_RELEASE = 0x9; | |
365 public static const int GDK_KEY_RELEASE_MASK = 0x800; | |
366 public static const int GDK_KP_0 = 0xffb0; | |
367 public static const int GDK_KP_1 = 0xffb1; | |
368 public static const int GDK_KP_2 = 0xffb2; | |
369 public static const int GDK_KP_3 = 0xffb3; | |
370 public static const int GDK_KP_4 = 0xffb4; | |
371 public static const int GDK_KP_5 = 0xffb5; | |
372 public static const int GDK_KP_6 = 0xffb6; | |
373 public static const int GDK_KP_7 = 0xffb7; | |
374 public static const int GDK_KP_8 = 0xffb8; | |
375 public static const int GDK_KP_9 = 0xffb9; | |
376 public static const int GDK_KP_Add = 0xffab; | |
377 public static const int GDK_KP_Decimal = 0xffae; | |
378 public static const int GDK_KP_Delete = 0xFF9F; | |
379 public static const int GDK_KP_Divide = 0xffaf; | |
380 public static const int GDK_KP_Down = 0xFF99; | |
381 public static const int GDK_KP_End = 0xFF9C; | |
382 public static const int GDK_KP_Enter = 0xff8d; | |
383 public static const int GDK_KP_Equal = 0xffbd; | |
384 public static const int GDK_KP_Home = 0xFF95; | |
385 public static const int GDK_KP_Insert = 0xFF9E; | |
386 public static const int GDK_KP_Left = 0xFF96; | |
387 public static const int GDK_KP_Multiply = 0xffaa; | |
388 public static const int GDK_KP_Page_Down = 0xFF9B; | |
389 public static const int GDK_KP_Page_Up = 0xFF9A; | |
390 public static const int GDK_KP_Right = 0xFF98; | |
391 public static const int GDK_KP_Subtract = 0xffad; | |
392 public static const int GDK_KP_Up = 0xFF97; | |
393 public static const int GDK_LEAVE_NOTIFY = 11; | |
394 public static const int GDK_LEAVE_NOTIFY_MASK = 0x2000; | |
395 public static const int GDK_LEFT_PTR = 0x44; | |
396 public static const int GDK_LEFT_SIDE = 0x46; | |
397 public static const int GDK_LINE_ON_OFF_DASH = 0x1; | |
398 public static const int GDK_LINE_SOLID = 0x0; | |
399 public static const int GDK_Linefeed = 0xff0A; | |
400 public static const int GDK_LSB_FIRST = 0x0; | |
401 public static const int GDK_Left = 0xff51; | |
402 public static const int GDK_Meta_L = 0xFFE7; | |
403 public static const int GDK_Meta_R = 0xFFE8; | |
404 public static const int GDK_MAP = 14; | |
405 public static const int GDK_MOD1_MASK = 0x8; | |
406 public static const int GDK_MOTION_NOTIFY = 0x3; | |
407 public static const int GDK_NO_EXPOSE = 30; | |
408 public static const int GDK_NONE = 0; | |
409 public static const int GDK_NOTIFY_INFERIOR = 2; | |
410 public static const int GDK_Num_Lock = 0xFF7F; | |
411 public static const int GDK_OVERLAP_RECTANGLE_OUT = 0x1; | |
412 public static const int GDK_PIXBUF_ALPHA_BILEVEL = 0x0; | |
413 public static const int GDK_POINTER_MOTION_HINT_MASK = 0x8; | |
414 public static const int GDK_POINTER_MOTION_MASK = 0x4; | |
415 public static const int GDK_PROPERTY_NOTIFY = 16; | |
416 public static const int GDK_Page_Down = 0xff56; | |
417 public static const int GDK_Page_Up = 0xff55; | |
418 public static const int GDK_Pause = 0xff13; | |
419 public static const int GDK_Print = 0xff61; | |
420 public static const int GDK_QUESTION_ARROW = 0x5c; | |
421 public static const int GDK_RGB_DITHER_NORMAL = 0x1; | |
422 public static const int GDK_RIGHT_SIDE = 0x60; | |
423 public static const int GDK_Return = 0xff0d; | |
424 public static const int GDK_Right = 0xff53; | |
425 public static const int GDK_space = 0x20; | |
426 public static const int GDK_SB_H_DOUBLE_ARROW = 0x6c; | |
427 public static const int GDK_SB_UP_ARROW = 0x72; | |
428 public static const int GDK_SB_V_DOUBLE_ARROW = 0x74; | |
429 public static const int GDK_SCROLL_UP = 0; | |
430 public static const int GDK_SCROLL_DOWN = 1; | |
431 public static const int GDK_SCROLL_LEFT = 2; | |
432 public static const int GDK_SCROLL_RIGHT = 3; | |
433 public static const int GDK_SELECTION_CLEAR = 17; | |
434 public static const int GDK_SELECTION_NOTIFY = 19; | |
435 public static const int GDK_SELECTION_REQUEST = 18; | |
436 public static const int GDK_SHIFT_MASK = 0x1; | |
437 public static const int GDK_SIZING = 0x78; | |
438 public static const int GDK_STIPPLED = 0x2; | |
439 public static const int GDK_TILED = 0x1; | |
440 public static const int GDK_Shift_L = 0xffe1; | |
441 public static const int GDK_Shift_R = 0xffe2; | |
442 public static const int GDK_SCROLL = 31; | |
443 public static const int GDK_Scroll_Lock = 0xff14; | |
444 public static const int GDK_TOP_LEFT_CORNER = 0x86; | |
445 public static const int GDK_TOP_RIGHT_CORNER = 0x88; | |
446 public static const int GDK_TOP_SIDE = 0x8a; | |
447 public static const int GDK_Tab = 0xff09; | |
448 public static const int GDK_Up = 0xff52; | |
449 public static const int GDK_WATCH = 0x96; | |
450 public static const int GDK_XOR = 0x2; | |
451 public static const int GDK_XTERM = 0x98; | |
452 public static const int GDK_X_CURSOR = 0x0; | |
453 public static const int GDK_VISIBILITY_FULLY_OBSCURED = 2; | |
454 public static const int GDK_VISIBILITY_NOTIFY_MASK = 1 << 17; | |
455 public static const int GDK_WINDOW_CHILD = 2; | |
456 public static const int GDK_WINDOW_STATE_ICONIFIED = 1 << 1; | |
457 public static const int GDK_WINDOW_STATE_MAXIMIZED = 1 << 2; | |
458 public static const int GTK_ACCEL_VISIBLE = 0x1; | |
459 public static const int GTK_ARROW_DOWN = 0x1; | |
460 public static const int GTK_ARROW_LEFT = 0x2; | |
461 public static const int GTK_ARROW_RIGHT = 0x3; | |
462 public static const int GTK_ARROW_UP = 0x0; | |
463 public static const int GTK_CALENDAR_SHOW_HEADING = 1 << 0; | |
464 public static const int GTK_CALENDAR_SHOW_DAY_NAMES = 1 << 1; | |
465 public static const int GTK_CALENDAR_NO_MONTH_CHANGE = 1 << 2; | |
466 public static const int GTK_CALENDAR_SHOW_WEEK_NUMBERS = 1 << 3; | |
467 public static const int GTK_CALENDAR_WEEK_START_MONDAY = 1 << 4; | |
468 public static const int GTK_CAN_DEFAULT = 0x2000; | |
469 public static const int GTK_CAN_FOCUS = 0x800; | |
470 public static const int GTK_CELL_RENDERER_MODE_ACTIVATABLE = 1; | |
471 public static const int GTK_CELL_RENDERER_SELECTED = 1 << 0; | |
472 public static const int GTK_CELL_RENDERER_FOCUSED = 1 << 4; | |
473 public static const int GTK_CLIST_SHOW_TITLES = 0x4; | |
474 public static const int GTK_CORNER_TOP_LEFT = 0x0; | |
475 public static const int GTK_CORNER_TOP_RIGHT = 0x2; | |
476 public static const int GTK_DIALOG_DESTROY_WITH_PARENT = 1 << 1; | |
477 public static const int GTK_DIALOG_MODAL = 1 << 0; | |
478 public static const int GTK_DIR_TAB_FORWARD = 0; | |
479 public static const int GTK_DIR_TAB_BACKWARD = 1; | |
480 public static const int GTK_FILE_CHOOSER_ACTION_OPEN = 0; | |
481 public static const int GTK_FILE_CHOOSER_ACTION_SAVE = 1; | |
482 public static const int GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER = 2; | |
483 public static const int GTK_HAS_FOCUS = 1 << 12; | |
484 public static const int GTK_ICON_SIZE_MENU = 1; | |
485 public static const int GTK_ICON_SIZE_SMALL_TOOLBAR = 2; | |
486 public static const int GTK_ICON_SIZE_LARGE_TOOLBAR = 3; | |
487 public static const int GTK_ICON_SIZE_DIALOG = 6; | |
488 public static const int GTK_JUSTIFY_CENTER = 0x2; | |
489 public static const int GTK_JUSTIFY_LEFT = 0x0; | |
490 public static const int GTK_JUSTIFY_RIGHT = 0x1; | |
491 public static const int GTK_MAPPED = 1 << 7; | |
492 public static const int GTK_MESSAGE_INFO = 0; | |
493 public static const int GTK_MESSAGE_WARNING = 1; | |
494 public static const int GTK_MESSAGE_QUESTION = 2; | |
495 public static const int GTK_MESSAGE_ERROR = 3; | |
496 public static const int GTK_NO_WINDOW = 1 << 5; | |
497 public static const int GTK_ORIENTATION_HORIZONTAL = 0x0; | |
498 public static const int GTK_ORIENTATION_VERTICAL = 0x1; | |
499 public static const int GTK_PACK_END = 1; | |
500 public static const int GTK_PACK_START = 0; | |
501 public static const int GTK_POLICY_ALWAYS = 0x0; | |
502 public static const int GTK_POLICY_AUTOMATIC = 0x1; | |
503 public static const int GTK_POLICY_NEVER = 0x2; | |
504 public static const int GTK_POS_TOP = 0x2; | |
505 public static const int GTK_POS_BOTTOM = 0x3; | |
506 public static const int GTK_PRINT_CAPABILITY_PAGE_SET = 1 << 0; | |
507 public static const int GTK_PRINT_CAPABILITY_COPIES = 1 << 1; | |
508 public static const int GTK_PRINT_CAPABILITY_COLLATE = 1 << 2; | |
509 public static const int GTK_PRINT_CAPABILITY_REVERSE = 1 << 3; | |
510 public static const int GTK_PRINT_CAPABILITY_SCALE = 1 << 4; | |
511 public static const int GTK_PRINT_CAPABILITY_GENERATE_PDF = 1 << 5; | |
512 public static const int GTK_PRINT_CAPABILITY_GENERATE_PS = 1 << 6; | |
513 public static const int GTK_PRINT_CAPABILITY_PREVIEW = 1 << 7; | |
514 public static const int GTK_PRINT_PAGES_ALL = 0; | |
515 public static const int GTK_PRINT_PAGES_CURRENT = 1; | |
516 public static const int GTK_PRINT_PAGES_RANGES = 2; | |
517 public static const int GTK_PROGRESS_CONTINUOUS = 0x0; | |
518 public static const int GTK_PROGRESS_DISCRETE = 0x1; | |
519 public static const int GTK_PROGRESS_LEFT_TO_RIGHT = 0x0; | |
520 public static const int GTK_PROGRESS_BOTTOM_TO_TOP = 0x2; | |
521 public static const int GTK_REALIZED = 1 << 6; | |
522 public static const int GTK_RELIEF_NONE = 0x2; | |
523 public static const int GTK_RELIEF_NORMAL = 0; | |
524 public static const int GTK_RC_BG = 1 << 1; | |
525 public static const int GTK_RC_FG = 1 << 0; | |
526 public static const int GTK_RC_TEXT = 1 << 2; | |
527 public static const int GTK_RC_BASE = 1 << 3; | |
528 public static const int GTK_RESPONSE_APPLY = 0xfffffff6; | |
529 public static const int GTK_RESPONSE_CANCEL = 0xfffffffa; | |
530 public static const int GTK_RESPONSE_OK = 0xfffffffb; | |
531 public static const int GTK_SCROLL_NONE = 0; | |
532 public static const int GTK_SCROLL_JUMP = 1; | |
533 public static const int GTK_SCROLL_STEP_BACKWARD = 2; | |
534 public static const int GTK_SCROLL_STEP_FORWARD = 3; | |
535 public static const int GTK_SCROLL_PAGE_BACKWARD = 4; | |
536 public static const int GTK_SCROLL_PAGE_FORWARD = 5; | |
537 public static const int GTK_SCROLL_STEP_UP = 6; | |
538 public static const int GTK_SCROLL_STEP_DOWN = 7; | |
539 public static const int GTK_SCROLL_PAGE_UP = 8; | |
540 public static const int GTK_SCROLL_PAGE_DOWN = 9; | |
541 public static const int GTK_SCROLL_STEP_LEFT = 10; | |
542 public static const int GTK_SCROLL_STEP_RIGHT = 11; | |
543 public static const int GTK_SCROLL_PAGE_LEFT = 12; | |
544 public static const int GTK_SCROLL_PAGE_RIGHT = 13; | |
545 public static const int GTK_SCROLL_START = 14; | |
546 public static const int GTK_SCROLL_END = 15; | |
547 public static const int GTK_SELECTION_BROWSE = 0x2; | |
548 public static const int GTK_SELECTION_MULTIPLE = 0x3; | |
549 public static const int GTK_SENSITIVE = 0x200; | |
550 public static const int GTK_SHADOW_ETCHED_IN = 0x3; | |
551 public static const int GTK_SHADOW_ETCHED_OUT = 0x4; | |
552 public static const int GTK_SHADOW_IN = 0x1; | |
553 public static const int GTK_SHADOW_NONE = 0x0; | |
554 public static const int GTK_SHADOW_OUT = 0x2; | |
555 public static const int GTK_STATE_ACTIVE = 0x1; | |
556 public static const int GTK_STATE_INSENSITIVE = 0x4; | |
557 public static const int GTK_STATE_NORMAL = 0x0; | |
558 public static const int GTK_STATE_PRELIGHT = 0x2; | |
559 public static const int GTK_STATE_SELECTED = 0x3; | |
560 public static const int GTK_TEXT_DIR_LTR = 1; | |
561 public static const int GTK_TEXT_DIR_NONE = 0 ; | |
562 public static const int GTK_TEXT_DIR_RTL = 2; | |
563 public static const int GTK_TEXT_WINDOW_TEXT = 2; | |
564 public static const int GTK_TOOLBAR_CHILD_BUTTON = 0x1; | |
565 public static const int GTK_TOOLBAR_CHILD_RADIOBUTTON = 0x3; | |
566 public static const int GTK_TOOLBAR_CHILD_TOGGLEBUTTON = 0x2; | |
567 public static const int GTK_TREE_VIEW_COLUMN_GROW_ONLY = 0; | |
568 public static const int GTK_TREE_VIEW_COLUMN_AUTOSIZE = 1; | |
569 public static const int GTK_TREE_VIEW_COLUMN_FIXED = 2; | |
570 public static const int GTK_TREE_VIEW_DROP_BEFORE = 0; | |
571 public static const int GTK_TREE_VIEW_DROP_AFTER = 1; | |
572 public static const int GTK_TREE_VIEW_DROP_INTO_OR_BEFORE = 2; | |
573 public static const int GTK_TREE_VIEW_DROP_INTO_OR_AFTER = 3; | |
574 public static const int GDK_UNMAP = 15; | |
575 public static const int GTK_UNIT_PIXEL = 0; | |
576 public static const int GTK_UNIT_POINTS = 1; | |
577 public static const int GTK_UNIT_INCH = 2; | |
578 public static const int GTK_UNIT_MM = 3; | |
579 public static const int GTK_VISIBILITY_FULL = 0x2; | |
580 public static const int GTK_VISIBILITY_NONE = 0x0; | |
581 public static const int GTK_VISIBLE = 0x100; | |
582 public static const int GDK_WA_X = 1 << 2; | |
583 public static const int GDK_WA_Y = 1 << 3; | |
584 public static const int GDK_WA_VISUAL = 1 << 6; | |
585 public static const int GTK_WINDOW_POPUP = 0x1; | |
586 public static const int GTK_WINDOW_TOPLEVEL = 0x0; | |
587 public static const int GDK_WINDOW_TYPE_HINT_DIALOG = 1; | |
588 public static const int GTK_WRAP_NONE = 0; | |
589 public static const int GTK_WRAP_WORD = 2; | |
590 public static const int G_LOG_FLAG_FATAL = 0x2; | |
591 public static const int G_LOG_FLAG_RECURSION = 0x1; | |
592 public static const int G_LOG_LEVEL_MASK = 0xfffffffc; | |
593 public static const int None = 0; | |
594 public static const int PANGO_ALIGN_LEFT = 0; | |
595 public static const int PANGO_ALIGN_CENTER = 1; | |
596 public static const int PANGO_ALIGN_RIGHT = 2; | |
597 public static const int PANGO_DIRECTION_LTR = 0; | |
598 public static const int PANGO_DIRECTION_RTL = 1; | |
599 public static const int PANGO_SCALE = 1024; | |
600 public static const int PANGO_STRETCH_NORMAL = 0x4; | |
601 public static const int PANGO_STYLE_ITALIC = 0x2; | |
602 public static const int PANGO_STYLE_NORMAL = 0x0; | |
603 public static const int PANGO_STYLE_OBLIQUE = 0x1; | |
604 public static const int PANGO_TAB_LEFT = 0; | |
605 public static const int PANGO_UNDERLINE_LOW = 3; | |
606 public static const int PANGO_UNDERLINE_SINGLE = 1; | |
607 public static const int PANGO_WEIGHT_BOLD = 0x2bc; | |
608 public static const int PANGO_WEIGHT_NORMAL = 0x190; | |
609 public static const int PANGO_WRAP_WORD = 0; | |
610 public static const int PANGO_WRAP_WORD_CHAR = 2; | |
611 public static const int RTLD_LAZY = 1; | |
612 public static const int XA_CARDINAL = 6; | |
613 public static const int XA_WINDOW = 33; | |
614 | |
615 /** Signals */ | |
616 public static const char[] activate = "activate"; | |
617 public static const char[] button_press_event = "button-press-event"; | |
618 public static const char[] button_release_event = "button-release-event"; | |
619 public static const char[] changed = "changed"; | |
620 public static const char[] change_current_page = "change-current-page"; | |
621 public static const char[] change_value = "change-value"; | |
622 public static const char[] clicked = "clicked"; | |
623 public static const char[] commit = "commit"; | |
624 public static const char[] configure_event = "configure-event"; | |
625 public static const char[] delete_event = "delete-event"; | |
626 public static const char[] day_selected = "day-selected"; | |
627 public static const char[] delete_range = "delete-range"; | |
628 public static const char[] delete_text = "delete-text"; | |
629 public static const char[] drag_data_delete = "drag_data_delete"; | |
630 public static const char[] drag_data_get = "drag_data_get"; | |
631 public static const char[] drag_data_received = "drag_data_received"; | |
632 public static const char[] drag_drop = "drag_drop"; | |
633 public static const char[] drag_end = "drag_end"; | |
634 public static const char[] drag_leave = "drag_leave"; | |
635 public static const char[] drag_motion = "drag_motion"; | |
636 public static const char[] enter_notify_event = "enter-notify-event"; | |
637 public static const char[] event = "event"; | |
638 public static const char[] event_after = "event-after"; | |
639 public static const char[] expand_collapse_cursor_row = "expand-collapse-cursor-row"; | |
640 public static const char[] expose_event = "expose-event"; | |
641 public static const char[] focus = "focus"; | |
642 public static const char[] focus_in_event = "focus-in-event"; | |
643 public static const char[] focus_out_event = "focus-out-event"; | |
644 public static const char[] grab_focus = "grab-focus"; | |
645 public static const char[] hide = "hide"; | |
646 public static const char[] input = "input"; | |
647 public static const char[] insert_text = "insert-text"; | |
648 public static const char[] key_press_event = "key-press-event"; | |
649 public static const char[] key_release_event = "key-release-event"; | |
650 public static const char[] leave_notify_event = "leave-notify-event"; | |
651 public static const char[] map = "map"; | |
652 public static const char[] map_event = "map-event"; | |
653 public static const char[] mnemonic_activate = "mnemonic-activate"; | |
654 public static const char[] month_changed = "month-changed"; | |
655 public static const char[] motion_notify_event = "motion-notify-event"; | |
656 public static const char[] move_focus = "move-focus"; | |
657 public static const char[] output = "output"; | |
658 public static const char[] popup_menu = "popup-menu"; | |
659 public static const char[] preedit_changed = "preedit-changed"; | |
660 public static const char[] realize = "realize"; | |
661 public static const char[] row_activated = "row-activated"; | |
662 public static const char[] row_changed = "row-changed"; | |
663 public static const char[] scroll_child = "scroll-child"; | |
664 public static const char[] scroll_event = "scroll-event"; | |
665 public static const char[] select = "select"; | |
666 public static const char[] show = "show"; | |
667 public static const char[] show_help = "show-help"; | |
668 public static const char[] size_allocate = "size-allocate"; | |
669 public static const char[] size_request = "size-request"; | |
670 public static const char[] style_set = "style-set"; | |
671 public static const char[] switch_page = "switch-page"; | |
672 public static const char[] test_collapse_row = "test-collapse-row"; | |
673 public static const char[] test_expand_row = "test-expand-row"; | |
674 public static const char[] toggled = "toggled"; | |
675 public static const char[] unmap = "unmap"; | |
676 public static const char[] unmap_event = "unmap-event"; | |
677 public static const char[] unrealize = "unrealize"; | |
678 public static const char[] value_changed = "value-changed"; | |
679 public static const char[] visibility_notify_event = "visibility-notify-event"; | |
680 public static const char[] window_state_event = "window-state-event"; | |
681 | |
682 /** Properties */ | |
683 public static const char[] active = "active"; | |
684 public static const char[] background_gdk = "background-gdk"; | |
685 public static const char[] button_relief = "button-relief"; | |
686 public static const char[] cell_background_gdk = "cell-background-gdk"; | |
687 public static const char[] default_border = "default-border"; | |
688 public static const char[] expander_size = "expander-size"; | |
689 public static const char[] fixed_height_mode = "fixed-height-mode"; | |
690 public static const char[] focus_line_width = "focus-line-width"; | |
691 public static const char[] font_desc = "font-desc"; | |
692 public static const char[] foreground_gdk = "foreground-gdk"; | |
693 public static const char[] gtk_cursor_blink = "gtk-cursor-blink"; | |
694 public static const char[] gtk_cursor_blink_time = "gtk-cursor-blink-time"; | |
695 public static const char[] gtk_double_click_time = "gtk-double-click-time"; | |
696 public static const char[] gtk_entry_select_on_focus = "gtk-entry-select-on-focus"; | |
697 public static const char[] horizontal_separator = "horizontal-separator"; | |
698 public static const char[] inconsistent = "inconsistent"; | |
699 public static const char[] interior_focus = "interior-focus"; | |
700 public static const char[] mode = "mode"; | |
701 public static const char[] pixbuf = "pixbuf"; | |
702 public static const char[] text = "text"; | |
703 public static const char[] xalign = "xalign"; | |
704 public static const char[] ypad = "ypad"; | |
705 public static const char[] GTK_PRINT_SETTINGS_OUTPUT_URI = "output-uri"; | |
706 | |
54 | 707 public static /*const*/ int GTK_VERSION;// see static ctor = buildVERSION(gtk_major_version(), gtk_minor_version(), gtk_micro_version()); |
7 | 708 |
709 | |
710 public static int buildVERSION(int major, int minor, int micro) { | |
711 return (major << 16) + (minor << 8) + micro; | |
712 } | |
713 | |
714 /++ | |
715 public static final native int /*long*/ localeconv_decimal_point(); | |
716 public static final native int /*long*/ realpath(byte[] path, byte[] realPath); | |
41 | 717 ++/ |
7 | 718 |
719 /** X11 Native methods and constants */ | |
720 public static const int Above = 0; | |
721 public static const int Below = 1; | |
722 public static const int ButtonRelease = 5; | |
723 public static const int ClientMessage = 33; | |
724 public static const int CurrentTime = 0; | |
725 public static const int CWSibling = 0x20; | |
726 public static const int CWStackMode = 0x40; | |
727 public static const int EnterNotify = 7; | |
728 public static const int Expose = 12; | |
729 public static const int FocusChangeMask = 1 << 21; | |
730 public static const int FocusIn = 9; | |
731 public static const int FocusOut = 10; | |
732 public static const int GraphicsExpose = 13; | |
733 public static const int NoExpose = 14; | |
734 public static const int ExposureMask = 1 << 15; | |
735 public static const int /*long*/ NoEventMask = 0; | |
736 public static const int NotifyNormal = 0; | |
737 public static const int NotifyGrab = 1; | |
738 public static const int NotifyHint = 1; | |
739 public static const int NotifyUngrab = 2; | |
740 public static const int NotifyWhileGrabbed = 3; | |
741 public static const int NotifyAncestor = 0; | |
742 public static const int NotifyVirtual = 1; | |
743 public static const int NotifyNonlinear = 3; | |
744 public static const int NotifyNonlinearVirtual = 4; | |
745 public static const int NotifyPointer = 5; | |
746 public static const int RevertToParent = 2; | |
747 public static const int VisibilityChangeMask = 1 << 16; | |
748 public static const int VisibilityFullyObscured = 2; | |
749 public static const int VisibilityNotify = 15; | |
750 public static const int SYSTEM_TRAY_REQUEST_DOCK = 0; | |
24
bc06000c0816
TextLayout and GC, graphics complete
Frank Benoit <benoit@tionex.de>
parents:
20
diff
changeset
|
751 |
bc06000c0816
TextLayout and GC, graphics complete
Frank Benoit <benoit@tionex.de>
parents:
20
diff
changeset
|
752 /** X render natives and constants */ |
bc06000c0816
TextLayout and GC, graphics complete
Frank Benoit <benoit@tionex.de>
parents:
20
diff
changeset
|
753 public static const int PictStandardARGB32 = 0; |
bc06000c0816
TextLayout and GC, graphics complete
Frank Benoit <benoit@tionex.de>
parents:
20
diff
changeset
|
754 public static const int PictStandardRGB24 = 1; |
bc06000c0816
TextLayout and GC, graphics complete
Frank Benoit <benoit@tionex.de>
parents:
20
diff
changeset
|
755 public static const int PictStandardA8 = 2; |
bc06000c0816
TextLayout and GC, graphics complete
Frank Benoit <benoit@tionex.de>
parents:
20
diff
changeset
|
756 public static const int PictStandardA4 = 3; |
bc06000c0816
TextLayout and GC, graphics complete
Frank Benoit <benoit@tionex.de>
parents:
20
diff
changeset
|
757 public static const int PictStandardA1 = 4; |
bc06000c0816
TextLayout and GC, graphics complete
Frank Benoit <benoit@tionex.de>
parents:
20
diff
changeset
|
758 public static const int PictOpSrc = 1; |
bc06000c0816
TextLayout and GC, graphics complete
Frank Benoit <benoit@tionex.de>
parents:
20
diff
changeset
|
759 public static const int PictOpOver = 3; |
bc06000c0816
TextLayout and GC, graphics complete
Frank Benoit <benoit@tionex.de>
parents:
20
diff
changeset
|
760 |
26 | 761 public static int gtk_major_version(){ |
762 return .gtk_major_version; | |
763 } | |
764 public static int gtk_minor_version(){ | |
765 return .gtk_minor_version; | |
766 } | |
767 public static int gtk_micro_version(){ | |
768 return .gtk_micro_version; | |
769 } | |
15
758bbbe4b86a
Fixup gtk bindings; OS.d updates
John Reimer<terminal.node@gmail.com>
parents:
10
diff
changeset
|
770 // mixin ForwardGtkOsCFunc!(localeconv_decimal_point); |
758bbbe4b86a
Fixup gtk bindings; OS.d updates
John Reimer<terminal.node@gmail.com>
parents:
10
diff
changeset
|
771 // mixin ForwardGtkOsCFunc!(realpath); |
758bbbe4b86a
Fixup gtk bindings; OS.d updates
John Reimer<terminal.node@gmail.com>
parents:
10
diff
changeset
|
772 |
26 | 773 // mixin ForwardGtkOsCFunc!(X_EVENT_TYPE); |
774 // mixin ForwardGtkOsCFunc!(X_EVENT_WINDOW); | |
15
758bbbe4b86a
Fixup gtk bindings; OS.d updates
John Reimer<terminal.node@gmail.com>
parents:
10
diff
changeset
|
775 // mixin ForwardGtkOsCFunc!(.Call); |
758bbbe4b86a
Fixup gtk bindings; OS.d updates
John Reimer<terminal.node@gmail.com>
parents:
10
diff
changeset
|
776 // mixin ForwardGtkOsCFunc!(.call ); |
26 | 777 mixin ForwardGtkOsCFunc!(.GDK_WINDOWING_X11); |
8 | 778 mixin ForwardGtkOsCFunc!(.GDK_PIXMAP_XID); |
26 | 779 |
780 // mixin ForwardGtkOsCFunc!(.XCheckMaskEvent); | |
781 // mixin ForwardGtkOsCFunc!(.XCheckWindowEvent); | |
30 | 782 mixin ForwardGtkOsCFunc!(.XCheckIfEvent); |
783 mixin ForwardGtkOsCFunc!(.XDefaultScreen); | |
27 | 784 mixin ForwardGtkOsCFunc!(.XDefaultRootWindow); |
8 | 785 mixin ForwardGtkOsCFunc!(.XFlush); |
47
f646579f309c
Tray, Tooltip, TrayItem, Item
Frank Benoit <benoit@tionex.de>
parents:
44
diff
changeset
|
786 mixin ForwardGtkOsCFunc!(.XFree); |
f646579f309c
Tray, Tooltip, TrayItem, Item
Frank Benoit <benoit@tionex.de>
parents:
44
diff
changeset
|
787 mixin ForwardGtkOsCFunc!(.XGetSelectionOwner); |
f646579f309c
Tray, Tooltip, TrayItem, Item
Frank Benoit <benoit@tionex.de>
parents:
44
diff
changeset
|
788 mixin ForwardGtkOsCFunc!(.XInternAtom); |
f646579f309c
Tray, Tooltip, TrayItem, Item
Frank Benoit <benoit@tionex.de>
parents:
44
diff
changeset
|
789 mixin ForwardGtkOsCFunc!(.XQueryTree); |
f646579f309c
Tray, Tooltip, TrayItem, Item
Frank Benoit <benoit@tionex.de>
parents:
44
diff
changeset
|
790 mixin ForwardGtkOsCFunc!(.XKeysymToKeycode); |
f646579f309c
Tray, Tooltip, TrayItem, Item
Frank Benoit <benoit@tionex.de>
parents:
44
diff
changeset
|
791 mixin ForwardGtkOsCFunc!(.XListProperties); |
f646579f309c
Tray, Tooltip, TrayItem, Item
Frank Benoit <benoit@tionex.de>
parents:
44
diff
changeset
|
792 mixin ForwardGtkOsCFunc!(.XReconfigureWMWindow); |
f646579f309c
Tray, Tooltip, TrayItem, Item
Frank Benoit <benoit@tionex.de>
parents:
44
diff
changeset
|
793 mixin ForwardGtkOsCFunc!(.XSendEvent); |
26 | 794 |
8 | 795 mixin ForwardGtkOsCFunc!(.XSetIOErrorHandler); |
796 mixin ForwardGtkOsCFunc!(.XSetErrorHandler); | |
38 | 797 mixin ForwardGtkOsCFunc!(.XSetInputFocus); |
8 | 798 mixin ForwardGtkOsCFunc!(.XSynchronize); |
799 mixin ForwardGtkOsCFunc!(.XTestFakeButtonEvent); | |
800 mixin ForwardGtkOsCFunc!(.XTestFakeKeyEvent); | |
801 mixin ForwardGtkOsCFunc!(.XTestFakeMotionEvent); | |
802 mixin ForwardGtkOsCFunc!(.XWarpPointer); | |
15
758bbbe4b86a
Fixup gtk bindings; OS.d updates
John Reimer<terminal.node@gmail.com>
parents:
10
diff
changeset
|
803 |
8 | 804 mixin ForwardGtkOsCFunc!(.gdk_x11_atom_to_xatom); |
805 mixin ForwardGtkOsCFunc!(.gdk_x11_colormap_get_xcolormap); | |
806 mixin ForwardGtkOsCFunc!(.gdk_x11_drawable_get_xdisplay); | |
807 mixin ForwardGtkOsCFunc!(.gdk_x11_drawable_get_xid); | |
47
f646579f309c
Tray, Tooltip, TrayItem, Item
Frank Benoit <benoit@tionex.de>
parents:
44
diff
changeset
|
808 mixin ForwardGtkOsCFunc!(.gdk_x11_screen_lookup_visual); |
27 | 809 mixin ForwardGtkOsCFunc!(.gdk_x11_screen_get_window_manager_name); |
8 | 810 mixin ForwardGtkOsCFunc!(.gdk_x11_visual_get_xvisual); |
47
f646579f309c
Tray, Tooltip, TrayItem, Item
Frank Benoit <benoit@tionex.de>
parents:
44
diff
changeset
|
811 mixin ForwardGtkOsCFunc!(.gdk_pixmap_foreign_new); |
8 | 812 mixin ForwardGtkOsCFunc!(.gdk_window_lookup); |
813 mixin ForwardGtkOsCFunc!(.gdk_window_add_filter); | |
38 | 814 mixin ForwardGtkOsCFunc!(.gdk_window_remove_filter); |
15
758bbbe4b86a
Fixup gtk bindings; OS.d updates
John Reimer<terminal.node@gmail.com>
parents:
10
diff
changeset
|
815 |
7 | 816 /** X render natives and constants */ |
15
758bbbe4b86a
Fixup gtk bindings; OS.d updates
John Reimer<terminal.node@gmail.com>
parents:
10
diff
changeset
|
817 // mixin ForwardGtkOsCFunc!(XRenderPictureAttributes_sizeof); |
26 | 818 |
8 | 819 mixin ForwardGtkOsCFunc!(.XRenderQueryExtension); |
820 mixin ForwardGtkOsCFunc!(.XRenderQueryVersion); | |
821 mixin ForwardGtkOsCFunc!(.XRenderCreatePicture); | |
822 mixin ForwardGtkOsCFunc!(.XRenderSetPictureClipRectangles); | |
823 mixin ForwardGtkOsCFunc!(.XRenderSetPictureTransform); | |
824 mixin ForwardGtkOsCFunc!(.XRenderFreePicture); | |
825 mixin ForwardGtkOsCFunc!(.XRenderComposite); | |
826 mixin ForwardGtkOsCFunc!(.XRenderFindStandardFormat); | |
827 mixin ForwardGtkOsCFunc!(.XRenderFindVisualFormat); | |
24
bc06000c0816
TextLayout and GC, graphics complete
Frank Benoit <benoit@tionex.de>
parents:
20
diff
changeset
|
828 //mixin ForwardGtkOsCFunc!(Call ); |
40
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
829 //mixin ForwardGtkOsCFunc!(.GDK_DISPLAY); |
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
830 //mixin ForwardGtkOsCFunc!(.GDK_ROOT_PARENT); |
26 | 831 // mixin ForwardGtkOsCFunc!(.GDK_TYPE_COLOR); |
832 // mixin ForwardGtkOsCFunc!(.GDK_TYPE_PIXBUF); | |
833 // mixin ForwardGtkOsCFunc!(.GTK_IS_BUTTON); | |
40
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
834 //mixin ForwardGtkOsCFunc!(.GTK_IS_WINDOW); |
26 | 835 // mixin ForwardGtkOsCFunc!(.GTK_IS_CELL_RENDERER_PIXBUF); |
836 // mixin ForwardGtkOsCFunc!(.GTK_IS_CELL_RENDERER_TEXT); | |
837 // mixin ForwardGtkOsCFunc!(.GTK_IS_CELL_RENDERER_TOGGLE); | |
40
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
838 //mixin ForwardGtkOsCFunc!(.GTK_IS_CONTAINER); |
26 | 839 // mixin ForwardGtkOsCFunc!(.GTK_IS_IMAGE_MENU_ITEM); |
40
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
840 //mixin ForwardGtkOsCFunc!(.GTK_IS_PLUG); |
26 | 841 // mixin ForwardGtkOsCFunc!(.GTK_STOCK_CANCEL); |
842 // mixin ForwardGtkOsCFunc!(.GTK_STOCK_OK); | |
40
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
843 //mixin ForwardGtkOsCFunc!(.GTK_TYPE_CELL_RENDERER_TEXT); |
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
844 //mixin ForwardGtkOsCFunc!(.GTK_TYPE_CELL_RENDERER_PIXBUF); |
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
845 //mixin ForwardGtkOsCFunc!(.GTK_TYPE_CELL_RENDERER_TOGGLE); |
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
846 //mixin ForwardGtkOsCFunc!(.GTK_TYPE_FIXED); |
27 | 847 |
40
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
848 //mixin ForwardGtkOsCFunc!(.GTK_TYPE_MENU); |
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
849 //mixin ForwardGtkOsCFunc!(.GTK_TYPE_WIDGET); |
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
850 /+mixin ForwardGtkOsCFunc!(.GTK_WIDGET_FLAGS); |
27 | 851 mixin ForwardGtkOsCFunc!(.GTK_WIDGET_STATE); |
852 mixin ForwardGtkOsCFunc!(.GTK_WIDGET_HAS_DEFAULT); | |
853 mixin ForwardGtkOsCFunc!(.GTK_WIDGET_HAS_FOCUS); | |
854 mixin ForwardGtkOsCFunc!(.GTK_WIDGET_IS_SENSITIVE); | |
855 mixin ForwardGtkOsCFunc!(.GTK_WIDGET_MAPPED); | |
856 mixin ForwardGtkOsCFunc!(.GTK_WIDGET_SENSITIVE); | |
857 mixin ForwardGtkOsCFunc!(.GTK_WIDGET_SET_FLAGS); | |
858 mixin ForwardGtkOsCFunc!(.GTK_WIDGET_UNSET_FLAGS); | |
859 mixin ForwardGtkOsCFunc!(.GTK_WIDGET_VISIBLE); | |
860 mixin ForwardGtkOsCFunc!(.G_OBJECT_CLASS ); | |
861 mixin ForwardGtkOsCFunc!(.G_OBJECT_GET_CLASS ); | |
862 mixin ForwardGtkOsCFunc!(.G_OBJECT_TYPE_NAME ); | |
863 mixin ForwardGtkOsCFunc!(.G_TYPE_BOOLEAN); | |
864 mixin ForwardGtkOsCFunc!(.G_TYPE_INT); | |
865 mixin ForwardGtkOsCFunc!(.G_OBJECT_TYPE ); | |
866 mixin ForwardGtkOsCFunc!(.G_TYPE_STRING); | |
8 | 867 mixin ForwardGtkOsCFunc!(.PANGO_PIXELS); |
24
bc06000c0816
TextLayout and GC, graphics complete
Frank Benoit <benoit@tionex.de>
parents:
20
diff
changeset
|
868 //mixin ForwardGtkOsCFunc!(.PANGO_TYPE_FONT_DESCRIPTION); |
40
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
869 +/ |
8 | 870 mixin ForwardGtkOsCFunc!(.g_cclosure_new); |
871 mixin ForwardGtkOsCFunc!(.g_closure_ref); | |
872 mixin ForwardGtkOsCFunc!(.g_closure_unref); | |
873 mixin ForwardGtkOsCFunc!(.g_main_context_acquire); | |
874 mixin ForwardGtkOsCFunc!(.g_main_context_check); | |
875 mixin ForwardGtkOsCFunc!(.g_main_context_default); | |
876 mixin ForwardGtkOsCFunc!(.g_main_context_iteration); | |
877 mixin ForwardGtkOsCFunc!(.g_main_context_pending); | |
878 mixin ForwardGtkOsCFunc!(.g_main_context_get_poll_func); | |
879 mixin ForwardGtkOsCFunc!(.g_main_context_prepare); | |
880 mixin ForwardGtkOsCFunc!(.g_main_context_query); | |
881 mixin ForwardGtkOsCFunc!(.g_main_context_release); | |
882 mixin ForwardGtkOsCFunc!(g_main_context_wakeup); | |
883 mixin ForwardGtkOsCFunc!(.g_filename_to_utf8); | |
884 mixin ForwardGtkOsCFunc!(.g_filename_to_uri); | |
885 mixin ForwardGtkOsCFunc!(.g_filename_from_utf8); | |
886 mixin ForwardGtkOsCFunc!(.g_filename_from_uri); | |
887 mixin ForwardGtkOsCFunc!(.g_free); | |
888 mixin ForwardGtkOsCFunc!(.g_idle_add); | |
889 mixin ForwardGtkOsCFunc!(.g_list_append); | |
30 | 890 //mixin ForwardGtkOsCFunc!(.g_list_data); // macro impl |
8 | 891 mixin ForwardGtkOsCFunc!(.g_list_free); |
892 mixin ForwardGtkOsCFunc!(.g_list_free_1); | |
893 mixin ForwardGtkOsCFunc!(.g_list_length); | |
15
758bbbe4b86a
Fixup gtk bindings; OS.d updates
John Reimer<terminal.node@gmail.com>
parents:
10
diff
changeset
|
894 // mixin ForwardGtkOsCFunc!(.g_list_set_next); |
30 | 895 //mixin ForwardGtkOsCFunc!(.g_list_next); |
8 | 896 mixin ForwardGtkOsCFunc!(.g_list_nth); |
897 mixin ForwardGtkOsCFunc!(.g_list_nth_data); | |
898 mixin ForwardGtkOsCFunc!(.g_list_prepend); | |
15
758bbbe4b86a
Fixup gtk bindings; OS.d updates
John Reimer<terminal.node@gmail.com>
parents:
10
diff
changeset
|
899 // mixin ForwardGtkOsCFunc!(.g_list_set_previous); |
34 | 900 //mixin ForwardGtkOsCFunc!(.g_list_previous); |
8 | 901 mixin ForwardGtkOsCFunc!(.g_list_remove_link); |
902 mixin ForwardGtkOsCFunc!(.g_list_reverse); | |
903 mixin ForwardGtkOsCFunc!(.g_locale_from_utf8); | |
904 mixin ForwardGtkOsCFunc!(.g_locale_to_utf8); | |
905 mixin ForwardGtkOsCFunc!(.g_log_default_handler); | |
906 mixin ForwardGtkOsCFunc!(.g_log_remove_handler); | |
907 mixin ForwardGtkOsCFunc!(.g_log_set_handler); | |
908 mixin ForwardGtkOsCFunc!(.g_malloc); | |
26 | 909 mixin ForwardGtkOsCFunc!(.g_object_get1); |
8 | 910 mixin ForwardGtkOsCFunc!(.g_object_get_qdata); |
911 mixin ForwardGtkOsCFunc!(.g_object_new ); | |
912 mixin ForwardGtkOsCFunc!(.g_object_ref); | |
913 mixin ForwardGtkOsCFunc!(.g_object_set); | |
914 mixin ForwardGtkOsCFunc!(.g_object_set); | |
915 mixin ForwardGtkOsCFunc!(.g_object_set); | |
916 mixin ForwardGtkOsCFunc!(.g_object_set); | |
917 mixin ForwardGtkOsCFunc!(.g_object_set); | |
918 mixin ForwardGtkOsCFunc!(.g_object_set_qdata); | |
919 mixin ForwardGtkOsCFunc!(.g_object_unref); | |
920 mixin ForwardGtkOsCFunc!(.g_quark_from_string); | |
921 mixin ForwardGtkOsCFunc!(.g_set_prgname); | |
40
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
922 //mixin ForwardGtkOsCFunc!(.g_signal_connect); |
8 | 923 mixin ForwardGtkOsCFunc!(.g_signal_connect_closure); |
924 mixin ForwardGtkOsCFunc!(.g_signal_connect_closure_by_id); | |
15
758bbbe4b86a
Fixup gtk bindings; OS.d updates
John Reimer<terminal.node@gmail.com>
parents:
10
diff
changeset
|
925 // mixin ForwardGtkOsCFunc!(.g_signal_connect_after); |
42 | 926 mixin ForwardGtkOsCFunc!(.g_signal_emit_by_name0); |
927 mixin ForwardGtkOsCFunc!(.g_signal_emit_by_name1); | |
928 mixin ForwardGtkOsCFunc!(.g_signal_emit_by_name2); | |
929 mixin ForwardGtkOsCFunc!(.g_signal_emit_by_name3); | |
8 | 930 mixin ForwardGtkOsCFunc!(.g_signal_handler_disconnect); |
931 mixin ForwardGtkOsCFunc!(.g_signal_handlers_block_matched); | |
932 mixin ForwardGtkOsCFunc!(.g_signal_handlers_disconnect_matched); | |
933 mixin ForwardGtkOsCFunc!(.g_signal_handlers_unblock_matched); | |
934 mixin ForwardGtkOsCFunc!(.g_signal_lookup ); | |
935 mixin ForwardGtkOsCFunc!(.g_signal_stop_emission_by_name); | |
936 mixin ForwardGtkOsCFunc!(.g_source_remove ); | |
15
758bbbe4b86a
Fixup gtk bindings; OS.d updates
John Reimer<terminal.node@gmail.com>
parents:
10
diff
changeset
|
937 // mixin ForwardGtkOsCFunc!(.g_slist_data ); |
8 | 938 mixin ForwardGtkOsCFunc!(.g_slist_free ); |
15
758bbbe4b86a
Fixup gtk bindings; OS.d updates
John Reimer<terminal.node@gmail.com>
parents:
10
diff
changeset
|
939 // mixin ForwardGtkOsCFunc!(.g_slist_next ); |
8 | 940 mixin ForwardGtkOsCFunc!(.g_slist_length ); |
941 mixin ForwardGtkOsCFunc!(.g_strfreev); | |
942 mixin ForwardGtkOsCFunc!(.g_strtod); | |
943 mixin ForwardGtkOsCFunc!(.g_type_add_interface_static ); | |
944 mixin ForwardGtkOsCFunc!(.g_type_class_peek ); | |
945 mixin ForwardGtkOsCFunc!(.g_type_class_peek_parent ); | |
946 mixin ForwardGtkOsCFunc!(.g_type_from_name ); | |
947 mixin ForwardGtkOsCFunc!(.g_type_interface_peek_parent ); | |
948 mixin ForwardGtkOsCFunc!(.g_type_is_a ); | |
949 mixin ForwardGtkOsCFunc!(.g_type_name ); | |
950 mixin ForwardGtkOsCFunc!(.g_type_parent ); | |
951 mixin ForwardGtkOsCFunc!(.g_type_query ); | |
952 mixin ForwardGtkOsCFunc!(.g_type_register_static ); | |
953 mixin ForwardGtkOsCFunc!(.g_thread_init); | |
954 mixin ForwardGtkOsCFunc!(.g_thread_supported); | |
955 mixin ForwardGtkOsCFunc!(.g_utf16_to_utf8); | |
956 mixin ForwardGtkOsCFunc!(.g_utf8_offset_to_pointer); | |
957 mixin ForwardGtkOsCFunc!(.g_utf8_pointer_to_offset); | |
958 mixin ForwardGtkOsCFunc!(.g_utf8_strlen); | |
959 mixin ForwardGtkOsCFunc!(.g_utf8_to_utf16); | |
960 mixin ForwardGtkOsCFunc!(.g_utf8_to_utf16); | |
27 | 961 mixin ForwardGtkOsCFunc!(.gdk_atom_intern); |
15
758bbbe4b86a
Fixup gtk bindings; OS.d updates
John Reimer<terminal.node@gmail.com>
parents:
10
diff
changeset
|
962 // mixin ForwardGtkOsCFunc!(.gdk_atom_name); |
8 | 963 mixin ForwardGtkOsCFunc!(.gdk_beep); |
964 mixin ForwardGtkOsCFunc!(.gdk_bitmap_create_from_data); | |
965 mixin ForwardGtkOsCFunc!(.gdk_cairo_region); | |
966 mixin ForwardGtkOsCFunc!(.gdk_cairo_set_source_color); | |
967 mixin ForwardGtkOsCFunc!(.gdk_color_white); | |
968 mixin ForwardGtkOsCFunc!(.gdk_colormap_alloc_color); | |
969 mixin ForwardGtkOsCFunc!(.gdk_colormap_free_colors); | |
970 mixin ForwardGtkOsCFunc!(.gdk_colormap_get_system); | |
971 mixin ForwardGtkOsCFunc!(.gdk_colormap_query_color); | |
20 | 972 mixin ForwardGtkOsCFunc!(.gdk_cursor_destroy); // is alias for gdk_cursor_unref |
8 | 973 mixin ForwardGtkOsCFunc!(.gdk_cursor_new); |
974 mixin ForwardGtkOsCFunc!(.gdk_cursor_new_from_pixmap); | |
975 mixin ForwardGtkOsCFunc!(.gdk_cursor_new_from_pixbuf); | |
976 mixin ForwardGtkOsCFunc!(.gdk_display_get_default); | |
977 mixin ForwardGtkOsCFunc!(.gdk_display_supports_cursor_color); | |
978 mixin ForwardGtkOsCFunc!(.gdk_drag_status); | |
979 mixin ForwardGtkOsCFunc!(.gdk_draw_arc); | |
980 mixin ForwardGtkOsCFunc!(.gdk_draw_drawable); | |
981 mixin ForwardGtkOsCFunc!(.gdk_draw_image); | |
982 mixin ForwardGtkOsCFunc!(.gdk_draw_layout); | |
983 mixin ForwardGtkOsCFunc!(.gdk_draw_layout_with_colors); | |
984 mixin ForwardGtkOsCFunc!(.gdk_draw_line); | |
985 mixin ForwardGtkOsCFunc!(.gdk_draw_lines); | |
986 mixin ForwardGtkOsCFunc!(.gdk_draw_pixbuf); | |
987 mixin ForwardGtkOsCFunc!(.gdk_draw_point); | |
988 mixin ForwardGtkOsCFunc!(.gdk_draw_polygon); | |
989 mixin ForwardGtkOsCFunc!(.gdk_draw_rectangle); | |
990 mixin ForwardGtkOsCFunc!(.gdk_drawable_get_depth); | |
991 mixin ForwardGtkOsCFunc!(.gdk_drawable_get_image); | |
992 mixin ForwardGtkOsCFunc!(.gdk_drawable_get_size); | |
993 mixin ForwardGtkOsCFunc!(.gdk_drawable_get_visible_region); | |
994 mixin ForwardGtkOsCFunc!(.gdk_event_copy); | |
995 mixin ForwardGtkOsCFunc!(.gdk_event_free); | |
996 mixin ForwardGtkOsCFunc!(.gdk_event_get); | |
997 mixin ForwardGtkOsCFunc!(.gdk_event_get_root_coords); | |
998 mixin ForwardGtkOsCFunc!(.gdk_event_get_coords); | |
999 mixin ForwardGtkOsCFunc!(.gdk_event_get_graphics_expose); | |
1000 mixin ForwardGtkOsCFunc!(.gdk_event_get_state); | |
1001 mixin ForwardGtkOsCFunc!(.gdk_event_get_time); | |
1002 mixin ForwardGtkOsCFunc!(.gdk_event_handler_set); | |
1003 mixin ForwardGtkOsCFunc!(.gdk_event_peek); | |
1004 mixin ForwardGtkOsCFunc!(.gdk_event_put); | |
1005 mixin ForwardGtkOsCFunc!(.gdk_error_trap_push); | |
1006 mixin ForwardGtkOsCFunc!(.gdk_error_trap_pop); | |
1007 mixin ForwardGtkOsCFunc!(.gdk_flush); | |
15
758bbbe4b86a
Fixup gtk bindings; OS.d updates
John Reimer<terminal.node@gmail.com>
parents:
10
diff
changeset
|
1008 // mixin ForwardGtkOsCFunc!(.gdk_free_text_list); |
8 | 1009 mixin ForwardGtkOsCFunc!(.gdk_gc_get_values); |
1010 mixin ForwardGtkOsCFunc!(.gdk_gc_new); | |
1011 mixin ForwardGtkOsCFunc!(.gdk_gc_set_background); | |
1012 mixin ForwardGtkOsCFunc!(.gdk_gc_set_clip_mask); | |
1013 mixin ForwardGtkOsCFunc!(.gdk_gc_set_clip_origin); | |
1014 mixin ForwardGtkOsCFunc!(.gdk_gc_set_clip_rectangle); | |
1015 mixin ForwardGtkOsCFunc!(.gdk_gc_set_clip_region); | |
1016 mixin ForwardGtkOsCFunc!(.gdk_gc_set_dashes); | |
1017 mixin ForwardGtkOsCFunc!(.gdk_gc_set_exposures); | |
1018 mixin ForwardGtkOsCFunc!(.gdk_gc_set_fill); | |
1019 mixin ForwardGtkOsCFunc!(.gdk_gc_set_foreground); | |
1020 mixin ForwardGtkOsCFunc!(.gdk_gc_set_function); | |
1021 mixin ForwardGtkOsCFunc!(.gdk_gc_set_line_attributes); | |
1022 mixin ForwardGtkOsCFunc!(.gdk_gc_set_stipple); | |
1023 mixin ForwardGtkOsCFunc!(.gdk_gc_set_subwindow); | |
1024 mixin ForwardGtkOsCFunc!(.gdk_gc_set_tile); | |
1025 mixin ForwardGtkOsCFunc!(.gdk_gc_set_ts_origin); | |
1026 mixin ForwardGtkOsCFunc!(.gdk_gc_set_values); | |
1027 mixin ForwardGtkOsCFunc!(.gdk_keyboard_ungrab); | |
1028 mixin ForwardGtkOsCFunc!(.gdk_keymap_get_default); | |
1029 mixin ForwardGtkOsCFunc!(.gdk_keymap_translate_keyboard_state ); | |
1030 mixin ForwardGtkOsCFunc!(.gdk_keyval_to_lower); | |
1031 mixin ForwardGtkOsCFunc!(.gdk_keyval_to_unicode); | |
19 | 1032 mixin ForwardGtkOsCFunc!(.gdk_pango_context_get); |
24
bc06000c0816
TextLayout and GC, graphics complete
Frank Benoit <benoit@tionex.de>
parents:
20
diff
changeset
|
1033 mixin ForwardGtkOsCFunc!(.gdk_pango_context_set_colormap); |
bc06000c0816
TextLayout and GC, graphics complete
Frank Benoit <benoit@tionex.de>
parents:
20
diff
changeset
|
1034 mixin ForwardGtkOsCFunc!(.gdk_pango_layout_get_clip_region); |
8 | 1035 mixin ForwardGtkOsCFunc!(.gdk_pixbuf_copy_area); |
1036 mixin ForwardGtkOsCFunc!(.gdk_pixbuf_get_from_drawable); | |
1037 mixin ForwardGtkOsCFunc!(.gdk_pixbuf_get_has_alpha); | |
1038 mixin ForwardGtkOsCFunc!(.gdk_pixbuf_get_height); | |
1039 mixin ForwardGtkOsCFunc!(.gdk_pixbuf_get_pixels); | |
1040 mixin ForwardGtkOsCFunc!(.gdk_pixbuf_get_rowstride); | |
1041 mixin ForwardGtkOsCFunc!(.gdk_pixbuf_get_width); | |
18 | 1042 mixin ForwardGtkOsCFunc!(.gdk_pixbuf_new); |
8 | 1043 mixin ForwardGtkOsCFunc!(.gdk_pixbuf_new_from_file); |
1044 mixin ForwardGtkOsCFunc!(.gdk_pixbuf_render_to_drawable); | |
1045 mixin ForwardGtkOsCFunc!(.gdk_pixbuf_render_to_drawable_alpha); | |
1046 mixin ForwardGtkOsCFunc!(.gdk_pixbuf_render_pixmap_and_mask); | |
1047 mixin ForwardGtkOsCFunc!(.gdk_pixbuf_scale); | |
1048 mixin ForwardGtkOsCFunc!(.gdk_pixbuf_scale_simple); | |
1049 mixin ForwardGtkOsCFunc!(.gdk_pixmap_new); | |
1050 mixin ForwardGtkOsCFunc!(.gdk_pointer_grab); | |
1051 mixin ForwardGtkOsCFunc!(.gdk_pointer_is_grabbed); | |
1052 mixin ForwardGtkOsCFunc!(.gdk_pointer_ungrab); | |
27 | 1053 mixin ForwardGtkOsCFunc!(.gdk_property_get); |
8 | 1054 mixin ForwardGtkOsCFunc!(.gdk_region_destroy); |
1055 mixin ForwardGtkOsCFunc!(.gdk_region_empty); | |
1056 mixin ForwardGtkOsCFunc!(.gdk_region_get_clipbox); | |
1057 mixin ForwardGtkOsCFunc!(.gdk_region_get_rectangles); | |
1058 mixin ForwardGtkOsCFunc!(.gdk_region_intersect); | |
1059 mixin ForwardGtkOsCFunc!(.gdk_region_new); | |
1060 mixin ForwardGtkOsCFunc!(.gdk_region_offset); | |
1061 mixin ForwardGtkOsCFunc!(.gdk_region_point_in); | |
1062 mixin ForwardGtkOsCFunc!(.gdk_region_polygon); | |
1063 mixin ForwardGtkOsCFunc!(.gdk_region_rectangle); | |
1064 mixin ForwardGtkOsCFunc!(.gdk_region_rect_in); | |
1065 mixin ForwardGtkOsCFunc!(.gdk_region_subtract); | |
1066 mixin ForwardGtkOsCFunc!(.gdk_region_union); | |
1067 mixin ForwardGtkOsCFunc!(.gdk_region_union_with_rect); | |
1068 mixin ForwardGtkOsCFunc!(.gdk_rgb_init); | |
1069 mixin ForwardGtkOsCFunc!(.gdk_screen_get_default); | |
1070 mixin ForwardGtkOsCFunc!(.gdk_screen_get_monitor_at_point ); | |
1071 mixin ForwardGtkOsCFunc!(.gdk_screen_get_monitor_at_window); | |
1072 mixin ForwardGtkOsCFunc!(.gdk_screen_get_monitor_geometry ); | |
1073 mixin ForwardGtkOsCFunc!(.gdk_screen_get_n_monitors); | |
1074 mixin ForwardGtkOsCFunc!(.gdk_screen_get_number); | |
1075 mixin ForwardGtkOsCFunc!(.gdk_screen_height); | |
1076 mixin ForwardGtkOsCFunc!(.gdk_screen_width); | |
1077 mixin ForwardGtkOsCFunc!(.gdk_screen_width_mm); | |
1078 mixin ForwardGtkOsCFunc!(.gdk_set_program_class); | |
15
758bbbe4b86a
Fixup gtk bindings; OS.d updates
John Reimer<terminal.node@gmail.com>
parents:
10
diff
changeset
|
1079 // mixin ForwardGtkOsCFunc!(.gdk_utf8_to_compound_text); |
758bbbe4b86a
Fixup gtk bindings; OS.d updates
John Reimer<terminal.node@gmail.com>
parents:
10
diff
changeset
|
1080 // mixin ForwardGtkOsCFunc!(.gdk_utf8_to_string_target); |
758bbbe4b86a
Fixup gtk bindings; OS.d updates
John Reimer<terminal.node@gmail.com>
parents:
10
diff
changeset
|
1081 // mixin ForwardGtkOsCFunc!(.gdk_text_property_to_utf8_list ); |
8 | 1082 mixin ForwardGtkOsCFunc!(.gdk_unicode_to_keyval); |
1083 mixin ForwardGtkOsCFunc!(.gdk_visual_get_system); | |
1084 mixin ForwardGtkOsCFunc!(.gdk_window_at_pointer); | |
1085 mixin ForwardGtkOsCFunc!(.gdk_window_begin_paint_rect); | |
1086 mixin ForwardGtkOsCFunc!(.gdk_window_clear_area); | |
1087 mixin ForwardGtkOsCFunc!(.gdk_window_destroy); | |
1088 mixin ForwardGtkOsCFunc!(.gdk_window_end_paint); | |
1089 mixin ForwardGtkOsCFunc!(.gdk_window_get_children); | |
1090 mixin ForwardGtkOsCFunc!(.gdk_window_get_events); | |
1091 mixin ForwardGtkOsCFunc!(.gdk_window_focus); | |
1092 mixin ForwardGtkOsCFunc!(.gdk_window_freeze_updates); | |
1093 mixin ForwardGtkOsCFunc!(.gdk_window_get_frame_extents); | |
1094 mixin ForwardGtkOsCFunc!(.gdk_window_get_internal_paint_info); | |
1095 mixin ForwardGtkOsCFunc!(.gdk_window_get_origin); | |
1096 mixin ForwardGtkOsCFunc!(.gdk_window_get_parent); | |
1097 mixin ForwardGtkOsCFunc!(.gdk_window_get_pointer); | |
1098 mixin ForwardGtkOsCFunc!(.gdk_window_get_position); | |
1099 mixin ForwardGtkOsCFunc!(.gdk_window_get_user_data); | |
1100 mixin ForwardGtkOsCFunc!(.gdk_window_hide); | |
1101 mixin ForwardGtkOsCFunc!(.gdk_window_invalidate_rect); | |
1102 mixin ForwardGtkOsCFunc!(.gdk_window_invalidate_region); | |
1103 mixin ForwardGtkOsCFunc!(.gdk_window_move); | |
1104 mixin ForwardGtkOsCFunc!(.gdk_window_new); | |
1105 mixin ForwardGtkOsCFunc!(.gdk_window_lower); | |
1106 mixin ForwardGtkOsCFunc!(.gdk_window_process_all_updates); | |
1107 mixin ForwardGtkOsCFunc!(.gdk_window_process_updates); | |
1108 mixin ForwardGtkOsCFunc!(.gdk_window_raise); | |
1109 mixin ForwardGtkOsCFunc!(.gdk_window_resize); | |
1110 mixin ForwardGtkOsCFunc!(.gdk_window_scroll); | |
1111 mixin ForwardGtkOsCFunc!(.gdk_window_set_accept_focus); | |
1112 mixin ForwardGtkOsCFunc!(.gdk_window_set_back_pixmap); | |
1113 mixin ForwardGtkOsCFunc!(.gdk_window_set_cursor); | |
1114 mixin ForwardGtkOsCFunc!(.gdk_window_set_debug_updates); | |
1115 mixin ForwardGtkOsCFunc!(.gdk_window_set_decorations); | |
1116 mixin ForwardGtkOsCFunc!(.gdk_window_set_events); | |
1117 mixin ForwardGtkOsCFunc!(.gdk_window_set_icon); | |
1118 mixin ForwardGtkOsCFunc!(.gdk_window_set_icon_list); | |
1119 mixin ForwardGtkOsCFunc!(.gdk_window_set_keep_above); | |
1120 mixin ForwardGtkOsCFunc!(.gdk_window_set_override_redirect); | |
1121 mixin ForwardGtkOsCFunc!(.gdk_window_set_user_data); | |
1122 mixin ForwardGtkOsCFunc!(.gdk_window_shape_combine_region ); | |
1123 mixin ForwardGtkOsCFunc!(.gdk_window_show); | |
1124 mixin ForwardGtkOsCFunc!(.gdk_window_show_unraised); | |
1125 mixin ForwardGtkOsCFunc!(.gdk_window_thaw_updates); | |
1126 mixin ForwardGtkOsCFunc!(.gtk_accel_group_new); | |
1127 mixin ForwardGtkOsCFunc!(.gtk_accel_groups_activate); | |
1128 mixin ForwardGtkOsCFunc!(.gtk_accel_label_set_accel_widget); | |
1129 mixin ForwardGtkOsCFunc!(.gtk_adjustment_changed); | |
1130 mixin ForwardGtkOsCFunc!(.gtk_adjustment_new); | |
1131 mixin ForwardGtkOsCFunc!(.gtk_adjustment_set_value); | |
1132 mixin ForwardGtkOsCFunc!(.gtk_adjustment_value_changed); | |
1133 mixin ForwardGtkOsCFunc!(.gtk_arrow_new); | |
1134 mixin ForwardGtkOsCFunc!(.gtk_arrow_set); | |
1135 mixin ForwardGtkOsCFunc!(.gtk_bin_get_child); | |
1136 mixin ForwardGtkOsCFunc!(.gtk_box_set_spacing); | |
1137 mixin ForwardGtkOsCFunc!(.gtk_box_set_child_packing); | |
1138 mixin ForwardGtkOsCFunc!(.gtk_button_clicked); | |
1139 mixin ForwardGtkOsCFunc!(.gtk_button_get_relief); | |
1140 mixin ForwardGtkOsCFunc!(.gtk_button_new); | |
1141 mixin ForwardGtkOsCFunc!(.gtk_button_set_relief); | |
1142 mixin ForwardGtkOsCFunc!(.gtk_calendar_new); | |
1143 mixin ForwardGtkOsCFunc!(.gtk_calendar_select_month); | |
1144 mixin ForwardGtkOsCFunc!(.gtk_calendar_select_day); | |
1145 mixin ForwardGtkOsCFunc!(.gtk_calendar_set_display_options); | |
1146 mixin ForwardGtkOsCFunc!(.gtk_calendar_display_options); | |
1147 mixin ForwardGtkOsCFunc!(.gtk_calendar_get_date); | |
1148 mixin ForwardGtkOsCFunc!(.gtk_cell_layout_clear); | |
1149 mixin ForwardGtkOsCFunc!(.gtk_cell_layout_set_attributes); | |
1150 mixin ForwardGtkOsCFunc!(.gtk_cell_layout_pack_start); | |
1151 mixin ForwardGtkOsCFunc!(.gtk_cell_renderer_get_size); | |
1152 mixin ForwardGtkOsCFunc!(.gtk_cell_renderer_pixbuf_new); | |
1153 mixin ForwardGtkOsCFunc!(.gtk_cell_renderer_text_new); | |
1154 mixin ForwardGtkOsCFunc!(.gtk_cell_renderer_toggle_new); | |
1155 mixin ForwardGtkOsCFunc!(.gtk_check_button_new); | |
1156 mixin ForwardGtkOsCFunc!(.gtk_check_menu_item_get_active); | |
1157 mixin ForwardGtkOsCFunc!(.gtk_check_menu_item_new_with_label); | |
1158 mixin ForwardGtkOsCFunc!(.gtk_check_menu_item_set_active); | |
1159 mixin ForwardGtkOsCFunc!(.gtk_check_version); | |
1160 mixin ForwardGtkOsCFunc!(.gtk_clipboard_clear); | |
1161 mixin ForwardGtkOsCFunc!(.gtk_clipboard_get); | |
1162 mixin ForwardGtkOsCFunc!(.gtk_clipboard_set_with_data); | |
1163 mixin ForwardGtkOsCFunc!(.gtk_clipboard_wait_for_contents); | |
1164 mixin ForwardGtkOsCFunc!(.gtk_color_selection_dialog_new); | |
1165 mixin ForwardGtkOsCFunc!(.gtk_color_selection_get_current_color); | |
1166 mixin ForwardGtkOsCFunc!(.gtk_color_selection_set_current_color); | |
1167 mixin ForwardGtkOsCFunc!(.gtk_color_selection_set_has_palette); | |
15
758bbbe4b86a
Fixup gtk bindings; OS.d updates
John Reimer<terminal.node@gmail.com>
parents:
10
diff
changeset
|
1168 // mixin ForwardGtkOsCFunc!(.gtk_combo_disable_activate); |
758bbbe4b86a
Fixup gtk bindings; OS.d updates
John Reimer<terminal.node@gmail.com>
parents:
10
diff
changeset
|
1169 // mixin ForwardGtkOsCFunc!(.gtk_combo_new); |
758bbbe4b86a
Fixup gtk bindings; OS.d updates
John Reimer<terminal.node@gmail.com>
parents:
10
diff
changeset
|
1170 // mixin ForwardGtkOsCFunc!(.gtk_combo_set_case_sensitive); |
758bbbe4b86a
Fixup gtk bindings; OS.d updates
John Reimer<terminal.node@gmail.com>
parents:
10
diff
changeset
|
1171 // mixin ForwardGtkOsCFunc!(.gtk_combo_set_popdown_strings); |
8 | 1172 mixin ForwardGtkOsCFunc!(.gtk_combo_box_entry_new_text); |
1173 mixin ForwardGtkOsCFunc!(.gtk_combo_box_new_text); | |
1174 mixin ForwardGtkOsCFunc!(.gtk_combo_box_insert_text); | |
1175 mixin ForwardGtkOsCFunc!(.gtk_combo_box_remove_text); | |
1176 mixin ForwardGtkOsCFunc!(.gtk_combo_box_get_active); | |
1177 mixin ForwardGtkOsCFunc!(.gtk_combo_box_get_model); | |
1178 mixin ForwardGtkOsCFunc!(.gtk_combo_box_set_active); | |
1179 mixin ForwardGtkOsCFunc!(.gtk_combo_box_popup); | |
1180 mixin ForwardGtkOsCFunc!(.gtk_combo_box_popdown); | |
1181 mixin ForwardGtkOsCFunc!(.gtk_container_add); | |
1182 mixin ForwardGtkOsCFunc!(.gtk_container_forall); | |
1183 mixin ForwardGtkOsCFunc!(.gtk_container_get_border_width); | |
1184 mixin ForwardGtkOsCFunc!(.gtk_container_get_children); | |
1185 mixin ForwardGtkOsCFunc!(.gtk_container_remove); | |
1186 mixin ForwardGtkOsCFunc!(.gtk_container_resize_children); | |
1187 mixin ForwardGtkOsCFunc!(.gtk_container_set_border_width); | |
1188 mixin ForwardGtkOsCFunc!(.gtk_dialog_add_button); | |
1189 mixin ForwardGtkOsCFunc!(.gtk_dialog_run); | |
1190 mixin ForwardGtkOsCFunc!(.gtk_drag_begin); | |
1191 mixin ForwardGtkOsCFunc!(.gtk_drag_check_threshold); | |
1192 mixin ForwardGtkOsCFunc!(.gtk_drag_dest_find_target); | |
1193 mixin ForwardGtkOsCFunc!(.gtk_drag_dest_set); | |
1194 mixin ForwardGtkOsCFunc!(.gtk_drag_dest_unset); | |
1195 mixin ForwardGtkOsCFunc!(.gtk_drag_finish); | |
1196 mixin ForwardGtkOsCFunc!(.gtk_drag_get_data); | |
1197 mixin ForwardGtkOsCFunc!(.gtk_drag_set_icon_pixbuf); | |
1198 mixin ForwardGtkOsCFunc!(.gtk_drawing_area_new); | |
1199 mixin ForwardGtkOsCFunc!(.gtk_editable_copy_clipboard); | |
1200 mixin ForwardGtkOsCFunc!(.gtk_editable_cut_clipboard); | |
1201 mixin ForwardGtkOsCFunc!(.gtk_editable_delete_selection); | |
1202 mixin ForwardGtkOsCFunc!(.gtk_editable_delete_text); | |
1203 mixin ForwardGtkOsCFunc!(.gtk_editable_get_chars); | |
1204 mixin ForwardGtkOsCFunc!(.gtk_editable_get_editable); | |
1205 mixin ForwardGtkOsCFunc!(.gtk_editable_get_position); | |
1206 mixin ForwardGtkOsCFunc!(.gtk_editable_get_selection_bounds); | |
1207 mixin ForwardGtkOsCFunc!(.gtk_editable_insert_text); | |
1208 mixin ForwardGtkOsCFunc!(.gtk_editable_paste_clipboard); | |
1209 mixin ForwardGtkOsCFunc!(.gtk_editable_select_region); | |
1210 mixin ForwardGtkOsCFunc!(.gtk_editable_set_editable); | |
1211 mixin ForwardGtkOsCFunc!(.gtk_editable_set_position); | |
1212 mixin ForwardGtkOsCFunc!(.gtk_entry_get_invisible_char); | |
1213 mixin ForwardGtkOsCFunc!(.gtk_entry_get_layout ); | |
1214 mixin ForwardGtkOsCFunc!(.gtk_entry_get_layout_offsets ); | |
1215 mixin ForwardGtkOsCFunc!(.gtk_entry_text_index_to_layout_index ); | |
1216 mixin ForwardGtkOsCFunc!(.gtk_entry_get_max_length); | |
1217 mixin ForwardGtkOsCFunc!(.gtk_entry_get_text); | |
19 | 1218 mixin ForwardGtkOsCFunc!(.FcConfigAppFontAddFile); |
8 | 1219 mixin ForwardGtkOsCFunc!(.gtk_entry_get_visibility); |
1220 mixin ForwardGtkOsCFunc!(.gtk_entry_new); | |
1221 mixin ForwardGtkOsCFunc!(.gtk_entry_set_activates_default); | |
1222 mixin ForwardGtkOsCFunc!(.gtk_entry_set_alignment); | |
1223 mixin ForwardGtkOsCFunc!(.gtk_entry_set_has_frame); | |
1224 mixin ForwardGtkOsCFunc!(.gtk_entry_set_invisible_char); | |
1225 mixin ForwardGtkOsCFunc!(.gtk_entry_set_max_length); | |
1226 mixin ForwardGtkOsCFunc!(.gtk_entry_set_text); | |
1227 mixin ForwardGtkOsCFunc!(.gtk_entry_set_visibility); | |
15
758bbbe4b86a
Fixup gtk bindings; OS.d updates
John Reimer<terminal.node@gmail.com>
parents:
10
diff
changeset
|
1228 |
8 | 1229 mixin ForwardGtkOsCFunc!(.gtk_events_pending); |
1230 mixin ForwardGtkOsCFunc!(.gtk_expander_get_expanded); | |
1231 mixin ForwardGtkOsCFunc!(.gtk_expander_get_label_widget); | |
1232 mixin ForwardGtkOsCFunc!(.gtk_expander_new); | |
1233 mixin ForwardGtkOsCFunc!(.gtk_expander_set_expanded); | |
1234 mixin ForwardGtkOsCFunc!(.gtk_expander_set_label); | |
1235 mixin ForwardGtkOsCFunc!(.gtk_expander_set_label_widget); | |
1236 mixin ForwardGtkOsCFunc!(.gtk_file_chooser_add_filter); | |
1237 mixin ForwardGtkOsCFunc!(.gtk_file_chooser_dialog_new); | |
1238 mixin ForwardGtkOsCFunc!(.gtk_file_chooser_get_current_folder); | |
1239 mixin ForwardGtkOsCFunc!(.gtk_file_chooser_get_filename); | |
1240 mixin ForwardGtkOsCFunc!(.gtk_file_chooser_get_filenames); | |
1241 mixin ForwardGtkOsCFunc!(.gtk_file_chooser_set_current_folder); | |
1242 mixin ForwardGtkOsCFunc!(.gtk_file_chooser_set_current_name); | |
1243 mixin ForwardGtkOsCFunc!(.gtk_file_chooser_set_extra_widget); | |
1244 mixin ForwardGtkOsCFunc!(.gtk_file_chooser_set_filename); | |
1245 mixin ForwardGtkOsCFunc!(.gtk_file_chooser_set_select_multiple); | |
1246 mixin ForwardGtkOsCFunc!(.gtk_file_filter_add_pattern); | |
1247 mixin ForwardGtkOsCFunc!(.gtk_file_filter_new); | |
1248 mixin ForwardGtkOsCFunc!(.gtk_file_filter_set_name); | |
1249 mixin ForwardGtkOsCFunc!(.gtk_file_selection_get_filename); | |
1250 mixin ForwardGtkOsCFunc!(.gtk_file_selection_get_selections); | |
1251 mixin ForwardGtkOsCFunc!(.gtk_file_selection_hide_fileop_buttons); | |
1252 mixin ForwardGtkOsCFunc!(.gtk_file_selection_new); | |
1253 mixin ForwardGtkOsCFunc!(.gtk_file_selection_set_filename); | |
1254 mixin ForwardGtkOsCFunc!(.gtk_file_selection_set_select_multiple); | |
1255 mixin ForwardGtkOsCFunc!(.gtk_fixed_move); | |
1256 mixin ForwardGtkOsCFunc!(.gtk_fixed_new); | |
1257 mixin ForwardGtkOsCFunc!(.gtk_fixed_set_has_window); | |
1258 mixin ForwardGtkOsCFunc!(.gtk_font_selection_dialog_get_font_name); | |
1259 mixin ForwardGtkOsCFunc!(.gtk_font_selection_dialog_new); | |
1260 mixin ForwardGtkOsCFunc!(.gtk_font_selection_dialog_set_font_name); | |
1261 mixin ForwardGtkOsCFunc!(.gtk_frame_new); | |
1262 mixin ForwardGtkOsCFunc!(.gtk_frame_get_label_widget); | |
1263 mixin ForwardGtkOsCFunc!(.gtk_frame_set_label); | |
1264 mixin ForwardGtkOsCFunc!(.gtk_frame_set_label_widget); | |
1265 mixin ForwardGtkOsCFunc!(.gtk_frame_set_shadow_type); | |
1266 mixin ForwardGtkOsCFunc!(.gtk_get_current_event); | |
1267 mixin ForwardGtkOsCFunc!(.gtk_get_current_event_state ); | |
1268 mixin ForwardGtkOsCFunc!(.gtk_get_current_event_time); | |
1269 mixin ForwardGtkOsCFunc!(.gtk_get_default_language); | |
1270 mixin ForwardGtkOsCFunc!(.gtk_get_event_widget); | |
1271 mixin ForwardGtkOsCFunc!(.gtk_grab_add); | |
1272 mixin ForwardGtkOsCFunc!(.gtk_grab_get_current); | |
1273 mixin ForwardGtkOsCFunc!(.gtk_grab_remove); | |
1274 mixin ForwardGtkOsCFunc!(.gtk_hbox_new); | |
1275 mixin ForwardGtkOsCFunc!(.gtk_hscale_new); | |
1276 mixin ForwardGtkOsCFunc!(.gtk_hscrollbar_new); | |
1277 mixin ForwardGtkOsCFunc!(.gtk_hseparator_new); | |
1278 mixin ForwardGtkOsCFunc!(.gtk_icon_factory_lookup_default); | |
1279 mixin ForwardGtkOsCFunc!(.gtk_icon_source_free); | |
1280 mixin ForwardGtkOsCFunc!(.gtk_icon_source_new); | |
1281 mixin ForwardGtkOsCFunc!(.gtk_icon_source_set_pixbuf); | |
1282 mixin ForwardGtkOsCFunc!(.gtk_icon_set_render_icon); | |
1283 mixin ForwardGtkOsCFunc!(.gtk_im_context_filter_keypress); | |
1284 mixin ForwardGtkOsCFunc!(.gtk_im_context_focus_in); | |
1285 mixin ForwardGtkOsCFunc!(.gtk_im_context_focus_out); | |
1286 mixin ForwardGtkOsCFunc!(.gtk_im_context_get_preedit_string); | |
15
758bbbe4b86a
Fixup gtk bindings; OS.d updates
John Reimer<terminal.node@gmail.com>
parents:
10
diff
changeset
|
1287 // mixin ForwardGtkOsCFunc!(.gtk_im_context_get_type); |
8 | 1288 mixin ForwardGtkOsCFunc!(.gtk_im_context_reset); |
1289 mixin ForwardGtkOsCFunc!(.gtk_im_context_set_client_window); | |
1290 mixin ForwardGtkOsCFunc!(.gtk_im_context_set_cursor_location); | |
1291 mixin ForwardGtkOsCFunc!(.gtk_im_multicontext_append_menuitems ); | |
1292 mixin ForwardGtkOsCFunc!(.gtk_im_multicontext_new); | |
1293 mixin ForwardGtkOsCFunc!(.gtk_image_menu_item_new_with_label); | |
1294 mixin ForwardGtkOsCFunc!(.gtk_image_menu_item_set_image); | |
1295 mixin ForwardGtkOsCFunc!(.gtk_image_new); | |
1296 mixin ForwardGtkOsCFunc!(.gtk_image_new_from_pixbuf); | |
1297 mixin ForwardGtkOsCFunc!(.gtk_image_new_from_pixmap); | |
1298 mixin ForwardGtkOsCFunc!(.gtk_image_set_from_pixbuf); | |
1299 mixin ForwardGtkOsCFunc!(.gtk_image_set_from_pixmap); | |
1300 mixin ForwardGtkOsCFunc!(.gtk_init_check); | |
1301 mixin ForwardGtkOsCFunc!(.gtk_label_get_layout); | |
1302 mixin ForwardGtkOsCFunc!(.gtk_label_get_mnemonic_keyval); | |
1303 mixin ForwardGtkOsCFunc!(.gtk_label_new); | |
1304 mixin ForwardGtkOsCFunc!(.gtk_label_new_with_mnemonic); | |
1305 mixin ForwardGtkOsCFunc!(.gtk_label_set_attributes); | |
1306 mixin ForwardGtkOsCFunc!(.gtk_label_set_justify); | |
1307 mixin ForwardGtkOsCFunc!(.gtk_label_set_line_wrap); | |
1308 mixin ForwardGtkOsCFunc!(.gtk_label_set_text); | |
1309 mixin ForwardGtkOsCFunc!(.gtk_label_set_text_with_mnemonic); | |
15
758bbbe4b86a
Fixup gtk bindings; OS.d updates
John Reimer<terminal.node@gmail.com>
parents:
10
diff
changeset
|
1310 // mixin ForwardGtkOsCFunc!(.gtk_list_append_items); |
758bbbe4b86a
Fixup gtk bindings; OS.d updates
John Reimer<terminal.node@gmail.com>
parents:
10
diff
changeset
|
1311 // mixin ForwardGtkOsCFunc!(.gtk_list_clear_items); |
758bbbe4b86a
Fixup gtk bindings; OS.d updates
John Reimer<terminal.node@gmail.com>
parents:
10
diff
changeset
|
1312 // mixin ForwardGtkOsCFunc!(.gtk_list_insert_items); |
758bbbe4b86a
Fixup gtk bindings; OS.d updates
John Reimer<terminal.node@gmail.com>
parents:
10
diff
changeset
|
1313 // mixin ForwardGtkOsCFunc!(.gtk_list_item_new_with_label); |
758bbbe4b86a
Fixup gtk bindings; OS.d updates
John Reimer<terminal.node@gmail.com>
parents:
10
diff
changeset
|
1314 // mixin ForwardGtkOsCFunc!(.gtk_list_remove_items); |
758bbbe4b86a
Fixup gtk bindings; OS.d updates
John Reimer<terminal.node@gmail.com>
parents:
10
diff
changeset
|
1315 // mixin ForwardGtkOsCFunc!(.gtk_list_select_item); |
758bbbe4b86a
Fixup gtk bindings; OS.d updates
John Reimer<terminal.node@gmail.com>
parents:
10
diff
changeset
|
1316 // mixin ForwardGtkOsCFunc!(.gtk_list_unselect_all); |
758bbbe4b86a
Fixup gtk bindings; OS.d updates
John Reimer<terminal.node@gmail.com>
parents:
10
diff
changeset
|
1317 // mixin ForwardGtkOsCFunc!(.gtk_list_unselect_item); |
8 | 1318 mixin ForwardGtkOsCFunc!(.gtk_list_store_append); |
1319 mixin ForwardGtkOsCFunc!(.gtk_list_store_clear); | |
1320 mixin ForwardGtkOsCFunc!(.gtk_list_store_insert); | |
1321 mixin ForwardGtkOsCFunc!(.gtk_list_store_newv); | |
1322 mixin ForwardGtkOsCFunc!(.gtk_list_store_remove); | |
1323 mixin ForwardGtkOsCFunc!(.gtk_list_store_set); | |
1324 mixin ForwardGtkOsCFunc!(.gtk_list_store_set); | |
1325 mixin ForwardGtkOsCFunc!(.gtk_list_store_set); | |
1326 mixin ForwardGtkOsCFunc!(.gtk_list_store_set); | |
1327 mixin ForwardGtkOsCFunc!(.gtk_list_store_set); | |
15
758bbbe4b86a
Fixup gtk bindings; OS.d updates
John Reimer<terminal.node@gmail.com>
parents:
10
diff
changeset
|
1328 // mixin ForwardGtkOsCFunc!(.gtk_major_version); |
758bbbe4b86a
Fixup gtk bindings; OS.d updates
John Reimer<terminal.node@gmail.com>
parents:
10
diff
changeset
|
1329 // mixin ForwardGtkOsCFunc!(.gtk_minor_version); |
758bbbe4b86a
Fixup gtk bindings; OS.d updates
John Reimer<terminal.node@gmail.com>
parents:
10
diff
changeset
|
1330 // mixin ForwardGtkOsCFunc!(.gtk_micro_version); |
8 | 1331 mixin ForwardGtkOsCFunc!(.gtk_main); |
1332 mixin ForwardGtkOsCFunc!(.gtk_main_iteration); | |
1333 mixin ForwardGtkOsCFunc!(.gtk_main_do_event); | |
1334 mixin ForwardGtkOsCFunc!(.gtk_menu_bar_new); | |
1335 mixin ForwardGtkOsCFunc!(.gtk_menu_item_remove_submenu); | |
1336 mixin ForwardGtkOsCFunc!(.gtk_menu_item_set_submenu); | |
1337 mixin ForwardGtkOsCFunc!(.gtk_menu_new); | |
1338 mixin ForwardGtkOsCFunc!(.gtk_menu_popdown); | |
1339 mixin ForwardGtkOsCFunc!(.gtk_menu_popup); | |
1340 mixin ForwardGtkOsCFunc!(.gtk_menu_shell_deactivate); | |
1341 mixin ForwardGtkOsCFunc!(.gtk_menu_shell_insert); | |
1342 mixin ForwardGtkOsCFunc!(.gtk_menu_shell_select_item); | |
1343 mixin ForwardGtkOsCFunc!(.gtk_menu_shell_set_take_focus); | |
1344 mixin ForwardGtkOsCFunc!(.gtk_message_dialog_new); | |
1345 mixin ForwardGtkOsCFunc!(.gtk_misc_set_alignment); | |
1346 mixin ForwardGtkOsCFunc!(.gtk_notebook_get_current_page); | |
1347 mixin ForwardGtkOsCFunc!(.gtk_notebook_get_scrollable); | |
1348 mixin ForwardGtkOsCFunc!(.gtk_notebook_insert_page); | |
1349 mixin ForwardGtkOsCFunc!(.gtk_notebook_new); | |
1350 mixin ForwardGtkOsCFunc!(.gtk_notebook_next_page); | |
1351 mixin ForwardGtkOsCFunc!(.gtk_notebook_prev_page); | |
1352 mixin ForwardGtkOsCFunc!(.gtk_notebook_remove_page); | |
1353 mixin ForwardGtkOsCFunc!(.gtk_notebook_set_current_page); | |
1354 mixin ForwardGtkOsCFunc!(.gtk_notebook_set_scrollable); | |
1355 mixin ForwardGtkOsCFunc!(.gtk_notebook_set_show_tabs); | |
1356 mixin ForwardGtkOsCFunc!(.gtk_notebook_set_tab_pos); | |
1357 mixin ForwardGtkOsCFunc!(.gtk_object_sink); | |
1358 mixin ForwardGtkOsCFunc!(.gtk_page_setup_new ); | |
1359 mixin ForwardGtkOsCFunc!(.gtk_page_setup_get_orientation); | |
1360 mixin ForwardGtkOsCFunc!(.gtk_page_setup_set_orientation); | |
1361 mixin ForwardGtkOsCFunc!(.gtk_page_setup_get_paper_size); | |
1362 mixin ForwardGtkOsCFunc!(.gtk_page_setup_set_paper_size); | |
1363 mixin ForwardGtkOsCFunc!(.gtk_page_setup_get_top_margin); | |
1364 mixin ForwardGtkOsCFunc!(.gtk_page_setup_set_top_margin); | |
1365 mixin ForwardGtkOsCFunc!(.gtk_page_setup_get_bottom_margin); | |
1366 mixin ForwardGtkOsCFunc!(.gtk_page_setup_set_bottom_margin); | |
1367 mixin ForwardGtkOsCFunc!(.gtk_page_setup_get_left_margin); | |
1368 mixin ForwardGtkOsCFunc!(.gtk_page_setup_set_left_margin); | |
1369 mixin ForwardGtkOsCFunc!(.gtk_page_setup_get_right_margin); | |
1370 mixin ForwardGtkOsCFunc!(.gtk_page_setup_set_right_margin); | |
1371 mixin ForwardGtkOsCFunc!(.gtk_page_setup_get_paper_width); | |
1372 mixin ForwardGtkOsCFunc!(.gtk_page_setup_get_paper_height); | |
1373 mixin ForwardGtkOsCFunc!(.gtk_page_setup_get_page_width); | |
1374 mixin ForwardGtkOsCFunc!(.gtk_page_setup_get_page_height); | |
1375 mixin ForwardGtkOsCFunc!(.gtk_paint_handle); | |
1376 mixin ForwardGtkOsCFunc!(.gtk_paint_flat_box); | |
1377 mixin ForwardGtkOsCFunc!(.gtk_paint_focus); | |
1378 mixin ForwardGtkOsCFunc!(.gtk_paint_option); | |
1379 mixin ForwardGtkOsCFunc!(.gtk_paint_slider); | |
1380 mixin ForwardGtkOsCFunc!(.gtk_paint_tab); | |
1381 mixin ForwardGtkOsCFunc!(.gtk_paint_arrow); | |
1382 mixin ForwardGtkOsCFunc!(.gtk_paint_box); | |
1383 mixin ForwardGtkOsCFunc!(.gtk_paint_box_gap); | |
1384 mixin ForwardGtkOsCFunc!(.gtk_paint_check); | |
1385 mixin ForwardGtkOsCFunc!(.gtk_paint_expander); | |
1386 mixin ForwardGtkOsCFunc!(.gtk_paint_extension); | |
1387 mixin ForwardGtkOsCFunc!(.gtk_paint_hline); | |
1388 mixin ForwardGtkOsCFunc!(.gtk_paint_layout); | |
1389 mixin ForwardGtkOsCFunc!(.gtk_paint_shadow_gap); | |
1390 mixin ForwardGtkOsCFunc!(.gtk_paint_shadow); | |
1391 mixin ForwardGtkOsCFunc!(.gtk_paint_vline); | |
1392 mixin ForwardGtkOsCFunc!(.gtk_paper_size_new); | |
1393 mixin ForwardGtkOsCFunc!(.gtk_paper_size_new_from_ppd); | |
1394 mixin ForwardGtkOsCFunc!(.gtk_paper_size_new_custom); | |
1395 mixin ForwardGtkOsCFunc!(.gtk_paper_size_get_name); | |
1396 mixin ForwardGtkOsCFunc!(.gtk_paper_size_get_display_name); | |
1397 mixin ForwardGtkOsCFunc!(.gtk_paper_size_get_ppd_name); | |
1398 mixin ForwardGtkOsCFunc!(.gtk_paper_size_get_width); | |
1399 mixin ForwardGtkOsCFunc!(.gtk_paper_size_get_height); | |
1400 mixin ForwardGtkOsCFunc!(.gtk_paper_size_is_custom); | |
1401 mixin ForwardGtkOsCFunc!(.gtk_plug_get_id); | |
1402 mixin ForwardGtkOsCFunc!(.gtk_plug_new); | |
1403 mixin ForwardGtkOsCFunc!(.gtk_printer_get_backend); | |
1404 mixin ForwardGtkOsCFunc!(.gtk_printer_get_name); | |
1405 mixin ForwardGtkOsCFunc!(.gtk_printer_is_default); | |
1406 mixin ForwardGtkOsCFunc!(.gtk_enumerate_printers); | |
1407 mixin ForwardGtkOsCFunc!(.gtk_print_job_new); | |
1408 mixin ForwardGtkOsCFunc!(.gtk_print_job_get_settings); | |
1409 mixin ForwardGtkOsCFunc!(.gtk_print_job_get_printer); | |
1410 mixin ForwardGtkOsCFunc!(.gtk_print_job_get_title); | |
1411 mixin ForwardGtkOsCFunc!(.gtk_print_job_get_status); | |
1412 mixin ForwardGtkOsCFunc!(.gtk_print_job_set_source_file); | |
1413 mixin ForwardGtkOsCFunc!(.gtk_print_job_get_surface); | |
1414 mixin ForwardGtkOsCFunc!(.gtk_print_job_send); | |
1415 mixin ForwardGtkOsCFunc!(.gtk_print_settings_new); | |
1416 mixin ForwardGtkOsCFunc!(.gtk_print_settings_foreach); | |
1417 mixin ForwardGtkOsCFunc!(.gtk_print_settings_get); | |
1418 mixin ForwardGtkOsCFunc!(.gtk_print_settings_set); | |
1419 mixin ForwardGtkOsCFunc!(.gtk_print_settings_get_printer); | |
1420 mixin ForwardGtkOsCFunc!(.gtk_print_settings_set_printer); | |
1421 mixin ForwardGtkOsCFunc!(.gtk_print_settings_get_orientation); | |
1422 mixin ForwardGtkOsCFunc!(.gtk_print_settings_set_orientation); | |
1423 mixin ForwardGtkOsCFunc!(.gtk_print_settings_get_collate); | |
1424 mixin ForwardGtkOsCFunc!(.gtk_print_settings_set_collate); | |
1425 mixin ForwardGtkOsCFunc!(.gtk_print_settings_get_n_copies); | |
1426 mixin ForwardGtkOsCFunc!(.gtk_print_settings_set_n_copies); | |
1427 mixin ForwardGtkOsCFunc!(.gtk_print_settings_get_print_pages); | |
1428 mixin ForwardGtkOsCFunc!(.gtk_print_settings_set_print_pages); | |
1429 mixin ForwardGtkOsCFunc!(.gtk_print_settings_get_page_ranges); | |
1430 mixin ForwardGtkOsCFunc!(.gtk_print_settings_set_page_ranges); | |
1431 mixin ForwardGtkOsCFunc!(.gtk_print_settings_get_paper_width); | |
1432 mixin ForwardGtkOsCFunc!(.gtk_print_settings_get_paper_height); | |
1433 mixin ForwardGtkOsCFunc!(.gtk_print_settings_get_resolution); | |
1434 mixin ForwardGtkOsCFunc!(.gtk_print_unix_dialog_new); | |
1435 mixin ForwardGtkOsCFunc!(.gtk_print_unix_dialog_set_page_setup); | |
1436 mixin ForwardGtkOsCFunc!(.gtk_print_unix_dialog_get_page_setup); | |
1437 mixin ForwardGtkOsCFunc!(.gtk_print_unix_dialog_set_current_page); | |
1438 mixin ForwardGtkOsCFunc!(.gtk_print_unix_dialog_get_current_page); | |
1439 mixin ForwardGtkOsCFunc!(.gtk_print_unix_dialog_set_settings); | |
1440 mixin ForwardGtkOsCFunc!(.gtk_print_unix_dialog_get_settings); | |
1441 mixin ForwardGtkOsCFunc!(.gtk_print_unix_dialog_get_selected_printer); | |
1442 mixin ForwardGtkOsCFunc!(.gtk_print_unix_dialog_set_manual_capabilities); | |
1443 mixin ForwardGtkOsCFunc!(.gtk_progress_bar_new); | |
1444 mixin ForwardGtkOsCFunc!(.gtk_progress_bar_pulse); | |
1445 mixin ForwardGtkOsCFunc!(.gtk_progress_bar_set_fraction); | |
1446 mixin ForwardGtkOsCFunc!(.gtk_progress_bar_set_orientation); | |
1447 mixin ForwardGtkOsCFunc!(.gtk_radio_button_get_group); | |
1448 mixin ForwardGtkOsCFunc!(.gtk_radio_button_new); | |
1449 mixin ForwardGtkOsCFunc!(.gtk_radio_menu_item_get_group); | |
1450 mixin ForwardGtkOsCFunc!(.gtk_radio_menu_item_new); | |
1451 mixin ForwardGtkOsCFunc!(.gtk_radio_menu_item_new_with_label); | |
1452 mixin ForwardGtkOsCFunc!(.gtk_range_get_adjustment); | |
1453 mixin ForwardGtkOsCFunc!(.gtk_range_set_increments); | |
1454 mixin ForwardGtkOsCFunc!(.gtk_range_set_inverted); | |
1455 mixin ForwardGtkOsCFunc!(.gtk_range_set_range); | |
1456 mixin ForwardGtkOsCFunc!(.gtk_range_set_value); | |
1457 mixin ForwardGtkOsCFunc!(.gtk_rc_parse_string); | |
15
758bbbe4b86a
Fixup gtk bindings; OS.d updates
John Reimer<terminal.node@gmail.com>
parents:
10
diff
changeset
|
1458 // mixin ForwardGtkOsCFunc!(.gtk_rc_style_get_bg_pixmap_name); |
758bbbe4b86a
Fixup gtk bindings; OS.d updates
John Reimer<terminal.node@gmail.com>
parents:
10
diff
changeset
|
1459 // mixin ForwardGtkOsCFunc!(.gtk_rc_style_get_color_flags); |
758bbbe4b86a
Fixup gtk bindings; OS.d updates
John Reimer<terminal.node@gmail.com>
parents:
10
diff
changeset
|
1460 // mixin ForwardGtkOsCFunc!(.gtk_rc_style_set_bg); |
758bbbe4b86a
Fixup gtk bindings; OS.d updates
John Reimer<terminal.node@gmail.com>
parents:
10
diff
changeset
|
1461 // mixin ForwardGtkOsCFunc!(.gtk_rc_style_set_bg_pixmap_name); |
758bbbe4b86a
Fixup gtk bindings; OS.d updates
John Reimer<terminal.node@gmail.com>
parents:
10
diff
changeset
|
1462 // mixin ForwardGtkOsCFunc!(.gtk_rc_style_set_color_flags); |
8 | 1463 mixin ForwardGtkOsCFunc!(.gtk_scale_set_digits); |
1464 mixin ForwardGtkOsCFunc!(.gtk_scale_set_draw_value); | |
15
758bbbe4b86a
Fixup gtk bindings; OS.d updates
John Reimer<terminal.node@gmail.com>
parents:
10
diff
changeset
|
1465 // mixin ForwardGtkOsCFunc!(.gtk_rc_style_set_fg); |
758bbbe4b86a
Fixup gtk bindings; OS.d updates
John Reimer<terminal.node@gmail.com>
parents:
10
diff
changeset
|
1466 // mixin ForwardGtkOsCFunc!(.gtk_rc_style_set_text); |
8 | 1467 mixin ForwardGtkOsCFunc!(.gtk_scrolled_window_add_with_viewport); |
1468 mixin ForwardGtkOsCFunc!(.gtk_scrolled_window_get_hadjustment); | |
1469 mixin ForwardGtkOsCFunc!(.gtk_scrolled_window_get_policy); | |
1470 mixin ForwardGtkOsCFunc!(.gtk_scrolled_window_get_shadow_type); | |
1471 mixin ForwardGtkOsCFunc!(.gtk_scrolled_window_get_vadjustment); | |
1472 mixin ForwardGtkOsCFunc!(.gtk_scrolled_window_new); | |
1473 mixin ForwardGtkOsCFunc!(.gtk_scrolled_window_set_placement); | |
1474 mixin ForwardGtkOsCFunc!(.gtk_scrolled_window_set_policy); | |
1475 mixin ForwardGtkOsCFunc!(.gtk_scrolled_window_set_shadow_type); | |
1476 mixin ForwardGtkOsCFunc!(.gtk_settings_get_default); | |
1477 mixin ForwardGtkOsCFunc!(.gtk_selection_data_free); | |
1478 mixin ForwardGtkOsCFunc!(.gtk_selection_data_set); | |
1479 mixin ForwardGtkOsCFunc!(.gtk_separator_menu_item_new); | |
1480 mixin ForwardGtkOsCFunc!(.gtk_set_locale); | |
1481 mixin ForwardGtkOsCFunc!(.gtk_socket_get_id); | |
1482 mixin ForwardGtkOsCFunc!(.gtk_socket_new); | |
1483 mixin ForwardGtkOsCFunc!(.gtk_spin_button_new); | |
1484 mixin ForwardGtkOsCFunc!(.gtk_spin_button_get_adjustment); | |
1485 mixin ForwardGtkOsCFunc!(.gtk_spin_button_get_digits); | |
1486 mixin ForwardGtkOsCFunc!(.gtk_spin_button_set_digits); | |
1487 mixin ForwardGtkOsCFunc!(.gtk_spin_button_set_increments); | |
1488 mixin ForwardGtkOsCFunc!(.gtk_spin_button_set_range); | |
1489 mixin ForwardGtkOsCFunc!(.gtk_spin_button_set_value); | |
1490 mixin ForwardGtkOsCFunc!(.gtk_spin_button_set_wrap); | |
1491 mixin ForwardGtkOsCFunc!(.gtk_spin_button_update); | |
15
758bbbe4b86a
Fixup gtk bindings; OS.d updates
John Reimer<terminal.node@gmail.com>
parents:
10
diff
changeset
|
1492 // mixin ForwardGtkOsCFunc!(.gtk_style_get_base); |
758bbbe4b86a
Fixup gtk bindings; OS.d updates
John Reimer<terminal.node@gmail.com>
parents:
10
diff
changeset
|
1493 // mixin ForwardGtkOsCFunc!(.gtk_style_get_black); |
758bbbe4b86a
Fixup gtk bindings; OS.d updates
John Reimer<terminal.node@gmail.com>
parents:
10
diff
changeset
|
1494 // mixin ForwardGtkOsCFunc!(.gtk_style_get_bg); |
758bbbe4b86a
Fixup gtk bindings; OS.d updates
John Reimer<terminal.node@gmail.com>
parents:
10
diff
changeset
|
1495 // mixin ForwardGtkOsCFunc!(.gtk_style_get_dark); |
758bbbe4b86a
Fixup gtk bindings; OS.d updates
John Reimer<terminal.node@gmail.com>
parents:
10
diff
changeset
|
1496 // mixin ForwardGtkOsCFunc!(.gtk_style_get_fg); |
758bbbe4b86a
Fixup gtk bindings; OS.d updates
John Reimer<terminal.node@gmail.com>
parents:
10
diff
changeset
|
1497 // mixin ForwardGtkOsCFunc!(.gtk_style_get_fg_gc); |
758bbbe4b86a
Fixup gtk bindings; OS.d updates
John Reimer<terminal.node@gmail.com>
parents:
10
diff
changeset
|
1498 // mixin ForwardGtkOsCFunc!(.gtk_style_get_bg_gc); |
758bbbe4b86a
Fixup gtk bindings; OS.d updates
John Reimer<terminal.node@gmail.com>
parents:
10
diff
changeset
|
1499 // mixin ForwardGtkOsCFunc!(.gtk_style_get_light_gc); |
758bbbe4b86a
Fixup gtk bindings; OS.d updates
John Reimer<terminal.node@gmail.com>
parents:
10
diff
changeset
|
1500 // mixin ForwardGtkOsCFunc!(.gtk_style_get_dark_gc); |
758bbbe4b86a
Fixup gtk bindings; OS.d updates
John Reimer<terminal.node@gmail.com>
parents:
10
diff
changeset
|
1501 // mixin ForwardGtkOsCFunc!(.gtk_style_get_mid_gc); |
758bbbe4b86a
Fixup gtk bindings; OS.d updates
John Reimer<terminal.node@gmail.com>
parents:
10
diff
changeset
|
1502 // mixin ForwardGtkOsCFunc!(.gtk_style_get_text_gc); |
758bbbe4b86a
Fixup gtk bindings; OS.d updates
John Reimer<terminal.node@gmail.com>
parents:
10
diff
changeset
|
1503 // mixin ForwardGtkOsCFunc!(.gtk_style_get_text_aa_gc); |
758bbbe4b86a
Fixup gtk bindings; OS.d updates
John Reimer<terminal.node@gmail.com>
parents:
10
diff
changeset
|
1504 // mixin ForwardGtkOsCFunc!(.gtk_style_get_black_gc); |
758bbbe4b86a
Fixup gtk bindings; OS.d updates
John Reimer<terminal.node@gmail.com>
parents:
10
diff
changeset
|
1505 // mixin ForwardGtkOsCFunc!(.gtk_style_get_white_gc); |
758bbbe4b86a
Fixup gtk bindings; OS.d updates
John Reimer<terminal.node@gmail.com>
parents:
10
diff
changeset
|
1506 // mixin ForwardGtkOsCFunc!(.gtk_style_get_font_desc); |
758bbbe4b86a
Fixup gtk bindings; OS.d updates
John Reimer<terminal.node@gmail.com>
parents:
10
diff
changeset
|
1507 // mixin ForwardGtkOsCFunc!(.gtk_style_get_light); |
758bbbe4b86a
Fixup gtk bindings; OS.d updates
John Reimer<terminal.node@gmail.com>
parents:
10
diff
changeset
|
1508 // mixin ForwardGtkOsCFunc!(.gtk_style_get_text); |
758bbbe4b86a
Fixup gtk bindings; OS.d updates
John Reimer<terminal.node@gmail.com>
parents:
10
diff
changeset
|
1509 // mixin ForwardGtkOsCFunc!(.gtk_style_get_xthickness); |
758bbbe4b86a
Fixup gtk bindings; OS.d updates
John Reimer<terminal.node@gmail.com>
parents:
10
diff
changeset
|
1510 // mixin ForwardGtkOsCFunc!(.gtk_style_get_ythickness); |
8 | 1511 mixin ForwardGtkOsCFunc!(.gtk_style_render_icon); |
1512 mixin ForwardGtkOsCFunc!(.gtk_target_list_new); | |
1513 mixin ForwardGtkOsCFunc!(.gtk_target_list_unref); | |
1514 mixin ForwardGtkOsCFunc!(.gtk_text_buffer_copy_clipboard); | |
1515 mixin ForwardGtkOsCFunc!(.gtk_text_buffer_cut_clipboard); | |
1516 mixin ForwardGtkOsCFunc!(.gtk_text_buffer_delete); | |
1517 mixin ForwardGtkOsCFunc!(.gtk_text_buffer_get_bounds); | |
1518 mixin ForwardGtkOsCFunc!(.gtk_text_buffer_get_char_count); | |
1519 mixin ForwardGtkOsCFunc!(.gtk_text_buffer_get_end_iter); | |
1520 mixin ForwardGtkOsCFunc!(.gtk_text_buffer_get_insert); | |
1521 mixin ForwardGtkOsCFunc!(.gtk_text_buffer_get_iter_at_line); | |
1522 mixin ForwardGtkOsCFunc!(.gtk_text_buffer_get_iter_at_mark); | |
1523 mixin ForwardGtkOsCFunc!(.gtk_text_buffer_get_iter_at_offset); | |
1524 mixin ForwardGtkOsCFunc!(.gtk_text_buffer_get_line_count); | |
1525 mixin ForwardGtkOsCFunc!(.gtk_text_buffer_get_selection_bound); | |
1526 mixin ForwardGtkOsCFunc!(.gtk_text_buffer_get_selection_bounds); | |
1527 mixin ForwardGtkOsCFunc!(.gtk_text_buffer_get_text); | |
1528 mixin ForwardGtkOsCFunc!(.gtk_text_buffer_insert); | |
1529 mixin ForwardGtkOsCFunc!(.gtk_text_buffer_insert); | |
1530 mixin ForwardGtkOsCFunc!(.gtk_text_buffer_move_mark); | |
1531 mixin ForwardGtkOsCFunc!(.gtk_text_buffer_paste_clipboard); | |
1532 mixin ForwardGtkOsCFunc!(.gtk_text_buffer_place_cursor); | |
1533 mixin ForwardGtkOsCFunc!(.gtk_text_buffer_set_text); | |
1534 mixin ForwardGtkOsCFunc!(.gtk_text_iter_get_line); | |
1535 mixin ForwardGtkOsCFunc!(.gtk_text_iter_get_offset); | |
1536 mixin ForwardGtkOsCFunc!(.gtk_text_view_buffer_to_window_coords); | |
1537 mixin ForwardGtkOsCFunc!(.gtk_text_view_get_buffer); | |
1538 mixin ForwardGtkOsCFunc!(.gtk_text_view_get_editable); | |
1539 mixin ForwardGtkOsCFunc!(.gtk_text_view_get_iter_at_location); | |
1540 mixin ForwardGtkOsCFunc!(.gtk_text_view_get_iter_location); | |
1541 mixin ForwardGtkOsCFunc!(.gtk_text_view_get_line_at_y); | |
1542 mixin ForwardGtkOsCFunc!(.gtk_text_view_get_visible_rect); | |
1543 mixin ForwardGtkOsCFunc!(.gtk_text_view_get_window); | |
1544 mixin ForwardGtkOsCFunc!(.gtk_text_view_new); | |
1545 mixin ForwardGtkOsCFunc!(.gtk_text_view_scroll_mark_onscreen); | |
1546 mixin ForwardGtkOsCFunc!(.gtk_text_view_scroll_to_iter); | |
1547 mixin ForwardGtkOsCFunc!(.gtk_text_view_set_editable); | |
1548 mixin ForwardGtkOsCFunc!(.gtk_text_view_set_justification); | |
1549 mixin ForwardGtkOsCFunc!(.gtk_text_view_set_tabs); | |
1550 mixin ForwardGtkOsCFunc!(.gtk_text_view_set_wrap_mode); | |
1551 mixin ForwardGtkOsCFunc!(.gtk_text_view_window_to_buffer_coords); | |
1552 mixin ForwardGtkOsCFunc!(.gtk_timeout_add); | |
1553 mixin ForwardGtkOsCFunc!(.gtk_timeout_remove); | |
1554 mixin ForwardGtkOsCFunc!(.gtk_toggle_button_get_active); | |
1555 mixin ForwardGtkOsCFunc!(.gtk_toggle_button_new); | |
1556 mixin ForwardGtkOsCFunc!(.gtk_toggle_button_set_active); | |
1557 mixin ForwardGtkOsCFunc!(.gtk_toggle_button_set_mode); | |
1558 mixin ForwardGtkOsCFunc!(.gtk_toolbar_insert_widget); | |
1559 mixin ForwardGtkOsCFunc!(.gtk_toolbar_new); | |
1560 mixin ForwardGtkOsCFunc!(.gtk_toolbar_set_orientation); | |
1561 mixin ForwardGtkOsCFunc!(.gtk_tooltips_data_get); | |
1562 mixin ForwardGtkOsCFunc!(.gtk_tooltips_disable); | |
1563 mixin ForwardGtkOsCFunc!(.gtk_tooltips_enable); | |
1564 mixin ForwardGtkOsCFunc!(.gtk_tooltips_new); | |
1565 mixin ForwardGtkOsCFunc!(.gtk_tooltips_force_window); | |
1566 mixin ForwardGtkOsCFunc!(.gtk_tooltips_set_tip); | |
1567 mixin ForwardGtkOsCFunc!(.gtk_tree_model_get); | |
1568 mixin ForwardGtkOsCFunc!(.gtk_tree_model_get); | |
1569 mixin ForwardGtkOsCFunc!(.gtk_tree_model_get_iter); | |
1570 mixin ForwardGtkOsCFunc!(.gtk_tree_model_get_iter_first); | |
1571 mixin ForwardGtkOsCFunc!(.gtk_tree_model_get_n_columns); | |
1572 mixin ForwardGtkOsCFunc!(.gtk_tree_model_get_path); | |
15
758bbbe4b86a
Fixup gtk bindings; OS.d updates
John Reimer<terminal.node@gmail.com>
parents:
10
diff
changeset
|
1573 // mixin ForwardGtkOsCFunc!(.gtk_tree_model_get_type); |
8 | 1574 mixin ForwardGtkOsCFunc!(.gtk_tree_model_iter_children); |
1575 mixin ForwardGtkOsCFunc!(.gtk_tree_model_iter_n_children); | |
1576 mixin ForwardGtkOsCFunc!(.gtk_tree_model_iter_next); | |
1577 mixin ForwardGtkOsCFunc!(.gtk_tree_model_iter_nth_child); | |
1578 mixin ForwardGtkOsCFunc!(.gtk_tree_path_append_index); | |
1579 mixin ForwardGtkOsCFunc!(.gtk_tree_path_compare); | |
1580 mixin ForwardGtkOsCFunc!(.gtk_tree_path_down); | |
1581 mixin ForwardGtkOsCFunc!(.gtk_tree_path_free); | |
1582 mixin ForwardGtkOsCFunc!(.gtk_tree_path_get_depth); | |
1583 mixin ForwardGtkOsCFunc!(.gtk_tree_path_get_indices); | |
1584 mixin ForwardGtkOsCFunc!(.gtk_tree_path_new); | |
1585 mixin ForwardGtkOsCFunc!(.gtk_tree_path_new_first); | |
1586 mixin ForwardGtkOsCFunc!(.gtk_tree_path_new_from_string); | |
1587 mixin ForwardGtkOsCFunc!(.gtk_tree_path_new_from_string); | |
1588 mixin ForwardGtkOsCFunc!(.gtk_tree_path_next); | |
1589 mixin ForwardGtkOsCFunc!(.gtk_tree_path_prev); | |
1590 mixin ForwardGtkOsCFunc!(.gtk_tree_path_up); | |
1591 mixin ForwardGtkOsCFunc!(.gtk_tree_selection_count_selected_rows); | |
1592 mixin ForwardGtkOsCFunc!(.gtk_tree_selection_get_selected); | |
1593 mixin ForwardGtkOsCFunc!(.gtk_tree_selection_get_selected_rows); | |
1594 mixin ForwardGtkOsCFunc!(.gtk_tree_selection_path_is_selected); | |
1595 mixin ForwardGtkOsCFunc!(.gtk_tree_selection_select_all); | |
1596 mixin ForwardGtkOsCFunc!(.gtk_tree_selection_select_iter); | |
1597 mixin ForwardGtkOsCFunc!(.gtk_tree_selection_selected_foreach); | |
1598 mixin ForwardGtkOsCFunc!(.gtk_tree_selection_set_mode); | |
1599 mixin ForwardGtkOsCFunc!(.gtk_tree_selection_unselect_all); | |
1600 mixin ForwardGtkOsCFunc!(.gtk_tree_selection_unselect_iter); | |
1601 mixin ForwardGtkOsCFunc!(.gtk_tree_store_append); | |
1602 mixin ForwardGtkOsCFunc!(.gtk_tree_store_clear); | |
1603 mixin ForwardGtkOsCFunc!(.gtk_tree_store_insert); | |
1604 mixin ForwardGtkOsCFunc!(.gtk_tree_store_newv); | |
1605 mixin ForwardGtkOsCFunc!(.gtk_tree_store_remove); | |
1606 mixin ForwardGtkOsCFunc!(.gtk_tree_store_set); | |
1607 mixin ForwardGtkOsCFunc!(.gtk_tree_store_set); | |
1608 mixin ForwardGtkOsCFunc!(.gtk_tree_store_set); | |
1609 mixin ForwardGtkOsCFunc!(.gtk_tree_store_set); | |
1610 mixin ForwardGtkOsCFunc!(.gtk_tree_store_set); | |
1611 mixin ForwardGtkOsCFunc!(.gtk_tree_view_create_row_drag_icon); | |
1612 mixin ForwardGtkOsCFunc!(.gtk_tree_view_collapse_row); | |
1613 mixin ForwardGtkOsCFunc!(.gtk_tree_view_column_add_attribute); | |
1614 mixin ForwardGtkOsCFunc!(.gtk_tree_view_column_cell_get_position); | |
1615 mixin ForwardGtkOsCFunc!(.gtk_tree_view_column_cell_get_size); | |
1616 mixin ForwardGtkOsCFunc!(.gtk_tree_view_column_cell_set_cell_data); | |
1617 mixin ForwardGtkOsCFunc!(.gtk_tree_view_column_clear); | |
1618 mixin ForwardGtkOsCFunc!(.gtk_tree_view_column_get_cell_renderers); | |
1619 mixin ForwardGtkOsCFunc!(.gtk_tree_view_column_get_fixed_width); | |
1620 mixin ForwardGtkOsCFunc!(.gtk_tree_view_column_get_reorderable); | |
1621 mixin ForwardGtkOsCFunc!(.gtk_tree_view_column_get_resizable); | |
1622 mixin ForwardGtkOsCFunc!(.gtk_tree_view_column_get_sizing); | |
1623 mixin ForwardGtkOsCFunc!(.gtk_tree_view_column_get_spacing); | |
1624 mixin ForwardGtkOsCFunc!(.gtk_tree_view_column_get_visible); | |
1625 mixin ForwardGtkOsCFunc!(.gtk_tree_view_column_get_sort_indicator); | |
1626 mixin ForwardGtkOsCFunc!(.gtk_tree_view_column_get_sort_order); | |
1627 mixin ForwardGtkOsCFunc!(.gtk_tree_view_column_get_width); | |
1628 mixin ForwardGtkOsCFunc!(.gtk_tree_view_column_new); | |
1629 mixin ForwardGtkOsCFunc!(.gtk_tree_view_column_pack_start); | |
1630 mixin ForwardGtkOsCFunc!(.gtk_tree_view_column_pack_end); | |
1631 mixin ForwardGtkOsCFunc!(.gtk_tree_view_column_set_alignment); | |
1632 mixin ForwardGtkOsCFunc!(.gtk_tree_view_column_set_cell_data_func); | |
1633 mixin ForwardGtkOsCFunc!(.gtk_tree_view_column_set_clickable); | |
1634 mixin ForwardGtkOsCFunc!(.gtk_tree_view_column_set_fixed_width); | |
1635 mixin ForwardGtkOsCFunc!(.gtk_tree_view_column_set_min_width); | |
1636 mixin ForwardGtkOsCFunc!(.gtk_tree_view_column_set_reorderable); | |
1637 mixin ForwardGtkOsCFunc!(.gtk_tree_view_column_set_resizable); | |
1638 mixin ForwardGtkOsCFunc!(.gtk_tree_view_column_set_sizing); | |
1639 mixin ForwardGtkOsCFunc!(.gtk_tree_view_column_set_sort_indicator); | |
1640 mixin ForwardGtkOsCFunc!(.gtk_tree_view_column_set_sort_order); | |
1641 mixin ForwardGtkOsCFunc!(.gtk_tree_view_column_set_title); | |
1642 mixin ForwardGtkOsCFunc!(.gtk_tree_view_column_set_visible ); | |
1643 mixin ForwardGtkOsCFunc!(.gtk_tree_view_column_set_widget); | |
1644 mixin ForwardGtkOsCFunc!(.gtk_tree_view_set_drag_dest_row); | |
1645 mixin ForwardGtkOsCFunc!(.gtk_tree_view_set_enable_search ); | |
1646 mixin ForwardGtkOsCFunc!(.gtk_tree_view_expand_row); | |
1647 mixin ForwardGtkOsCFunc!(.gtk_tree_view_get_background_area); | |
1648 mixin ForwardGtkOsCFunc!(.gtk_tree_view_get_bin_window); | |
1649 mixin ForwardGtkOsCFunc!(.gtk_tree_view_get_cell_area); | |
1650 mixin ForwardGtkOsCFunc!(.gtk_tree_view_get_expander_column); | |
1651 mixin ForwardGtkOsCFunc!(.gtk_tree_view_get_column); | |
1652 mixin ForwardGtkOsCFunc!(.gtk_tree_view_get_columns); | |
1653 mixin ForwardGtkOsCFunc!(.gtk_tree_view_get_cursor); | |
1654 mixin ForwardGtkOsCFunc!(.gtk_tree_view_get_headers_visible); | |
1655 mixin ForwardGtkOsCFunc!(.gtk_tree_view_get_path_at_pos); | |
1656 mixin ForwardGtkOsCFunc!(.gtk_tree_view_get_rules_hint); | |
1657 mixin ForwardGtkOsCFunc!(.gtk_tree_view_get_selection); | |
1658 mixin ForwardGtkOsCFunc!(.gtk_tree_view_get_visible_rect); | |
1659 mixin ForwardGtkOsCFunc!(.gtk_tree_view_insert_column); | |
1660 mixin ForwardGtkOsCFunc!(.gtk_tree_view_move_column_after); | |
1661 mixin ForwardGtkOsCFunc!(.gtk_tree_view_new_with_model); | |
1662 mixin ForwardGtkOsCFunc!(.gtk_tree_view_remove_column); | |
1663 mixin ForwardGtkOsCFunc!(.gtk_tree_view_row_expanded); | |
1664 mixin ForwardGtkOsCFunc!(.gtk_tree_view_scroll_to_cell); | |
1665 mixin ForwardGtkOsCFunc!(.gtk_tree_view_scroll_to_point ); | |
1666 mixin ForwardGtkOsCFunc!(.gtk_tree_view_set_cursor); | |
1667 mixin ForwardGtkOsCFunc!(.gtk_tree_view_set_headers_visible); | |
1668 mixin ForwardGtkOsCFunc!(.gtk_tree_view_set_model); | |
1669 mixin ForwardGtkOsCFunc!(.gtk_tree_view_set_rules_hint); | |
1670 mixin ForwardGtkOsCFunc!(.gtk_tree_view_set_search_column); | |
1671 mixin ForwardGtkOsCFunc!(.gtk_tree_view_tree_to_widget_coords); | |
1672 mixin ForwardGtkOsCFunc!(.gtk_tree_view_unset_rows_drag_dest); | |
1673 mixin ForwardGtkOsCFunc!(.gtk_tree_view_widget_to_tree_coords); | |
1674 mixin ForwardGtkOsCFunc!(.gtk_vbox_new); | |
1675 mixin ForwardGtkOsCFunc!(.gtk_vscale_new); | |
1676 mixin ForwardGtkOsCFunc!(.gtk_vscrollbar_new); | |
1677 mixin ForwardGtkOsCFunc!(.gtk_vseparator_new); | |
1678 mixin ForwardGtkOsCFunc!(.gtk_widget_add_accelerator); | |
1679 mixin ForwardGtkOsCFunc!(.gtk_widget_add_events); | |
1680 mixin ForwardGtkOsCFunc!(.gtk_widget_child_focus); | |
1681 mixin ForwardGtkOsCFunc!(.gtk_widget_create_pango_layout); | |
1682 mixin ForwardGtkOsCFunc!(.gtk_widget_destroy); | |
1683 mixin ForwardGtkOsCFunc!(.gtk_widget_event); | |
1684 mixin ForwardGtkOsCFunc!(.gtk_widget_get_accessible ); | |
1685 mixin ForwardGtkOsCFunc!(.gtk_widget_get_child_visible ); | |
1686 mixin ForwardGtkOsCFunc!(.gtk_widget_get_default_direction); | |
1687 mixin ForwardGtkOsCFunc!(.gtk_widget_get_default_style); | |
1688 mixin ForwardGtkOsCFunc!(.gtk_widget_get_direction); | |
1689 mixin ForwardGtkOsCFunc!(.gtk_widget_get_events); | |
1690 mixin ForwardGtkOsCFunc!(.gtk_widget_get_modifier_style); | |
1691 mixin ForwardGtkOsCFunc!(.gtk_widget_get_pango_context); | |
1692 mixin ForwardGtkOsCFunc!(.gtk_widget_get_parent); | |
1693 mixin ForwardGtkOsCFunc!(.gtk_widget_get_style); | |
1694 mixin ForwardGtkOsCFunc!(.gtk_widget_get_size_request); | |
1695 mixin ForwardGtkOsCFunc!(.gtk_widget_get_toplevel ); | |
1696 mixin ForwardGtkOsCFunc!(.gtk_widget_grab_focus); | |
1697 mixin ForwardGtkOsCFunc!(.gtk_widget_hide); | |
1698 mixin ForwardGtkOsCFunc!(.gtk_widget_is_focus); | |
1699 mixin ForwardGtkOsCFunc!(.gtk_widget_map); | |
1700 mixin ForwardGtkOsCFunc!(.gtk_widget_mnemonic_activate); | |
1701 mixin ForwardGtkOsCFunc!(.gtk_widget_modify_base); | |
1702 mixin ForwardGtkOsCFunc!(.gtk_widget_modify_bg); | |
1703 mixin ForwardGtkOsCFunc!(.gtk_widget_modify_fg); | |
1704 mixin ForwardGtkOsCFunc!(.gtk_widget_modify_font); | |
1705 mixin ForwardGtkOsCFunc!(.gtk_widget_modify_style); | |
1706 mixin ForwardGtkOsCFunc!(.gtk_widget_modify_text); | |
1707 mixin ForwardGtkOsCFunc!(.gtk_widget_queue_resize); | |
1708 mixin ForwardGtkOsCFunc!(.gtk_widget_realize); | |
1709 mixin ForwardGtkOsCFunc!(.gtk_widget_remove_accelerator); | |
1710 mixin ForwardGtkOsCFunc!(.gtk_widget_reparent); | |
1711 mixin ForwardGtkOsCFunc!(.gtk_widget_set_app_paintable); | |
1712 mixin ForwardGtkOsCFunc!(.gtk_widget_set_default_direction); | |
1713 mixin ForwardGtkOsCFunc!(.gtk_widget_set_direction); | |
1714 mixin ForwardGtkOsCFunc!(.gtk_widget_set_double_buffered); | |
1715 mixin ForwardGtkOsCFunc!(.gtk_widget_set_name); | |
1716 mixin ForwardGtkOsCFunc!(.gtk_widget_set_redraw_on_allocate); | |
1717 mixin ForwardGtkOsCFunc!(.gtk_widget_set_sensitive); | |
1718 mixin ForwardGtkOsCFunc!(.gtk_widget_set_size_request); | |
1719 mixin ForwardGtkOsCFunc!(.gtk_widget_set_state); | |
1720 mixin ForwardGtkOsCFunc!(.gtk_widget_set_style); | |
1721 mixin ForwardGtkOsCFunc!(.gtk_widget_shape_combine_mask); | |
1722 mixin ForwardGtkOsCFunc!(.gtk_widget_show); | |
1723 mixin ForwardGtkOsCFunc!(.gtk_widget_show_now); | |
1724 mixin ForwardGtkOsCFunc!(.gtk_widget_size_allocate); | |
1725 mixin ForwardGtkOsCFunc!(.gtk_widget_size_request); | |
24
bc06000c0816
TextLayout and GC, graphics complete
Frank Benoit <benoit@tionex.de>
parents:
20
diff
changeset
|
1726 mixin ForwardGtkOsCFunc!(.gtk_widget_style_get1); // 1=get one property, see above |
8 | 1727 mixin ForwardGtkOsCFunc!(.gtk_widget_translate_coordinates); |
1728 mixin ForwardGtkOsCFunc!(.gtk_widget_unrealize); | |
1729 mixin ForwardGtkOsCFunc!(.gtk_window_activate_default); | |
1730 mixin ForwardGtkOsCFunc!(.gtk_window_add_accel_group); | |
1731 mixin ForwardGtkOsCFunc!(.gtk_window_deiconify); | |
1732 mixin ForwardGtkOsCFunc!(.gtk_window_get_focus); | |
1733 mixin ForwardGtkOsCFunc!(.gtk_window_get_icon_list); | |
1734 mixin ForwardGtkOsCFunc!(.gtk_window_get_modal); | |
1735 mixin ForwardGtkOsCFunc!(.gtk_window_get_mnemonic_modifier); | |
1736 mixin ForwardGtkOsCFunc!(.gtk_window_get_position); | |
1737 mixin ForwardGtkOsCFunc!(.gtk_window_get_size); | |
1738 mixin ForwardGtkOsCFunc!(.gtk_window_iconify); | |
1739 mixin ForwardGtkOsCFunc!(.gtk_window_maximize); | |
1740 mixin ForwardGtkOsCFunc!(.gtk_window_move); | |
1741 mixin ForwardGtkOsCFunc!(.gtk_window_new); | |
1742 mixin ForwardGtkOsCFunc!(.gtk_window_present); | |
1743 mixin ForwardGtkOsCFunc!(.gtk_window_remove_accel_group); | |
1744 mixin ForwardGtkOsCFunc!(.gtk_window_resize); | |
1745 mixin ForwardGtkOsCFunc!(.gtk_window_set_default); | |
1746 mixin ForwardGtkOsCFunc!(.gtk_window_set_destroy_with_parent); | |
1747 mixin ForwardGtkOsCFunc!(.gtk_window_set_geometry_hints); | |
1748 mixin ForwardGtkOsCFunc!(.gtk_window_set_icon_list); | |
1749 mixin ForwardGtkOsCFunc!(.gtk_window_set_modal); | |
1750 mixin ForwardGtkOsCFunc!(.gtk_widget_set_parent_window); | |
1751 mixin ForwardGtkOsCFunc!(.gtk_window_set_resizable); | |
1752 mixin ForwardGtkOsCFunc!(.gtk_window_set_title); | |
1753 mixin ForwardGtkOsCFunc!(.gtk_window_set_skip_taskbar_hint); | |
1754 mixin ForwardGtkOsCFunc!(.gtk_window_set_type_hint); | |
1755 mixin ForwardGtkOsCFunc!(.gtk_window_set_transient_for); | |
1756 mixin ForwardGtkOsCFunc!(.gtk_window_unmaximize); | |
1757 mixin ForwardGtkOsCFunc!(.pango_attr_background_new ); | |
1758 mixin ForwardGtkOsCFunc!(.pango_attr_font_desc_new); | |
1759 mixin ForwardGtkOsCFunc!(.pango_attr_foreground_new ); | |
1760 mixin ForwardGtkOsCFunc!(.pango_attr_rise_new); | |
1761 mixin ForwardGtkOsCFunc!(.pango_attr_shape_new); | |
1762 mixin ForwardGtkOsCFunc!(.pango_attr_list_insert); | |
1763 mixin ForwardGtkOsCFunc!(.pango_attr_list_change); | |
1764 mixin ForwardGtkOsCFunc!(.pango_attr_list_new); | |
1765 mixin ForwardGtkOsCFunc!(.pango_attr_list_unref); | |
1766 mixin ForwardGtkOsCFunc!(.pango_attr_strikethrough_new); | |
1767 mixin ForwardGtkOsCFunc!(.pango_attr_underline_new); | |
1768 mixin ForwardGtkOsCFunc!(.pango_attr_weight_new); | |
15
758bbbe4b86a
Fixup gtk bindings; OS.d updates
John Reimer<terminal.node@gmail.com>
parents:
10
diff
changeset
|
1769 // mixin ForwardGtkOsCFunc!(.pango_cairo_font_map_get_default); |
758bbbe4b86a
Fixup gtk bindings; OS.d updates
John Reimer<terminal.node@gmail.com>
parents:
10
diff
changeset
|
1770 // mixin ForwardGtkOsCFunc!(.pango_cairo_font_map_new); |
758bbbe4b86a
Fixup gtk bindings; OS.d updates
John Reimer<terminal.node@gmail.com>
parents:
10
diff
changeset
|
1771 // mixin ForwardGtkOsCFunc!(.pango_cairo_font_map_create_context); |
24
bc06000c0816
TextLayout and GC, graphics complete
Frank Benoit <benoit@tionex.de>
parents:
20
diff
changeset
|
1772 mixin ForwardGtkOsCFunc!(.pango_cairo_create_layout); |
bc06000c0816
TextLayout and GC, graphics complete
Frank Benoit <benoit@tionex.de>
parents:
20
diff
changeset
|
1773 mixin ForwardGtkOsCFunc!(.pango_cairo_context_get_font_options); |
bc06000c0816
TextLayout and GC, graphics complete
Frank Benoit <benoit@tionex.de>
parents:
20
diff
changeset
|
1774 mixin ForwardGtkOsCFunc!(.pango_cairo_context_set_font_options); |
15
758bbbe4b86a
Fixup gtk bindings; OS.d updates
John Reimer<terminal.node@gmail.com>
parents:
10
diff
changeset
|
1775 // mixin ForwardGtkOsCFunc!(.pango_cairo_font_map_set_resolution); |
24
bc06000c0816
TextLayout and GC, graphics complete
Frank Benoit <benoit@tionex.de>
parents:
20
diff
changeset
|
1776 mixin ForwardGtkOsCFunc!(.pango_cairo_layout_path); |
bc06000c0816
TextLayout and GC, graphics complete
Frank Benoit <benoit@tionex.de>
parents:
20
diff
changeset
|
1777 mixin ForwardGtkOsCFunc!(.pango_cairo_show_layout); |
8 | 1778 mixin ForwardGtkOsCFunc!(.pango_context_get_base_dir); |
1779 mixin ForwardGtkOsCFunc!(.pango_context_get_language); | |
1780 mixin ForwardGtkOsCFunc!(.pango_context_get_metrics); | |
1781 mixin ForwardGtkOsCFunc!(.pango_context_list_families); | |
1782 mixin ForwardGtkOsCFunc!(.pango_context_set_base_dir); | |
1783 mixin ForwardGtkOsCFunc!(.pango_context_set_language); | |
1784 mixin ForwardGtkOsCFunc!(.pango_font_description_copy); | |
1785 mixin ForwardGtkOsCFunc!(.pango_font_description_free); | |
1786 mixin ForwardGtkOsCFunc!(.pango_font_description_from_string); | |
1787 mixin ForwardGtkOsCFunc!(.pango_font_description_get_family); | |
1788 mixin ForwardGtkOsCFunc!(.pango_font_description_get_size); | |
1789 mixin ForwardGtkOsCFunc!(.pango_font_description_get_style); | |
1790 mixin ForwardGtkOsCFunc!(.pango_font_description_get_weight); | |
1791 mixin ForwardGtkOsCFunc!(.pango_font_description_new); | |
1792 mixin ForwardGtkOsCFunc!(.pango_font_description_set_family); | |
1793 mixin ForwardGtkOsCFunc!(.pango_font_description_set_size); | |
1794 mixin ForwardGtkOsCFunc!(.pango_font_description_set_stretch); | |
1795 mixin ForwardGtkOsCFunc!(.pango_font_description_set_style); | |
1796 mixin ForwardGtkOsCFunc!(.pango_font_description_set_weight); | |
1797 mixin ForwardGtkOsCFunc!(.pango_font_description_to_string); | |
1798 mixin ForwardGtkOsCFunc!(.pango_font_face_describe); | |
1799 mixin ForwardGtkOsCFunc!(.pango_font_family_get_name); | |
1800 mixin ForwardGtkOsCFunc!(.pango_font_family_list_faces); | |
1801 mixin ForwardGtkOsCFunc!(.pango_font_get_metrics); | |
1802 mixin ForwardGtkOsCFunc!(.pango_font_metrics_get_approximate_char_width); | |
1803 mixin ForwardGtkOsCFunc!(.pango_font_metrics_get_ascent); | |
1804 mixin ForwardGtkOsCFunc!(.pango_font_metrics_get_descent); | |
1805 mixin ForwardGtkOsCFunc!(.pango_font_metrics_unref); | |
1806 mixin ForwardGtkOsCFunc!(.pango_language_from_string); | |
1807 mixin ForwardGtkOsCFunc!(.pango_layout_context_changed); | |
1808 mixin ForwardGtkOsCFunc!(.pango_layout_get_alignment); | |
1809 mixin ForwardGtkOsCFunc!(.pango_layout_get_context); | |
1810 mixin ForwardGtkOsCFunc!(.pango_layout_get_attributes); | |
1811 mixin ForwardGtkOsCFunc!(.pango_layout_get_indent); | |
1812 mixin ForwardGtkOsCFunc!(.pango_layout_get_iter); | |
1813 mixin ForwardGtkOsCFunc!(.pango_layout_get_justify); | |
1814 mixin ForwardGtkOsCFunc!(.pango_layout_get_line); | |
1815 mixin ForwardGtkOsCFunc!(.pango_layout_get_line_count); | |
1816 mixin ForwardGtkOsCFunc!(.pango_layout_get_log_attrs); | |
1817 mixin ForwardGtkOsCFunc!(.pango_layout_get_size); | |
1818 mixin ForwardGtkOsCFunc!(.pango_layout_get_spacing); | |
1819 mixin ForwardGtkOsCFunc!(.pango_layout_get_tabs); | |
1820 mixin ForwardGtkOsCFunc!(.pango_layout_get_text); | |
1821 mixin ForwardGtkOsCFunc!(.pango_layout_get_width); | |
1822 mixin ForwardGtkOsCFunc!(.pango_layout_index_to_pos); | |
1823 mixin ForwardGtkOsCFunc!(.pango_layout_iter_free); | |
1824 mixin ForwardGtkOsCFunc!(.pango_layout_iter_get_line_extents); | |
1825 mixin ForwardGtkOsCFunc!(.pango_layout_iter_get_index); | |
1826 mixin ForwardGtkOsCFunc!(.pango_layout_iter_get_run); | |
1827 mixin ForwardGtkOsCFunc!(.pango_layout_iter_next_line); | |
1828 mixin ForwardGtkOsCFunc!(.pango_layout_iter_next_run); | |
1829 mixin ForwardGtkOsCFunc!(.pango_layout_line_get_extents); | |
1830 mixin ForwardGtkOsCFunc!(.pango_layout_line_x_to_index); | |
1831 mixin ForwardGtkOsCFunc!(.pango_layout_new); | |
1832 mixin ForwardGtkOsCFunc!(.pango_layout_set_alignment ); | |
1833 mixin ForwardGtkOsCFunc!(.pango_layout_set_attributes); | |
1834 mixin ForwardGtkOsCFunc!(.pango_layout_set_auto_dir); | |
1835 mixin ForwardGtkOsCFunc!(.pango_layout_set_font_description); | |
1836 mixin ForwardGtkOsCFunc!(.pango_layout_set_indent); | |
1837 mixin ForwardGtkOsCFunc!(.pango_layout_set_justify); | |
1838 mixin ForwardGtkOsCFunc!(.pango_layout_set_single_paragraph_mode); | |
1839 mixin ForwardGtkOsCFunc!(.pango_layout_set_spacing); | |
1840 mixin ForwardGtkOsCFunc!(.pango_layout_set_tabs); | |
1841 mixin ForwardGtkOsCFunc!(.pango_layout_set_text); | |
1842 mixin ForwardGtkOsCFunc!(.pango_layout_set_width); | |
1843 mixin ForwardGtkOsCFunc!(.pango_layout_set_wrap ); | |
1844 mixin ForwardGtkOsCFunc!(.pango_layout_xy_to_index); | |
1845 mixin ForwardGtkOsCFunc!(.pango_tab_array_get_size); | |
1846 mixin ForwardGtkOsCFunc!(.pango_tab_array_get_tabs); | |
1847 mixin ForwardGtkOsCFunc!(.pango_tab_array_free); | |
1848 mixin ForwardGtkOsCFunc!(.pango_tab_array_new); | |
1849 mixin ForwardGtkOsCFunc!(.pango_tab_array_set_tab); | |
1850 mixin ForwardGtkOsCFunc!(.atk_object_add_relationship ); | |
7 | 1851 |
15
758bbbe4b86a
Fixup gtk bindings; OS.d updates
John Reimer<terminal.node@gmail.com>
parents:
10
diff
changeset
|
1852 /* Field accessors */ |
18 | 1853 |
48 | 1854 static void GTK_ACCEL_LABEL_SET_ACCEL_STRING( GtkAccelLabel *arg0, gchar * arg1 ) |
15
758bbbe4b86a
Fixup gtk bindings; OS.d updates
John Reimer<terminal.node@gmail.com>
parents:
10
diff
changeset
|
1855 { arg0.accel_string = arg1; } |
48 | 1856 static gchar* GTK_ACCEL_LABEL_GET_ACCEL_STRING( GtkAccelLabel* arg0) |
15
758bbbe4b86a
Fixup gtk bindings; OS.d updates
John Reimer<terminal.node@gmail.com>
parents:
10
diff
changeset
|
1857 { return arg0.accel_string; } |
18 | 1858 |
31 | 1859 static GtkWidget* GTK_SCROLLED_WINDOW_HSCROLLBAR( GtkScrolledWindow* arg0 ) |
15
758bbbe4b86a
Fixup gtk bindings; OS.d updates
John Reimer<terminal.node@gmail.com>
parents:
10
diff
changeset
|
1860 { return arg0.hscrollbar; } |
31 | 1861 static GtkWidget* GTK_SCROLLED_WINDOW_VSCROLLBAR( GtkScrolledWindow* arg0 ) |
15
758bbbe4b86a
Fixup gtk bindings; OS.d updates
John Reimer<terminal.node@gmail.com>
parents:
10
diff
changeset
|
1862 { return arg0.vscrollbar; } |
18 | 1863 |
31 | 1864 static int GTK_SCROLLED_WINDOW_SCROLLBAR_SPACING( GtkScrolledWindow* arg0) |
15
758bbbe4b86a
Fixup gtk bindings; OS.d updates
John Reimer<terminal.node@gmail.com>
parents:
10
diff
changeset
|
1865 { |
758bbbe4b86a
Fixup gtk bindings; OS.d updates
John Reimer<terminal.node@gmail.com>
parents:
10
diff
changeset
|
1866 return ((cast(GtkScrolledWindowClass*) ((cast(GTypeInstance*) arg0).g_class) ).scrollbar_spacing >= 0 ? |
18 | 1867 (cast(GtkScrolledWindowClass*) ((cast(GTypeInstance*) arg0).g_class)).scrollbar_spacing : 3) ; |
15
758bbbe4b86a
Fixup gtk bindings; OS.d updates
John Reimer<terminal.node@gmail.com>
parents:
10
diff
changeset
|
1868 } |
18 | 1869 |
30 | 1870 static int GTK_WIDGET_HEIGHT( GtkWidget* arg0 ) |
15
758bbbe4b86a
Fixup gtk bindings; OS.d updates
John Reimer<terminal.node@gmail.com>
parents:
10
diff
changeset
|
1871 { return arg0.allocation.height; } |
30 | 1872 static void GTK_WIDGET_SET_HEIGHT( GtkWidget* arg0, int arg1) |
15
758bbbe4b86a
Fixup gtk bindings; OS.d updates
John Reimer<terminal.node@gmail.com>
parents:
10
diff
changeset
|
1873 { arg0.allocation.height = arg1; } |
30 | 1874 static int GTK_WIDGET_WIDTH( GtkWidget* arg0) |
15
758bbbe4b86a
Fixup gtk bindings; OS.d updates
John Reimer<terminal.node@gmail.com>
parents:
10
diff
changeset
|
1875 { return arg0.allocation.width; } |
30 | 1876 static void GTK_WIDGET_SET_WIDTH( GtkWidget* arg0, int arg1) |
15
758bbbe4b86a
Fixup gtk bindings; OS.d updates
John Reimer<terminal.node@gmail.com>
parents:
10
diff
changeset
|
1877 { arg0.allocation.width = arg1; } |
30 | 1878 static GdkWindow* GTK_WIDGET_WINDOW( GtkWidget* arg0) |
15
758bbbe4b86a
Fixup gtk bindings; OS.d updates
John Reimer<terminal.node@gmail.com>
parents:
10
diff
changeset
|
1879 { return arg0.window; } |
30 | 1880 static int GTK_WIDGET_X( GtkWidget* arg0 ) |
15
758bbbe4b86a
Fixup gtk bindings; OS.d updates
John Reimer<terminal.node@gmail.com>
parents:
10
diff
changeset
|
1881 { return arg0.allocation.x; } |
30 | 1882 static void GTK_WIDGET_SET_X( GtkWidget* arg0, int arg1) |
15
758bbbe4b86a
Fixup gtk bindings; OS.d updates
John Reimer<terminal.node@gmail.com>
parents:
10
diff
changeset
|
1883 { arg0.allocation.x = arg1; } |
30 | 1884 static int GTK_WIDGET_Y( GtkWidget* arg0 ) |
15
758bbbe4b86a
Fixup gtk bindings; OS.d updates
John Reimer<terminal.node@gmail.com>
parents:
10
diff
changeset
|
1885 { return arg0.allocation.y; } |
30 | 1886 static void GTK_WIDGET_SET_Y( GtkWidget* arg0, int arg1) |
15
758bbbe4b86a
Fixup gtk bindings; OS.d updates
John Reimer<terminal.node@gmail.com>
parents:
10
diff
changeset
|
1887 { arg0.allocation.y = arg1; } |
30 | 1888 static int GTK_WIDGET_REQUISITION_WIDTH( GtkWidget* arg0 ) |
15
758bbbe4b86a
Fixup gtk bindings; OS.d updates
John Reimer<terminal.node@gmail.com>
parents:
10
diff
changeset
|
1889 { return arg0.requisition.width; } |
30 | 1890 static int GTK_WIDGET_REQUISITION_HEIGHT( GtkWidget* arg0 ) |
15
758bbbe4b86a
Fixup gtk bindings; OS.d updates
John Reimer<terminal.node@gmail.com>
parents:
10
diff
changeset
|
1891 { return arg0.requisition.height; } |
18 | 1892 |
30 | 1893 static GtkIMContext* GTK_ENTRY_IM_CONTEXT( GtkEntry* arg0 ) |
15
758bbbe4b86a
Fixup gtk bindings; OS.d updates
John Reimer<terminal.node@gmail.com>
parents:
10
diff
changeset
|
1894 { return arg0.im_context; } |
758bbbe4b86a
Fixup gtk bindings; OS.d updates
John Reimer<terminal.node@gmail.com>
parents:
10
diff
changeset
|
1895 |
30 | 1896 static GtkIMContext* GTK_TEXTVIEW_IM_CONTEXT( GtkTextView* arg0) |
15
758bbbe4b86a
Fixup gtk bindings; OS.d updates
John Reimer<terminal.node@gmail.com>
parents:
10
diff
changeset
|
1897 { return arg0.im_context; } |
758bbbe4b86a
Fixup gtk bindings; OS.d updates
John Reimer<terminal.node@gmail.com>
parents:
10
diff
changeset
|
1898 |
26 | 1899 static GtkWidget* GTK_TOOLTIPS_TIP_WINDOW( GtkTooltips* arg0) |
15
758bbbe4b86a
Fixup gtk bindings; OS.d updates
John Reimer<terminal.node@gmail.com>
parents:
10
diff
changeset
|
1900 { return arg0.tip_window; } |
26 | 1901 static void GTK_TOOLTIPS_SET_ACTIVE( GtkTooltips* arg0, GtkTooltipsData* arg1 ) |
15
758bbbe4b86a
Fixup gtk bindings; OS.d updates
John Reimer<terminal.node@gmail.com>
parents:
10
diff
changeset
|
1902 { arg0.active_tips_data = arg1; } |
758bbbe4b86a
Fixup gtk bindings; OS.d updates
John Reimer<terminal.node@gmail.com>
parents:
10
diff
changeset
|
1903 |
26 | 1904 static int GDK_EVENT_TYPE( GdkEvent* arg0 ) |
15
758bbbe4b86a
Fixup gtk bindings; OS.d updates
John Reimer<terminal.node@gmail.com>
parents:
10
diff
changeset
|
1905 { return arg0.type; } |
26 | 1906 static GdkWindow* GDK_EVENT_WINDOW( GdkEventAny* arg0 ) |
15
758bbbe4b86a
Fixup gtk bindings; OS.d updates
John Reimer<terminal.node@gmail.com>
parents:
10
diff
changeset
|
1907 { return arg0.window; } |
38 | 1908 static int X_EVENT_TYPE( XEvent* arg0 ) |
15
758bbbe4b86a
Fixup gtk bindings; OS.d updates
John Reimer<terminal.node@gmail.com>
parents:
10
diff
changeset
|
1909 { return arg0.type; } |
38 | 1910 //Window X_EVENT_WINDOW( XAnyEvent* arg0 ) |
1911 // { return arg0.window; } | |
15
758bbbe4b86a
Fixup gtk bindings; OS.d updates
John Reimer<terminal.node@gmail.com>
parents:
10
diff
changeset
|
1912 |
40
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
1913 /+ |
30 | 1914 //g_list_data(arg0) (arg0)->data |
1915 static void* g_list_data( GList* arg0 ) { | |
1916 return arg0.data; | |
1917 } | |
1918 //g_list_next(list) ((list) ? (((GList *)(list))->next) : NULL) | |
1919 static void* g_list_next( GList* list ) { | |
1920 return list ? list.next : null; | |
1921 } | |
1922 //g_slist_data(arg0) (arg0)->data | |
1923 //g_list_set_next(arg0, arg1) (arg0)->next = arg1 | |
1924 //g_list_set_previous(arg0, arg1) (arg0)->prev = arg1 | |
1925 | |
28 | 1926 //gtk_rc_style_get_bg_pixmap_name(arg0, arg1) (arg0)->bg_pixmap_name[arg1] |
1927 static char* gtk_rc_style_get_bg_pixmap_name( GtkRcStyle* arg0, int arg1 ) { | |
1928 return arg0.bg_pixmap_name[arg1]; | |
1929 } | |
1930 //gtk_rc_style_get_color_flags(arg0, arg1) (arg0)->color_flags[arg1] | |
1931 static int gtk_rc_style_get_color_flags( GtkRcStyle* arg0, int arg1 ) { | |
1932 return arg0.color_flags[arg1]; | |
1933 } | |
1934 //gtk_rc_style_set_bg(arg0, arg1, arg2) if (arg2) (arg0)->bg[arg1] = *arg2 | |
1935 static void gtk_rc_style_set_bg( GtkRcStyle* arg0, int arg1, GdkColor* arg2 ) { | |
1936 if (arg2) arg0.bg[arg1] = *arg2; | |
1937 } | |
1938 //gtk_rc_style_set_bg_pixmap_name(arg0, arg1, arg2) (arg0)->bg_pixmap_name[arg1] = (char *)arg2 | |
1939 static void gtk_rc_style_set_bg_pixmap_name( GtkRcStyle* arg0, int arg1, char* arg2 ) { | |
1940 arg0.bg_pixmap_name[arg1] = arg2; | |
1941 } | |
15
758bbbe4b86a
Fixup gtk bindings; OS.d updates
John Reimer<terminal.node@gmail.com>
parents:
10
diff
changeset
|
1942 |
28 | 1943 //gtk_rc_style_set_color_flags(arg0, arg1, arg2) (arg0)->color_flags[arg1] = arg2 |
1944 static void gtk_rc_style_set_color_flags( GtkRcStyle* arg0, int arg1, int arg2 ) { | |
1945 arg0.color_flags[arg1] = arg2; | |
1946 } | |
1947 | |
1948 //gtk_rc_style_set_fg(arg0, arg1, arg2) if (arg2) (arg0)->fg[arg1] = *arg2 | |
1949 static void gtk_rc_style_set_fg( GtkRcStyle* arg0, int arg1, GdkColor* arg2 ) { | |
1950 if (arg2) arg0.fg[arg1] = *arg2; | |
1951 } | |
1952 //gtk_rc_style_set_text(arg0, arg1, arg2) if (arg2) (arg0)->text[arg1] = *arg2 | |
1953 static void gtk_rc_style_set_text( GtkRcStyle* arg0, int arg1, GdkColor* arg2 ) { | |
1954 if (arg2) arg0.text[arg1] = *arg2; | |
1955 } | |
1956 | |
27 | 1957 //gtk_style_get_font_desc(arg0) (arg0)->font_desc |
1958 static PangoFontDescription* gtk_style_get_font_desc( GtkStyle* arg0 ) { | |
32
b7c28480e3e0
removed exclude for OS.d in dsss.conf
Frank Benoit <benoit@tionex.de>
parents:
31
diff
changeset
|
1959 return cast( PangoFontDescription* ) arg0.font_desc; |
27 | 1960 } |
1961 //gtk_style_get_base(arg0, arg1, arg2) *arg2 = (arg0)->base[arg1] | |
1962 static void gtk_style_get_base( GtkStyle* arg0, int arg1, GdkColor* arg2 ) { | |
1963 *arg2 = arg0.base[arg1]; | |
1964 } | |
1965 //gtk_style_get_bg(arg0, arg1, arg2) *arg2 = (arg0)->bg[arg1] | |
1966 static void gtk_style_get_bg( GtkStyle* arg0, int arg1, GdkColor* arg2 ) { | |
1967 *arg2 = arg0.bg[arg1]; | |
1968 } | |
1969 //gtk_style_get_black(arg0, arg1) *arg1 = (arg0)->black | |
1970 static void gtk_style_get_black( GtkStyle* arg0, GdkColor* arg1 ) { | |
1971 *arg1 = arg0.black; | |
1972 } | |
1973 //gtk_style_get_dark(arg0, arg1, arg2) *arg2 = (arg0)->dark[arg1] | |
1974 static void gtk_style_get_dark( GtkStyle* arg0, int arg1, GdkColor* arg2 ) { | |
1975 *arg2 = arg0.dark[arg1]; | |
1976 } | |
1977 //gtk_style_get_fg(arg0, arg1, arg2) *arg2 = (arg0)->fg[arg1] | |
1978 static void gtk_style_get_fg( GtkStyle* arg0, int arg1, GdkColor* arg2 ) { | |
1979 *arg2 = arg0.fg[arg1]; | |
1980 } | |
1981 //gtk_style_get_light(arg0, arg1, arg2) *arg2 = (arg0)->light[arg1] | |
1982 static void gtk_style_get_light( GtkStyle* arg0, int arg1, GdkColor* arg2 ) { | |
1983 *arg2 = arg0.light[arg1]; | |
1984 } | |
1985 //gtk_style_get_text(arg0, arg1, arg2) *arg2 = (arg0)->text[arg1] | |
1986 static void gtk_style_get_text( GtkStyle* arg0, int arg1, GdkColor* arg2 ) { | |
1987 *arg2 = arg0.text[arg1]; | |
1988 } | |
1989 | |
31 | 1990 //gtk_style_get_xthickness(arg0) (arg0)->xthickness |
1991 static int gtk_style_get_xthickness( GtkStyle* arg0 ) { | |
1992 return arg0.xthickness; | |
1993 } | |
1994 //gtk_style_get_ythickness(arg0) (arg0)->ythickness | |
1995 static int gtk_style_get_ythickness( GtkStyle* arg0 ) { | |
1996 return arg0.ythickness; | |
1997 } | |
40
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
1998 +/ |
27 | 1999 /+ |
15
758bbbe4b86a
Fixup gtk bindings; OS.d updates
John Reimer<terminal.node@gmail.com>
parents:
10
diff
changeset
|
2000 gtk_style_get_fg_gc(arg0, arg1, arg2) *arg2 = (arg0)->fg_gc[arg1] |
758bbbe4b86a
Fixup gtk bindings; OS.d updates
John Reimer<terminal.node@gmail.com>
parents:
10
diff
changeset
|
2001 gtk_style_get_bg_gc(arg0, arg1, arg2) *arg2 = (arg0)->bg_gc[arg1] |
758bbbe4b86a
Fixup gtk bindings; OS.d updates
John Reimer<terminal.node@gmail.com>
parents:
10
diff
changeset
|
2002 gtk_style_get_light_gc(arg0, arg1, arg2) *arg2 = (arg0)->light_gc[arg1] |
758bbbe4b86a
Fixup gtk bindings; OS.d updates
John Reimer<terminal.node@gmail.com>
parents:
10
diff
changeset
|
2003 gtk_style_get_dark_gc(arg0, arg1, arg2) *arg2 = (arg0)->dark_gc[arg1] |
758bbbe4b86a
Fixup gtk bindings; OS.d updates
John Reimer<terminal.node@gmail.com>
parents:
10
diff
changeset
|
2004 gtk_style_get_mid_gc(arg0, arg1, arg2) *arg2 = (arg0)->mid_gc[arg1] |
758bbbe4b86a
Fixup gtk bindings; OS.d updates
John Reimer<terminal.node@gmail.com>
parents:
10
diff
changeset
|
2005 gtk_style_get_text_gc(arg0, arg1, arg2) *arg2 = (arg0)->text_gc[arg1] |
758bbbe4b86a
Fixup gtk bindings; OS.d updates
John Reimer<terminal.node@gmail.com>
parents:
10
diff
changeset
|
2006 gtk_style_get_text_aa_gc(arg0, arg1, arg2) *arg2 = (arg0)->text_aa_gc[arg1] |
758bbbe4b86a
Fixup gtk bindings; OS.d updates
John Reimer<terminal.node@gmail.com>
parents:
10
diff
changeset
|
2007 gtk_style_get_black_gc(arg0, arg1) *arg1 = (arg0)->black_gc |
758bbbe4b86a
Fixup gtk bindings; OS.d updates
John Reimer<terminal.node@gmail.com>
parents:
10
diff
changeset
|
2008 gtk_style_get_white_gc(arg0, arg1) *arg1 = (arg0)->white_gc |
758bbbe4b86a
Fixup gtk bindings; OS.d updates
John Reimer<terminal.node@gmail.com>
parents:
10
diff
changeset
|
2009 |
758bbbe4b86a
Fixup gtk bindings; OS.d updates
John Reimer<terminal.node@gmail.com>
parents:
10
diff
changeset
|
2010 localeconv_decimal_point() localeconv()->decimal_point |
758bbbe4b86a
Fixup gtk bindings; OS.d updates
John Reimer<terminal.node@gmail.com>
parents:
10
diff
changeset
|
2011 +/ |
40
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2012 |
35
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2013 /************************************************************************** |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2014 |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2015 Utility methods -- conversions of gtk macros |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2016 |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2017 **************************************************************************/ |
40
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2018 static gulong g_signal_connect( gpointer arg0, gchar* arg1, GCallback arg2, gpointer arg3 ) |
35
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2019 { |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2020 lock.lock(); |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2021 scope(exit) lock.unlock(); |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2022 return g_signal_connect_data (arg0, arg1, arg2, arg3, null , cast(GConnectFlags) 0) ; |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2023 } |
40
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2024 |
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2025 static gulong g_signal_connect_after( gpointer arg0, gchar* arg1, GCallback arg2, gpointer arg3 ) |
35
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2026 { |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2027 lock.lock(); |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2028 scope(exit) lock.unlock(); |
40
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2029 return g_signal_connect_data ( arg0, arg1, arg2, arg3, null, GConnectFlags.G_CONNECT_AFTER ); |
35
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2030 } |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2031 |
40
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2032 static GSList* g_slist_next( GSList* arg0 ) |
35
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2033 { |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2034 lock.lock(); |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2035 scope(exit) lock.unlock(); |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2036 return arg0 ? arg0.next : null; |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2037 } |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2038 |
40
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2039 static GList* g_list_next( GList* arg0 ) |
35
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2040 { |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2041 lock.lock(); |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2042 scope(exit) lock.unlock(); |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2043 return arg0 ? arg0.next : null; |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2044 } |
40
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2045 |
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2046 static GList* g_list_previous( GList* arg0 ) |
35
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2047 { |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2048 lock.lock(); |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2049 scope(exit) lock.unlock(); |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2050 return arg0 ? arg0.prev : null; |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2051 } |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2052 |
40
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2053 static Display* GDK_DISPLAY() |
35
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2054 { |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2055 lock.lock(); |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2056 scope(exit) lock.unlock(); |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2057 // gdk_display needs to be a reference to the an external X11 global |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2058 // representing the current X11 display |
40
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2059 return gdk_display; |
35
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2060 } |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2061 |
40
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2062 static GdkWindow* GDK_ROOT_PARENT() |
35
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2063 { |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2064 lock.lock(); |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2065 scope(exit) lock.unlock; |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2066 return gdk_get_default_root_window(); |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2067 } |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2068 |
40
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2069 static GType GDK_TYPE_COLOR() |
35
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2070 { |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2071 lock.lock(); |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2072 scope(exit) lock.unlock; |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2073 return gdk_color_get_type(); |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2074 } |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2075 |
40
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2076 static GType GDK_TYPE_PIXBUF() |
35
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2077 { |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2078 lock.lock(); |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2079 scope(exit) lock.unlock; |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2080 return gdk_pixbuf_get_type(); |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2081 } |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2082 |
40
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2083 static bool GTK_IS_BUTTON( GTypeInstance* arg0 ) |
35
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2084 { |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2085 lock.lock(); |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2086 scope(exit) lock.unlock(); |
40
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2087 return cast(bool)g_type_check_instance_is_a( arg0, gtk_button_get_type() ); |
35
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2088 } |
40
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2089 |
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2090 static bool GTK_IS_WINDOW( GTypeInstance* arg0 ) |
35
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2091 { |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2092 lock.lock(); |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2093 scope(exit) lock.unlock(); |
40
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2094 return cast(bool)g_type_check_instance_is_a( arg0, gtk_window_get_type()); |
35
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2095 } |
40
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2096 |
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2097 static bool GTK_IS_CELL_RENDERER_PIXBUF( GTypeInstance* arg0 ) |
35
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2098 { |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2099 lock.lock(); |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2100 scope(exit) lock.unlock(); |
40
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2101 return cast(bool)g_type_check_instance_is_a( arg0, gtk_cell_renderer_pixbuf_get_type()); |
35
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2102 } |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2103 |
40
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2104 static bool GTK_IS_CELL_RENDERER_TEXT( GTypeInstance* arg0 ) |
35
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2105 { |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2106 lock.lock(); |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2107 scope(exit) lock.unlock(); |
40
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2108 return cast(bool)g_type_check_instance_is_a( arg0, gtk_cell_renderer_text_get_type()); |
35
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2109 } |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2110 |
40
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2111 static bool GTK_IS_CELL_RENDERER_TOGGLE( GTypeInstance* arg0 ) |
35
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2112 { |
40
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2113 lock.lock(); |
35
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2114 scope(exit) lock.unlock(); |
40
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2115 return cast(bool)g_type_check_instance_is_a( arg0, gtk_cell_renderer_toggle_get_type ()); |
35
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2116 } |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2117 |
40
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2118 static bool GTK_IS_CONTAINER( GTypeInstance* arg0 ) |
35
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2119 { |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2120 lock.lock(); |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2121 scope(exit) lock.unlock(); |
40
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2122 return cast(bool)g_type_check_instance_is_a( arg0, gtk_container_get_type () ); |
35
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2123 } |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2124 |
40
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2125 |
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2126 static bool GTK_IS_IMAGE_MENU_ITEM( GTypeInstance* arg0 ) |
35
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2127 { |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2128 lock.lock(); |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2129 scope(exit) lock.unlock(); |
40
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2130 return cast(bool)g_type_check_instance_is_a( arg0, gtk_image_menu_item_get_type ()); |
35
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2131 } |
40
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2132 |
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2133 static bool GTK_IS_PLUG( GTypeInstance* arg0 ) |
35
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2134 { |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2135 lock.lock(); |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2136 scope(exit) lock.unlock(); |
40
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2137 return cast(bool)g_type_check_instance_is_a( arg0, gtk_plug_get_type () ); |
35
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2138 } |
40
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2139 |
35
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2140 // Should use d char[] instead for next two methods? - JJR |
40
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2141 static char* GTK_STOCK_CANCEL() |
35
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2142 { |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2143 lock.lock(); |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2144 scope(exit) lock.unlock(); |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2145 return "gtk-cancel"; |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2146 } |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2147 |
40
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2148 static char* GTK_STOCK_OK() |
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2149 { |
35
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2150 lock.lock(); |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2151 scope(exit) lock.unlock(); |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2152 return "gtk-ok"; |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2153 } |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2154 |
40
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2155 static GType GTK_TYPE_CELL_RENDERER_TEXT() |
35
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2156 { |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2157 lock.lock(); |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2158 scope(exit) lock.unlock(); |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2159 return gtk_cell_renderer_text_get_type(); |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2160 } |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2161 |
40
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2162 static GType GTK_TYPE_CELL_RENDERER_PIXBUF() |
35
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2163 { |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2164 lock.lock(); |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2165 scope(exit) lock.unlock(); |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2166 return gtk_cell_renderer_pixbuf_get_type(); |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2167 } |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2168 |
40
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2169 static GType GTK_TYPE_CELL_RENDERER_TOGGLE () |
35
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2170 { |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2171 lock.lock(); |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2172 scope(exit) lock.unlock(); |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2173 return gtk_cell_renderer_toggle_get_type(); |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2174 } |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2175 |
40
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2176 static GType GTK_TYPE_FIXED() |
35
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2177 { |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2178 lock.lock(); |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2179 scope(exit) lock.unlock(); |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2180 return gtk_fixed_get_type (); |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2181 } |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2182 |
40
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2183 static GType GTK_TYPE_MENU() |
35
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2184 { |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2185 lock.lock(); |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2186 scope(exit) lock.unlock(); |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2187 return gtk_menu_get_type (); |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2188 } |
40
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2189 |
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2190 static GType GTK_TYPE_WIDGET() |
35
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2191 { |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2192 lock.lock(); |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2193 scope(exit) lock.unlock(); |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2194 return gtk_widget_get_type (); |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2195 } |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2196 |
40
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2197 static uint GTK_WIDGET_FLAGS( GtkWidget* arg0 ) |
35
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2198 { |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2199 lock.lock(); |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2200 scope(exit) lock.unlock(); |
40
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2201 return (cast(GtkObject*) g_type_check_instance_cast (cast(GTypeInstance*) arg0, gtk_object_get_type ())).flags ; |
35
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2202 } |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2203 |
40
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2204 static ubyte GTK_WIDGET_STATE( GtkWidget* arg0 ) |
35
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2205 { |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2206 lock.lock(); |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2207 scope(exit) lock.unlock(); |
40
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2208 return ( cast(GtkWidget*) g_type_check_instance_cast (cast(GTypeInstance*)arg0, gtk_widget_get_type ())).state; |
35
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2209 } |
40
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2210 |
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2211 static bool GTK_WIDGET_HAS_DEFAULT( GtkWidget* arg0 ) |
35
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2212 { |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2213 lock.lock(); |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2214 scope(exit) lock.unlock(); |
40
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2215 return ( ( ( cast(GtkObject*) g_type_check_instance_cast (cast(GTypeInstance*)arg0, gtk_object_get_type () )).flags & GtkWidgetFlags.GTK_HAS_DEFAULT) != 0) ; |
35
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2216 } |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2217 |
40
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2218 static bool GTK_WIDGET_HAS_FOCUS( GtkWidget* arg0 ) |
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2219 { |
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2220 lock.lock(); |
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2221 scope(exit) lock.unlock(); |
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2222 return ( ( ( cast(GtkObject*) g_type_check_instance_cast (cast(GTypeInstance*)arg0, gtk_object_get_type () )).flags & GtkWidgetFlags.GTK_HAS_FOCUS) != 0) ; |
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2223 } |
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2224 |
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2225 static bool GTK_WIDGET_IS_SENSITIVE( GtkWidget* arg0 ) |
35
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2226 { |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2227 lock.lock(); |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2228 scope(exit) lock.unlock(); |
40
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2229 return ( ( ( cast (GtkObject*) g_type_check_instance_cast ( cast(GTypeInstance*)arg0, gtk_object_get_type ()) ).flags & GtkWidgetFlags.GTK_SENSITIVE) != 0) && ( ( ( cast(GtkObject*) g_type_check_instance_cast ( cast(GTypeInstance*)arg0, gtk_object_get_type ()) ).flags & GtkWidgetFlags.GTK_PARENT_SENSITIVE) != 0); |
35
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2230 } |
40
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2231 |
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2232 static bool GTK_WIDGET_MAPPED( GtkWidget* arg0 ) |
35
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2233 { |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2234 lock.lock(); |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2235 scope(exit) lock.unlock(); |
40
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2236 return ( ( ( cast(GtkObject*) g_type_check_instance_cast (cast(GTypeInstance*)arg0, gtk_object_get_type () )).flags & GtkWidgetFlags.GTK_MAPPED) != 0) ; |
35
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2237 } |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2238 |
40
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2239 static bool GTK_WIDGET_SENSITIVE( GtkWidget* arg0 ) |
35
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2240 { |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2241 lock.lock(); |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2242 scope(exit) lock.unlock(); |
40
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2243 return ( ( ( cast(GtkObject*) g_type_check_instance_cast (cast(GTypeInstance*)arg0, gtk_object_get_type () )).flags & GTK_SENSITIVE) != 0) ; |
35
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2244 } |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2245 |
40
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2246 static void GTK_WIDGET_SET_FLAGS( GtkWidget* arg0, uint arg1 ) |
35
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2247 { |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2248 lock.lock(); |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2249 scope(exit) lock.unlock(); |
40
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2250 (cast(GtkObject*) g_type_check_instance_cast ( cast(GTypeInstance*)arg0, gtk_object_get_type () ) ).flags |= arg1; |
35
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2251 } |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2252 |
40
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2253 static void GTK_WIDGET_UNSET_FLAGS( GtkWidget* arg0, uint arg1 ) |
35
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2254 { |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2255 lock.lock(); |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2256 scope(exit) lock.unlock(); |
40
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2257 (cast(GtkObject*) g_type_check_instance_cast ( cast(GTypeInstance*)arg0, gtk_object_get_type () ) ).flags &= ~arg1; |
35
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2258 } |
40
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2259 |
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2260 static bool GTK_WIDGET_VISIBLE( GtkWidget* arg0 ) |
35
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2261 { |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2262 lock.lock(); |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2263 scope(exit) lock.unlock(); |
40
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2264 return ( ( ( cast(GtkObject*) g_type_check_instance_cast (cast(GTypeInstance*)arg0, gtk_object_get_type () )).flags & GTK_VISIBLE) != 0) ; |
35
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2265 } |
40
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2266 |
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2267 static GObjectClass* G_OBJECT_CLASS( GTypeClass* arg0 ) |
35
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2268 { |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2269 lock.lock(); |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2270 scope(exit) lock.unlock(); |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2271 return (cast(GObjectClass*) g_type_check_class_cast ( arg0, cast(GType) (20 << 2) ) ) ; |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2272 } |
40
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2273 |
42 | 2274 static GObjectClass* G_OBJECT_GET_CLASS( GTypeInstance* arg0 ) |
40
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2275 { |
35
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2276 lock.lock(); |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2277 scope(exit) lock.unlock(); |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2278 return (cast(GObjectClass*) arg0.g_class) ; |
42 | 2279 } |
35
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2280 |
40
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2281 static gchar* G_OBJECT_TYPE_NAME( GTypeInstance* arg0 ) |
35
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2282 { |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2283 lock.lock(); |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2284 scope(exit) lock.unlock(); |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2285 return g_type_name( (cast(GTypeClass*) arg0.g_class).g_type ) ; |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2286 } |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2287 |
40
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2288 static GType G_TYPE_BOOLEAN() |
35
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2289 { |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2290 lock.lock(); |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2291 scope(exit) lock.unlock(); |
40
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2292 return (cast(GType) (5 << 2)) ; |
35
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2293 } |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2294 |
40
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2295 static GType G_TYPE_INT() |
35
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2296 { |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2297 lock.lock(); |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2298 scope(exit) lock.unlock(); |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2299 return (cast(GType) (6 << 2)); |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2300 } |
40
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2301 |
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2302 static GType G_OBJECT_TYPE( GTypeInstance* arg0 ) |
35
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2303 { |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2304 lock.lock(); |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2305 scope(exit) lock.unlock(); |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2306 return (cast(GTypeClass*) arg0.g_class).g_type; |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2307 } |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2308 |
40
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2309 static GType G_TYPE_STRING() |
35
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2310 { |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2311 lock.lock(); |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2312 scope(exit) lock.unlock(); |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2313 return (cast(GType) (16 << 2)); |
40
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2314 } |
35
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2315 |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2316 |
40
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2317 static int PANGO_PIXELS( int arg0 ) |
35
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2318 { |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2319 lock.lock(); |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2320 scope(exit) lock.unlock(); |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2321 return ((arg0 + 512) >> 10); |
40
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2322 } |
35
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2323 |
40
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2324 static GType PANGO_TYPE_FONT_DESCRIPTION() |
35
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2325 { |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2326 lock.lock(); |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2327 scope(exit) lock.unlock(); |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2328 return pango_font_description_get_type () ; |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2329 } |
40
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2330 |
35
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2331 /************************************************************************** |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2332 |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2333 Utility methods -- conversions of SWT macros |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2334 |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2335 **************************************************************************/ |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2336 |
40
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2337 static gpointer g_list_data( GList* arg0 ) |
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2338 { |
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2339 lock.lock(); |
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2340 scope(exit) lock.unlock(); |
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2341 return arg0.data; |
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2342 } |
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2343 |
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2344 static gpointer g_slist_data( GSList* arg0 ) |
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2345 { |
35
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2346 lock.lock(); |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2347 scope(exit) lock.unlock(); |
40
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2348 return arg0.data; |
35
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2349 } |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2350 |
40
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2351 static void g_list_set_next( GList* arg0, GList* arg1 ) |
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2352 { |
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2353 lock.lock(); |
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2354 scope(exit) lock.unlock(); |
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2355 arg0.next = arg1; |
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2356 } |
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2357 |
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2358 static void g_list_set_previous( GList* arg0, GList* arg1 ) |
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2359 { |
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2360 lock.lock(); |
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2361 scope(exit) lock.unlock(); |
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2362 arg0.prev = arg1; |
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2363 } |
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2364 |
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2365 static char* gtk_rc_style_get_bg_pixmap_name( GtkRcStyle* arg0, int arg1 ) |
35
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2366 { |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2367 lock.lock(); |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2368 scope(exit) lock.unlock(); |
40
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2369 return arg0.bg_pixmap_name[arg1]; |
35
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2370 } |
40
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2371 |
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2372 static int gtk_rc_style_get_color_flags( GtkRcStyle* arg0, int arg1) |
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2373 { |
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2374 lock.lock(); |
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2375 scope(exit) lock.unlock(); |
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2376 return arg0.color_flags[arg1]; |
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2377 } |
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2378 |
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2379 static void gtk_rc_style_set_bg( GtkRcStyle* arg0, int arg1, GdkColor* arg2) |
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2380 { |
35
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2381 lock.lock(); |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2382 scope(exit) lock.unlock(); |
40
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2383 if (arg2 !is null) { |
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2384 arg0.bg[arg1] = *arg2; |
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2385 } |
35
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2386 } |
40
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2387 |
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2388 static void gtk_rc_style_set_bg_pixmap_name( GtkRcStyle* arg0, int arg1, char* arg2) |
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2389 { |
35
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2390 lock.lock(); |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2391 scope(exit) lock.unlock(); |
40
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2392 arg0.bg_pixmap_name[arg1] = arg2; |
35
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2393 } |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2394 |
40
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2395 static void gtk_rc_style_set_color_flags( GtkRcStyle* arg0, int arg1, int arg2) |
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2396 { |
35
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2397 lock.lock(); |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2398 scope(exit) lock.unlock(); |
40
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2399 arg0.color_flags[arg1] = arg2; |
35
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2400 } |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2401 |
40
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2402 static void gtk_rc_style_set_fg( GtkRcStyle* arg0, int arg1, GdkColor* arg2) |
35
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2403 { |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2404 lock.lock(); |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2405 scope(exit) lock.unlock(); |
40
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2406 if (arg2 !is null ) { |
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2407 arg0.fg[arg1] = *arg2; |
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2408 } |
35
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2409 } |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2410 |
40
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2411 static void gtk_rc_style_set_text( GtkRcStyle* arg0, int arg1, GdkColor* arg2) |
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2412 { |
35
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2413 lock.lock(); |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2414 scope(exit) lock.unlock(); |
40
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2415 if (arg2 !is null) { |
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2416 arg0.text[arg1] = *arg2; |
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2417 } |
35
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2418 } |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2419 |
40
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2420 static void* gtk_style_get_font_desc( GtkStyle* arg0 ) |
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2421 { |
35
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2422 lock.lock(); |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2423 scope(exit) lock.unlock(); |
40
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2424 return arg0.font_desc; |
35
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2425 } |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2426 |
40
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2427 static void gtk_style_get_base( GtkStyle* arg0, int arg1, GdkColor* arg2 ) |
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2428 { |
35
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2429 lock.lock(); |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2430 scope(exit) lock.unlock(); |
40
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2431 *arg2 = arg0.base[arg1]; |
35
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2432 } |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2433 |
40
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2434 static void gtk_style_get_bg( GtkStyle* arg0, int arg1, GdkColor* arg2 ) |
35
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2435 { |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2436 lock.lock(); |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2437 scope(exit) lock.unlock(); |
40
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2438 *arg2 = arg0.bg[arg1]; |
35
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2439 } |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2440 |
40
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2441 static void gtk_style_get_black( GtkStyle* arg0, GdkColor* arg1 ) |
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2442 { |
35
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2443 lock.lock(); |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2444 scope(exit) lock.unlock(); |
40
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2445 *arg1 = arg0.black; |
35
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2446 } |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2447 |
40
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2448 static void gtk_style_get_dark( GtkStyle* arg0, int arg1, GdkColor* arg2 ) |
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2449 { |
35
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2450 lock.lock(); |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2451 scope(exit) lock.unlock(); |
40
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2452 *arg2 = arg0.dark[arg1]; |
35
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2453 } |
40
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2454 |
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2455 static void gtk_style_get_fg( GtkStyle* arg0, int arg1, GdkColor* arg2 ) |
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2456 { |
35
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2457 lock.lock(); |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2458 scope(exit) lock.unlock(); |
40
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2459 *arg2 = arg0.fg[arg1]; |
35
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2460 } |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2461 |
40
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2462 static void gtk_style_get_light( GtkStyle* arg0, int arg1, GdkColor* arg2) |
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2463 { |
35
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2464 lock.lock(); |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2465 scope(exit) lock.unlock(); |
40
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2466 *arg2 = arg0.light[arg1]; |
35
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2467 } |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2468 |
40
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2469 static void gtk_style_get_text( GtkStyle* arg0, int arg1, GdkColor* arg2) |
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2470 { |
35
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2471 lock.lock(); |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2472 scope(exit) lock.unlock(); |
40
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2473 *arg2 = arg0.text[arg1]; |
35
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2474 } |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2475 |
40
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2476 static int gtk_style_get_xthickness( GtkStyle* arg0 ) |
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2477 { |
35
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2478 lock.lock(); |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2479 scope(exit) lock.unlock(); |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2480 return arg0.xthickness; |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2481 } |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2482 |
40
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2483 static int gtk_style_get_ythickness( GtkStyle* arg0 ) |
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2484 { |
35
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2485 lock.lock(); |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2486 scope(exit) lock.unlock(); |
40
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2487 return arg0.ythickness; |
35
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2488 } |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2489 |
40
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2490 static void gtk_style_get_fg_gc( GtkStyle* arg0, int arg1, GdkGC** arg2 ) |
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2491 { |
35
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2492 lock.lock(); |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2493 scope(exit) lock.unlock(); |
40
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2494 *arg2 = arg0.fg_gc[arg1]; |
35
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2495 } |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2496 |
40
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2497 static void gtk_style_get_bg_gc( GtkStyle* arg0, int arg1, GdkGC** arg2 ) |
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2498 { |
35
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2499 lock.lock(); |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2500 scope(exit) lock.unlock(); |
40
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2501 *arg2 = arg0.bg_gc[arg1]; |
35
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2502 } |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2503 |
40
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2504 static void gtk_style_get_light_gc( GtkStyle* arg0, int arg1, GdkGC** arg2 ) |
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2505 { |
35
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2506 lock.lock(); |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2507 scope(exit) lock.unlock(); |
40
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2508 *arg2 = arg0.light_gc[arg1]; |
35
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2509 } |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2510 |
40
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2511 static void gtk_style_get_dark_gc( GtkStyle* arg0, int arg1, GdkGC** arg2 ) |
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2512 { |
35
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2513 lock.lock(); |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2514 scope(exit) lock.unlock(); |
40
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2515 *arg2 = arg0.dark_gc[arg1]; |
35
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2516 } |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2517 |
40
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2518 static void gtk_style_get_mid_gc( GtkStyle* arg0, int arg1, GdkGC** arg2 ) |
35
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2519 { |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2520 lock.lock(); |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2521 scope(exit) lock.unlock(); |
40
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2522 *arg2 = arg0.mid_gc[arg1]; |
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2523 } |
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2524 |
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2525 static void gtk_style_get_text_gc( GtkStyle* arg0, int arg1, GdkGC** arg2 ) |
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2526 { |
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2527 lock.lock(); |
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2528 scope(exit) lock.unlock(); |
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2529 *arg2 = arg0.text_gc[arg1]; |
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2530 } |
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2531 |
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2532 static void gtk_style_get_text_aa_gc( GtkStyle* arg0, int arg1, GdkGC** arg2 ) |
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2533 { |
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2534 lock.lock(); |
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2535 scope(exit) lock.unlock(); |
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2536 *arg2 = arg0.text_aa_gc[arg1]; |
35
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2537 } |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2538 |
40
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2539 static void gtk_style_get_black_gc( GtkStyle* arg0, GdkGC** arg1 ) |
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2540 { |
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2541 lock.lock(); |
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2542 scope(exit) lock.unlock(); |
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2543 *arg1 = arg0.black_gc; |
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2544 } |
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2545 |
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2546 static void gtk_style_get_white_gc( GtkStyle* arg0, GdkGC** arg1 ) |
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2547 { |
35
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2548 lock.lock(); |
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2549 scope(exit) lock.unlock(); |
40
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2550 *arg1 = arg0.white_gc; |
35
0b417301f404
Added rest of macro functions to OS.d
John Reimer<terminal.node@gmail.com>
parents:
34
diff
changeset
|
2551 } |
40
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2552 |
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2553 //localeconv_decimal_point() localeconv()->decimal_point |
7 | 2554 } |
40
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2555 |
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2556 |
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2557 |
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2558 |
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2559 |
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2560 |
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2561 |
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2562 |
7fb1ab011933
made macro implementations active, one compile problem in OS.d:2554
Frank Benoit <benoit@tionex.de>
parents:
39
diff
changeset
|
2563 |