diff options
-rw-r--r-- | vapi/atk.vapi | 18 | ||||
-rw-r--r-- | vapi/atspi-2.vapi | 17 | ||||
-rw-r--r-- | vapi/libgsf-1.vapi | 6 |
3 files changed, 36 insertions, 5 deletions
diff --git a/vapi/atk.vapi b/vapi/atk.vapi index 5054f7c64..37f0a7c92 100644 --- a/vapi/atk.vapi +++ b/vapi/atk.vapi @@ -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, diff --git a/vapi/atspi-2.vapi b/vapi/atspi-2.vapi index d97ea86d1..e1fbb9413 100644 --- a/vapi/atspi-2.vapi +++ b/vapi/atspi-2.vapi @@ -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")] diff --git a/vapi/libgsf-1.vapi b/vapi/libgsf-1.vapi index 71eb505f5..907dd8ec4 100644 --- a/vapi/libgsf-1.vapi +++ b/vapi/libgsf-1.vapi @@ -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")] |