
In particular, rename - libraries to lib*-3.0.so - pc files to *-3.0.pc - include paths to /usr/include/gtk-3.0/* - module paths to /usr/lib/gtk-3.0/* - rc files names to gtk-3.0/gtkrc - commandline utilities to *-3.0 - adjust documentation Also change the install location for unix-print headers to /usr/include/gtk-3.0/unix-print/gtk.
110 lines
1.8 KiB
Plaintext
110 lines
1.8 KiB
Plaintext
<!-- ##### SECTION Title ##### -->
|
|
File Loading
|
|
|
|
<!-- ##### SECTION Short_Description ##### -->
|
|
Loading a pixbuf from a file.
|
|
|
|
<!-- ##### SECTION Long_Description ##### -->
|
|
<para>
|
|
The &gdk-pixbuf; library provides a simple mechanism for loading
|
|
an image from a file in synchronous fashion. This means that the
|
|
library takes control of the application while the file is being
|
|
loaded; from the user's point of view, the application will block
|
|
until the image is done loading.
|
|
</para>
|
|
|
|
<para>
|
|
This interface can be used by applications in which blocking is
|
|
acceptable while an image is being loaded. It can also be used to
|
|
load small images in general. Applications that need progressive
|
|
loading can use the #GdkPixbufLoader functionality instead.
|
|
</para>
|
|
|
|
<!-- ##### SECTION See_Also ##### -->
|
|
<para>
|
|
#GdkPixbufLoader.
|
|
</para>
|
|
|
|
<!-- ##### SECTION Stability_Level ##### -->
|
|
|
|
|
|
<!-- ##### SECTION Image ##### -->
|
|
|
|
|
|
<!-- ##### FUNCTION gdk_pixbuf_new_from_file ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@filename:
|
|
@error:
|
|
@Returns: <!--
|
|
Local variables:
|
|
mode: sgml
|
|
sgml-parent-document: ("../gdk-pixbuf.sgml" "book" "refsect2" "")
|
|
End:
|
|
-->
|
|
|
|
|
|
<!-- ##### FUNCTION gdk_pixbuf_new_from_file_at_size ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@filename:
|
|
@width:
|
|
@height:
|
|
@error:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION gdk_pixbuf_new_from_file_at_scale ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@filename:
|
|
@width:
|
|
@height:
|
|
@preserve_aspect_ratio:
|
|
@error:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION gdk_pixbuf_get_file_info ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@filename:
|
|
@width:
|
|
@height:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION gdk_pixbuf_new_from_stream ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@stream:
|
|
@cancellable:
|
|
@error:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION gdk_pixbuf_new_from_stream_at_scale ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@stream:
|
|
@width:
|
|
@height:
|
|
@preserve_aspect_ratio:
|
|
@cancellable:
|
|
@error:
|
|
@Returns:
|
|
|
|
|