File: gtkimageview.vapi

package info (click to toggle)
feedreader 2.7.1-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 10,868 kB
  • sloc: ansic: 11,829; xml: 879; php: 170; sh: 32; makefile: 16; python: 14
file content (30 lines) | stat: -rw-r--r-- 908 bytes parent folder | download | duplicates (2)
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);
	public void set_pixbuf (Gdk.Pixbuf pixbuf);
	public void set_surface (Cairo.Surface? surface);
  }
}