]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
vapi: Update GIR-based bindings
authorRico Tzschichholz <ricotz@ubuntu.com>
Sat, 19 May 2018 16:04:01 +0000 (18:04 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Sat, 19 May 2018 16:04:01 +0000 (18:04 +0200)
vapi/atk.vapi
vapi/atspi-2.vapi
vapi/libgsf-1.vapi

index 5054f7c64c9ff5ab2581db5694cf1d2076f7f7e2..37f0a7c92ee5f0a417ab1de1baa5b929836eeed6 100644 (file)
@@ -327,6 +327,10 @@ namespace Atk {
                public abstract Atk.Object? ref_accessible_at_point (int x, int y, Atk.CoordType coord_type);
                [Version (deprecated = true, deprecated_since = "2.9.4")]
                public abstract void remove_focus_handler (uint handler_id);
+               [Version (since = "2.30")]
+               public abstract bool scroll_to (Atk.ScrollType type);
+               [Version (since = "2.30")]
+               public abstract bool scroll_to_point (Atk.CoordType coords, int x, int y);
                public abstract bool set_extents (int x, int y, int width, int height, Atk.CoordType coord_type);
                public abstract bool set_position (int x, int y, Atk.CoordType coord_type);
                public abstract bool set_size (int width, int height);
@@ -617,7 +621,8 @@ namespace Atk {
        [CCode (cheader_filename = "atk/atk.h", cprefix = "ATK_XY_", type_id = "atk_coord_type_get_type ()")]
        public enum CoordType {
                SCREEN,
-               WINDOW
+               WINDOW,
+               PARENT
        }
        [CCode (cheader_filename = "atk/atk.h", cprefix = "ATK_HYPERLINK_IS_", type_id = "atk_hyperlink_state_flags_get_type ()")]
        [Flags]
@@ -811,6 +816,17 @@ namespace Atk {
                [Version (deprecated = true)]
                public static Atk.Role register (string name);
        }
+       [CCode (cheader_filename = "atk/atk.h", cprefix = "ATK_SCROLL_", type_id = "atk_scroll_type_get_type ()")]
+       [Version (since = "2.30")]
+       public enum ScrollType {
+               TOP_LEFT,
+               BOTTOM_RIGHT,
+               TOP_EDGE,
+               BOTTOM_EDGE,
+               LEFT_EDGE,
+               RIGHT_EDGE,
+               ANYWHERE
+       }
        [CCode (cheader_filename = "atk/atk.h", cprefix = "ATK_STATE_", type_id = "atk_state_type_get_type ()")]
        public enum StateType {
                INVALID,
index d97ea86d1be1d8014b0c17790a4e69ace4007a21..e1fbb9413fa68dcef958157728a07d369039176a 100644 (file)
@@ -245,6 +245,8 @@ namespace Atspi {
                public Atspi.Point get_position (Atspi.CoordType ctype) throws GLib.Error;
                public Atspi.Point get_size () throws GLib.Error;
                public bool grab_focus () throws GLib.Error;
+               public bool scroll_to (Atspi.ScrollType type) throws GLib.Error;
+               public bool scroll_to_point (Atspi.CoordType coords, int x, int y) throws GLib.Error;
                public bool set_extents (int x, int y, int width, int height, Atspi.CoordType ctype) throws GLib.Error;
                public bool set_position (int x, int y, Atspi.CoordType ctype) throws GLib.Error;
                public bool set_size (int width, int height) throws GLib.Error;
@@ -487,7 +489,8 @@ namespace Atspi {
        [CCode (cheader_filename = "atspi/atspi.h", cprefix = "ATSPI_COORD_TYPE_", type_id = "atspi_coord_type_get_type ()")]
        public enum CoordType {
                SCREEN,
-               WINDOW
+               WINDOW,
+               PARENT
        }
        [CCode (cheader_filename = "atspi/atspi.h", cprefix = "ATSPI_", type_id = "atspi_event_type_get_type ()")]
        public enum EventType {
@@ -694,6 +697,16 @@ namespace Atspi {
                LAST_DEFINED;
                public string get_name ();
        }
+       [CCode (cheader_filename = "atspi/atspi.h", cprefix = "ATSPI_SCROLL_", type_id = "atspi_scroll_type_get_type ()")]
+       public enum ScrollType {
+               TOP_LEFT,
+               BOTTOM_RIGHT,
+               TOP_EDGE,
+               BOTTOM_EDGE,
+               LEFT_EDGE,
+               RIGHT_EDGE,
+               ANYWHERE
+       }
        [CCode (cheader_filename = "atspi/atspi.h", cprefix = "ATSPI_STATE_", type_id = "atspi_state_type_get_type ()")]
        public enum StateType {
                INVALID,
@@ -849,6 +862,8 @@ namespace Atspi {
        public const int RELATIONTYPE_COUNT;
        [CCode (cheader_filename = "atspi/atspi.h", cname = "ATSPI_ROLE_COUNT")]
        public const int ROLE_COUNT;
+       [CCode (cheader_filename = "atspi/atspi.h", cname = "ATSPI_SCROLLTYPE_COUNT")]
+       public const int SCROLLTYPE_COUNT;
        [CCode (cheader_filename = "atspi/atspi.h", cname = "ATSPI_SORTORDER_COUNT")]
        public const int SORTORDER_COUNT;
        [CCode (cheader_filename = "atspi/atspi.h", cname = "ATSPI_STATETYPE_COUNT")]
index 71eb505f525e61b3f4732fa8dc9c029f9f091388..907dd8ec4d7131021eb854a9f015b11013a1d247 100644 (file)
@@ -325,11 +325,11 @@ namespace Gsf {
                public bool puts (string line);
                [CCode (vfunc_name = "Seek")]
                public virtual bool seek (Gsf.off_t offset, GLib.SeekType whence);
-               public bool set_container (Gsf.Outfile container);
+               public bool set_container (Gsf.Outfile? container);
                public bool set_error (int code, string format, ...);
                public bool set_modtime (GLib.DateTime? modtime);
-               public bool set_name (string name);
-               public bool set_name_from_filename (string filename);
+               public bool set_name (string? name);
+               public bool set_name_from_filename (string? filename);
                public Gsf.off_t tell ();
                public static bool unwrap (GLib.Object wrapper, Gsf.Output wrapee);
                [CCode (vfunc_name = "Vprintf")]