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