I've no idea here...
[gtkD.git] / gtkD / wrap / APILookupGdkPixbuf.txt
blob68110332dac34b42ffba0e2212678c9572f403e8
2 # This file is part of gtkD.
3
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.
8
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.
13
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
21 ###
22 #####
23 # Definitions for wrapping GdkPixbuf
24 #####
25 ###
29 addTypedefs: start
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;
38 addTypedefs: end
40 addAliases: start
41 addAliases: end
43 addEnums: start
44 addEnums: end
46 addStructs: start
47 addStructs: end
49 addTypes: start
50 addTypes: end
52 addFuncts: start
53 addFuncts: end
55 addUnions: start
56 addUnions: end
58 addConstants: start
59 addConstants: end
62 # must start with wrap
64 wrap: gdk-pixbuf
66 ###########################################################
67 ### GdkPixbuf #############################################
68 ###########################################################
70 #file: gdk-pixbuf-Versioning.html
71 #struct: 
72 #class: 
73 #prefix: 
74 #outFile: 
76 ##################
77 ### moved to gdk and merged with gdk.Pixbuf
78 ##################
80 #file: gdk-pixbuf-creating.html
81 #struct: GdkPixbuf
82 #class: Pixbuf
83 #prefix: gdk_pixbuf_
84 #noprefix: gdk_pixbuf_ref
85 #noprefix: gdk_pixbuf_unref
86 ##import: g.Error*
87 ##structWrap: GError** Error*
88 #import: gdk.Pixbuf
89 #structWrap: GdkPixbuf* Pixbuf
90 #import: gdkpixbuf.PixbufFormat
91 #structWrap: GdkPixbufFormat* PixbufFormat
92 #openFile: Pixbuf
94 #file: gdk-pixbuf-gdk-pixbuf.html
95 #mergeFile:  Pixbuf
97 #file: gdk-pixbuf-refcounting.html
98 #mergeFile:  Pixbuf
100 #file: gdk-pixbuf-file-loading.html
101 #mergeFile:  Pixbuf
103 #file: gdk-pixbuf-file-saving.html
104 #mergeFile:  Pixbuf
106 #file: gdk-pixbuf-scaling.html
107 #mergeFile:  Pixbuf
109 #file: gdk-pixbuf-util.html
110 #closeFile:  Pixbuf
111 ############################
113 file: gdk-pixbuf-inline.html
114 struct: GdkPixdata
115 class: Pixdata
116 prefix: gdk_pixdata_
117 import: gdk.Pixbuf
118 structWrap: GdkPixbuf* Pixbuf
119 #import: g.Error*
120 #structWrap: GError** Error*
121 import: glib.StringG
122 structWrap: GString* StringG
123 import: glib.Str
125 outFile: Pixdata
127 # on gdk
128 #file: gdk-pixbuf-gdk-pixbuf-rendering.html
129 #struct: 
130 #class: 
131 #prefix: 
132 #outFile: 
134 # on gdk
135 #file: gdk-pixbuf-gdk-pixbuf-from-drawables.html
136 #struct: 
137 #class: 
138 #prefix: 
139 #outFile: 
141 file: gdk-pixbuf-animation.html
142 struct: GdkPixbufAnimation
143 class: PixbufAnimation
144 prefix: gdk_pixbuf_animation_
145 #import: g.Error*
146 #structWrap: GError** Error*
147 import: gdkpixbuf.PixbufAnimation
148 structWrap: GdkPixbufAnimation* PixbufAnimation
149 #import: gdkpixbuf.PixbufAnimationIter
150 #structWrap: GdkPixbufAnimationIter* PixbufAnimationIter
151 #import: g.TimeVal
152 #structWrap: GTimeVal* TimeVal
153 import: gdk.Pixbuf
154 structWrap: GdkPixbuf* Pixbuf
155 #import: gdk.PixbufSimpleAnim
156 #structWrap: GdkPixbufSimpleAnim* PixbufSimpleAnim
157 import: glib.Str
159 outFile: PixbufAnimation
161 file: GdkPixbufLoader.html
162 struct: GdkPixbufLoader
163 class: PixbufLoader
164 prefix: gdk_pixbuf_loader_
165 import: gdkpixbuf.PixbufFormat
166 structWrap: GdkPixbufFormat* PixbufFormat
167 #import: g.Error*
168 #structWrap: GError** Error*
169 import: gdk.Pixbuf
170 structWrap: GdkPixbuf* Pixbuf
171 import: gdkpixbuf.PixbufAnimation
172 structWrap: GdkPixbufAnimation* PixbufAnimation
173 import: glib.Str
175 nocode: gdk_pixbuf_loader_new_with_type
176 nocode: gdk_pixbuf_loader_new_with_mime_type
177 code: start
178         /**
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.
185          * type:
186          *  name of the image format or mime to be loaded with the image
187          * error:
188          *  return location for an allocated GError, or NULL to ignore errors
189          * Returns:
190          *  A newly-created pixbuf loader.
191          */
192         public this (char[] type, GError** error, bool isMimeType=false)
193         {
194                 if ( isMimeType )
195                 {
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) );
198                 }
199                 else
200                 {
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) );
203                 }
204         }
205 code: end
207 outFile: PixbufLoader
209 #file: gdk-pixbuf-gdk-pixbuf-xlib-init.html
210 #class: XLib
211 #prefix: gdk_pixbuf_xlib_
212 #outFile: XLib
214 #file: gdk-pixbuf-gdk-pixbuf-xlib-rendering.html
215 ##struct: GdkPixbuf
216 #class: XLibRender
217 #prefix: gdk_pixbuf_xlib_render_
218 #outFile: XLibRender
220 #file: gdk-pixbuf-gdk-pixbuf-xlib-from-drawables.html
221 ##struct: GdkPixbuf
222 #class: XDrawables
223 #prefix: gdk_pixbuf_xlib_
224 #outFile: XDrawables
226 #file: gdk-pixbuf-gdk-pixbuf-xlib-rgb.html
227 ##struct: 
228 #class: XLibRGB
229 #prefix: xlib_
230 #outFile: XLibRGB
232 file: gdk-pixbuf-Module-Interface.html
233 struct: GdkPixbufFormat
234 class: PixbufFormat
235 prefix: gdk_pixbuf_format_
236 import: gdk.Pixbuf
237 structWrap: GdkPixbuf* Pixbuf
238 import: glib.ListSG
239 structWrap: GSList* ListSG
240 import: glib.Str
241 openFile: PixbufFormat
243 file: gdk-pixbuf-file-loading.html
244 prefix: gdk_pixbuf_
245 strictPrefix: Y
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