2 # This file is part of gtkD.
4 # gtkD is free software; you can redistribute it and/or modify
5 # it under the terms of the GNU Lesser General Public License as published by
6 # the Free Software Foundation; either version 2.1 of the License, or
7 # (at your option) any later version.
9 # gtkD is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 # GNU Lesser General Public License for more details.
14 # You should have received a copy of the GNU Lesser General Public License
15 # along with gtkD; if not, write to the Free Software
16 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
23 # Definitions for wrapping GdkPixbuf
31 public import gtkc.glibtypes;
32 public import gtkc.gobjecttypes;
33 public import gtkc.gdktypes;
34 public alias void* AtkFocusHandler;
35 public struct AtkStateSet;
36 public struct AtkRectangle;
62 # must start with wrap
66 ###########################################################
67 ### GdkPixbuf #############################################
68 ###########################################################
70 #file: gdk-pixbuf-Versioning.html
77 ### moved to gdk and merged with gdk.Pixbuf
80 #file: gdk-pixbuf-creating.html
84 #noprefix: gdk_pixbuf_ref
85 #noprefix: gdk_pixbuf_unref
87 ##structWrap: GError** Error*
89 #structWrap: GdkPixbuf* Pixbuf
90 #import: gdkpixbuf.PixbufFormat
91 #structWrap: GdkPixbufFormat* PixbufFormat
94 #file: gdk-pixbuf-gdk-pixbuf.html
97 #file: gdk-pixbuf-refcounting.html
100 #file: gdk-pixbuf-file-loading.html
103 #file: gdk-pixbuf-file-saving.html
106 #file: gdk-pixbuf-scaling.html
109 #file: gdk-pixbuf-util.html
111 ############################
113 file: gdk-pixbuf-inline.html
118 structWrap: GdkPixbuf* Pixbuf
120 #structWrap: GError** Error*
122 structWrap: GString* StringG
128 #file: gdk-pixbuf-gdk-pixbuf-rendering.html
135 #file: gdk-pixbuf-gdk-pixbuf-from-drawables.html
141 file: gdk-pixbuf-animation.html
142 struct: GdkPixbufAnimation
143 class: PixbufAnimation
144 prefix: gdk_pixbuf_animation_
146 #structWrap: GError** Error*
147 import: gdkpixbuf.PixbufAnimation
148 structWrap: GdkPixbufAnimation* PixbufAnimation
149 #import: gdkpixbuf.PixbufAnimationIter
150 #structWrap: GdkPixbufAnimationIter* PixbufAnimationIter
152 #structWrap: GTimeVal* TimeVal
154 structWrap: GdkPixbuf* Pixbuf
155 #import: gdk.PixbufSimpleAnim
156 #structWrap: GdkPixbufSimpleAnim* PixbufSimpleAnim
159 outFile: PixbufAnimation
161 file: GdkPixbufLoader.html
162 struct: GdkPixbufLoader
164 prefix: gdk_pixbuf_loader_
165 import: gdkpixbuf.PixbufFormat
166 structWrap: GdkPixbufFormat* PixbufFormat
168 #structWrap: GError** Error*
170 structWrap: GdkPixbuf* Pixbuf
171 import: gdkpixbuf.PixbufAnimation
172 structWrap: GdkPixbufAnimation* PixbufAnimation
175 nocode: gdk_pixbuf_loader_new_with_type
176 nocode: gdk_pixbuf_loader_new_with_mime_type
179 * Creates a new pixbuf loader object that always attempts to parse
180 * image data as if it were an image of type image_type or mime_type, instead of
181 * identifying the type automatically. Useful if you want an error if
182 * the image isn't the expected type, for loading image formats
183 * that can't be reliably identified by looking at the data, or if
184 * the user manually forces a specific type.
186 * name of the image format or mime to be loaded with the image
188 * return location for an allocated GError, or NULL to ignore errors
190 * A newly-created pixbuf loader.
192 public this (char[] type, GError** error, bool isMimeType=false)
196 // GdkPixbufLoader* gdk_pixbuf_loader_new_with_mime_type (const char *mime_type, GError **error);
197 this(cast(GdkPixbufLoader*)gdk_pixbuf_loader_new_with_mime_type(Str.toStringz(type), error) );
201 // GdkPixbufLoader* gdk_pixbuf_loader_new_with_type (const char *image_type, GError **error);
202 this(cast(GdkPixbufLoader*)gdk_pixbuf_loader_new_with_type(Str.toStringz(type), error) );
207 outFile: PixbufLoader
209 #file: gdk-pixbuf-gdk-pixbuf-xlib-init.html
211 #prefix: gdk_pixbuf_xlib_
214 #file: gdk-pixbuf-gdk-pixbuf-xlib-rendering.html
217 #prefix: gdk_pixbuf_xlib_render_
220 #file: gdk-pixbuf-gdk-pixbuf-xlib-from-drawables.html
223 #prefix: gdk_pixbuf_xlib_
226 #file: gdk-pixbuf-gdk-pixbuf-xlib-rgb.html
232 file: gdk-pixbuf-Module-Interface.html
233 struct: GdkPixbufFormat
235 prefix: gdk_pixbuf_format_
237 structWrap: GdkPixbuf* Pixbuf
239 structWrap: GSList* ListSG
241 openFile: PixbufFormat
243 file: gdk-pixbuf-file-loading.html
247 noprefix: gdk_pixbuf_new_from_file
248 noprefix: gdk_pixbuf_new_from_file_at_size
249 noprefix: gdk_pixbuf_new_from_file_at_scale
251 nocode: gdk_pixbuf_new_from_file
252 nocode: gdk_pixbuf_new_from_file_at_size
253 nocode: gdk_pixbuf_new_from_file_at_scale
254 closeFile: PixbufFormat