forked from baedert/gtkimageview
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gtkimageview.vapi
30 lines (23 loc) · 1.09 KB
/
gtkimageview.vapi
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
namespace Gtk {
[CCode (cheader_filename = "gtkimageview.h")]
public class ImageView : Gtk.Widget {
public ImageView ();
public bool fit_allocation { get; set; }
public bool scale_set { get; }
public bool transitions_enabled { get; set; }
public bool zoomable { get; set; }
public bool rotatable { get; set; }
public bool snap_angle { get; set; }
public double angle { get; set; }
public double scale { get; set; }
public async void load_from_stream_async (GLib.InputStream input_stream,
int scale_factor,
GLib.Cancellable? cancellable = null);
public async void load_from_file_async (GLib.File file,
int scale_factor,
GLib.Cancellable? cancellable = null) throws GLib.Error;
public void set_animation (Gdk.PixbufAnimation animation, int scale_factor);
public void set_pixbuf (Gdk.Pixbuf pixbuf, int scale_factor);
public void set_surface (Cairo.Surface? surface);
}
}