From: Rico Tzschichholz Date: Wed, 20 Aug 2014 14:01:25 +0000 (+0200) Subject: gtk+-2.0, gtk+-3.0: port lots of annotations from the GIR version X-Git-Tag: 0.25.2~14 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5cd3511d5085be43c408e5738add97fd4bd6133e;p=thirdparty%2Fvala.git gtk+-2.0, gtk+-3.0: port lots of annotations from the GIR version --- diff --git a/vapi/gtk+-2.0.vapi b/vapi/gtk+-2.0.vapi index 47ab68500..a77de08e4 100644 --- a/vapi/gtk+-2.0.vapi +++ b/vapi/gtk+-2.0.vapi @@ -240,6 +240,8 @@ namespace Gtk { public static GLib.SList list_ids (); [CCode (cheader_filename = "gtk/gtk.h")] public static bool lookup (string stock_id, out Gtk.StockItem item); + [CCode (cheader_filename = "gtk/gtk.h")] + public static void set_translate_func (string domain, owned Gtk.TranslateFunc func); } namespace Timeout { [CCode (cheader_filename = "gtk/gtk.h")] @@ -253,11 +255,14 @@ namespace Gtk { public class AboutDialog : Gtk.Dialog, Atk.Implementor, Gtk.Buildable { [CCode (has_construct_function = false, type = "GtkWidget*")] public AboutDialog (); - public unowned string get_artists (); - public unowned string get_authors (); + [CCode (array_length = false, array_null_terminated = true)] + public unowned string[] get_artists (); + [CCode (array_length = false, array_null_terminated = true)] + public unowned string[] get_authors (); public unowned string get_comments (); public unowned string get_copyright (); - public unowned string get_documenters (); + [CCode (array_length = false, array_null_terminated = true)] + public unowned string[] get_documenters (); public unowned string get_license (); public unowned Gdk.Pixbuf get_logo (); public unowned string get_logo_icon_name (); @@ -267,11 +272,11 @@ namespace Gtk { public unowned string get_website (); public unowned string get_website_label (); public bool get_wrap_license (); - public void set_artists ([CCode (array_length = false)] string[] artists); - public void set_authors ([CCode (array_length = false)] string[] authors); + public void set_artists ([CCode (array_length = false, array_null_terminated = true)] string[] artists); + public void set_authors ([CCode (array_length = false, array_null_terminated = true)] string[] authors); public void set_comments (string comments); public void set_copyright (string copyright); - public void set_documenters ([CCode (array_length = false)] string[] documenters); + public void set_documenters ([CCode (array_length = false, array_null_terminated = true)] string[] documenters); public static void set_email_hook (owned Gtk.AboutDialogActivateLinkFunc func); public void set_license (string license); public void set_logo (Gdk.Pixbuf logo); @@ -319,7 +324,7 @@ namespace Gtk { public bool get_is_locked (); public Gdk.ModifierType get_modifier_mask (); public void @lock (); - public unowned Gtk.AccelGroupEntry query (uint accel_key, Gdk.ModifierType accel_mods, uint n_entries); + public unowned Gtk.AccelGroupEntry[] query (uint accel_key, Gdk.ModifierType accel_mods); public void unlock (); public bool is_locked { get; } public Gdk.ModifierType modifier_mask { get; } @@ -625,7 +630,7 @@ namespace Gtk { public Gdk.ModifierType modifiers; public weak Gtk.BindingEntry set_next; public weak Gtk.BindingSignal signals; - public static void add_signal (Gtk.BindingSet binding_set, uint keyval, Gdk.ModifierType modifiers, string signal_name, uint n_args); + public static void add_signal (Gtk.BindingSet binding_set, uint keyval, Gdk.ModifierType modifiers, string signal_name, uint n_args, ...); public static void add_signall (Gtk.BindingSet binding_set, uint keyval, Gdk.ModifierType modifiers, string signal_name, GLib.SList binding_args); public static void remove (Gtk.BindingSet binding_set, uint keyval, Gdk.ModifierType modifiers); public static void skip (Gtk.BindingSet binding_set, uint keyval, Gdk.ModifierType modifiers); @@ -638,12 +643,11 @@ namespace Gtk { public uint parsed; public int priority; public weak string set_name; - [CCode (has_construct_function = false)] - public BindingSet (string set_name); public bool activate (uint keyval, Gdk.ModifierType modifiers, Gtk.Object object); public void add_path (Gtk.PathType path_type, string path_pattern, Gtk.PathPriorityType priority); - public static unowned Gtk.BindingSet by_class (void* object_class); + public static unowned Gtk.BindingSet by_class (GLib.ObjectClass object_class); public static unowned Gtk.BindingSet find (string set_name); + public static unowned Gtk.BindingSet @new (string name); } [CCode (cheader_filename = "gtk/gtk.h")] [Compact] @@ -697,8 +701,8 @@ namespace Gtk { public Builder (); public uint add_from_file (string filename) throws GLib.Error; public uint add_from_string (string buffer, size_t length) throws GLib.Error; - public uint add_objects_from_file (string filename, [CCode (array_length = false)] string[] object_ids) throws GLib.Error; - public uint add_objects_from_string (string buffer, size_t length, [CCode (array_length = false)] string[] object_ids) throws GLib.Error; + public uint add_objects_from_file (string filename, [CCode (array_length = false, array_null_terminated = true)] string[] object_ids) throws GLib.Error; + public uint add_objects_from_string (string buffer, size_t length, [CCode (array_length = false, array_null_terminated = true)] string[] object_ids) throws GLib.Error; public void connect_signals (void* user_data); public void connect_signals_full (Gtk.BuilderConnectFunc func); public static GLib.Quark error_quark (); @@ -707,8 +711,8 @@ namespace Gtk { public unowned string get_translation_domain (); public virtual GLib.Type get_type_from_name (string type_name); public void set_translation_domain (string domain); - public bool value_from_string (GLib.ParamSpec pspec, string str, GLib.Value value) throws GLib.Error; - public bool value_from_string_type (GLib.Type type, string str, GLib.Value value) throws GLib.Error; + public bool value_from_string (GLib.ParamSpec pspec, string str, out GLib.Value value) throws GLib.Error; + public bool value_from_string_type (GLib.Type type, string str, out GLib.Value value) throws GLib.Error; public string translation_domain { get; set; } } [CCode (cheader_filename = "gtk/gtk.h")] @@ -1113,7 +1117,7 @@ namespace Gtk { public class CellView : Gtk.Widget, Atk.Implementor, Gtk.Buildable, Gtk.CellLayout { [CCode (has_construct_function = false, type = "GtkWidget*")] public CellView (); - public unowned Gtk.TreePath get_displayed_row (); + public Gtk.TreePath get_displayed_row (); public unowned Gtk.TreeModel get_model (); public bool get_size_of_row (Gtk.TreePath path, out Gtk.Requisition requisition); public void set_background_color (Gdk.Color color); @@ -1234,8 +1238,8 @@ namespace Gtk { public uint16 get_previous_alpha (); public void get_previous_color (out Gdk.Color color); public bool is_adjusting (); - public static bool palette_from_string (string str, Gdk.Color[] colors); - public static unowned string palette_to_string (Gdk.Color[] colors); + public static bool palette_from_string (string str, out Gdk.Color[] colors); + public static string palette_to_string (Gdk.Color[] colors); public static unowned Gtk.ColorSelectionChangePaletteWithScreenFunc set_change_palette_with_screen_hook (Gtk.ColorSelectionChangePaletteWithScreenFunc func); public void set_current_alpha (uint16 alpha); public void set_current_color (Gdk.Color color); @@ -1364,10 +1368,10 @@ namespace Gtk { public void add_with_properties (Gtk.Widget widget, ...); public void child_get (Gtk.Widget child, ...); public void child_get_property (Gtk.Widget child, string property_name, GLib.Value value); - public void child_get_valist (Gtk.Widget child, string first_property_name, void* var_args); + public void child_get_valist (Gtk.Widget child, string first_property_name, va_list var_args); public void child_set (Gtk.Widget child, ...); public void child_set_property (Gtk.Widget child, string property_name, GLib.Value value); - public void child_set_valist (Gtk.Widget child, string first_property_name, void* var_args); + public void child_set_valist (Gtk.Widget child, string first_property_name, va_list var_args); public virtual GLib.Type child_type (); public static unowned GLib.ParamSpec class_find_child_property (GLib.ObjectClass cclass, string property_name); public static unowned GLib.ParamSpec class_list_child_properties (GLib.ObjectClass cclass, uint n_properties); @@ -1381,7 +1385,7 @@ namespace Gtk { [NoWrapper] public virtual void get_child_property (Gtk.Widget child, uint property_id, GLib.Value value, GLib.ParamSpec pspec); public GLib.List get_children (); - public bool get_focus_chain (out GLib.List focusable_widgets); + public bool get_focus_chain (out GLib.List focusable_widgets); public unowned Gtk.Widget get_focus_child (); public unowned Gtk.Adjustment get_focus_hadjustment (); public unowned Gtk.Adjustment get_focus_vadjustment (); @@ -1462,7 +1466,7 @@ namespace Gtk { public int run (); [CCode (sentinel = "-1")] public void set_alternative_button_order (...); - public void set_alternative_button_order_from_array (int n_params, int new_order); + public void set_alternative_button_order_from_array ([CCode (array_length_pos = 0.5)] int[] new_order); public void set_default_response (int response_id); public void set_has_separator (bool setting); public void set_response_sensitive (int response_id, bool setting); @@ -1528,8 +1532,8 @@ namespace Gtk { public bool get_icon_sensitive (Gtk.EntryIconPosition icon_pos); public unowned string get_icon_stock (Gtk.EntryIconPosition icon_pos); public Gtk.ImageType get_icon_storage_type (Gtk.EntryIconPosition icon_pos); - public unowned string get_icon_tooltip_markup (Gtk.EntryIconPosition icon_pos); - public unowned string get_icon_tooltip_text (Gtk.EntryIconPosition icon_pos); + public string? get_icon_tooltip_markup (Gtk.EntryIconPosition icon_pos); + public string? get_icon_tooltip_text (Gtk.EntryIconPosition icon_pos); public unowned Gdk.Window get_icon_window (Gtk.EntryIconPosition icon_pos); public unowned Gtk.Border get_inner_border (); public unichar get_invisible_char (); @@ -1917,7 +1921,7 @@ namespace Gtk { [NoWrapper] public virtual void compute_child_allocation (Gtk.Allocation allocation); public unowned string get_label (); - public void get_label_align (float xalign, float yalign); + public void get_label_align (out float xalign, out float yalign); public unowned Gtk.Widget get_label_widget (); public Gtk.ShadowType get_shadow_type (); public void set_label (string label); @@ -2033,8 +2037,8 @@ namespace Gtk { public virtual bool filter_keypress (Gdk.EventKey event); public virtual void focus_in (); public virtual void focus_out (); - public virtual void get_preedit_string (out unowned string str, out Pango.AttrList attrs, out int cursor_pos); - public virtual bool get_surrounding (out unowned string text, out int cursor_index); + public virtual void get_preedit_string (out string str, out Pango.AttrList attrs, out int cursor_pos); + public virtual bool get_surrounding (out string text, out int cursor_index); public virtual void reset (); public virtual void set_client_window (Gdk.Window window); public virtual void set_cursor_location (Gdk.Rectangle area); @@ -2059,7 +2063,7 @@ namespace Gtk { public int tentative_match_len; [CCode (has_construct_function = false, type = "GtkIMContext*")] public IMContextSimple (); - public void add_table (uint16 data, int max_seq_len, int n_seqs); + public void add_table ([CCode (array_length = false)] uint16[] data, int max_seq_len, int n_seqs); } [CCode (cheader_filename = "gtk/gtk.h")] public class IMMulticontext : Gtk.IMContext { @@ -2088,7 +2092,7 @@ namespace Gtk { public Gtk.IconInfo copy (); [CCode (has_construct_function = false)] public IconInfo.for_pixbuf (Gtk.IconTheme icon_theme, Gdk.Pixbuf pixbuf); - public bool get_attach_points (Gdk.Point[] points); + public bool get_attach_points (out Gdk.Point[] points); public int get_base_size (); public unowned Gdk.Pixbuf get_builtin_pixbuf (); public unowned string get_display_name (); @@ -2143,7 +2147,7 @@ namespace Gtk { public Gtk.IconInfo choose_icon ([CCode (array_length = false, array_null_terminated = true)] string[] icon_names, int size, Gtk.IconLookupFlags flags); public static GLib.Quark error_quark (); public static unowned Gtk.IconTheme get_default (); - public unowned string get_example_icon_name (); + public string? get_example_icon_name (); public static unowned Gtk.IconTheme get_for_screen (Gdk.Screen screen); [CCode (array_length = false, array_null_terminated = true)] public int[] get_icon_sizes (string icon_name); @@ -2158,7 +2162,7 @@ namespace Gtk { public bool rescan_if_needed (); public void set_custom_theme (string theme_name); public void set_screen (Gdk.Screen screen); - public void set_search_path (string[] path, int n_elements); + public void set_search_path (string[] path); public virtual signal void changed (); } [CCode (cheader_filename = "gtk/gtk.h")] @@ -2166,7 +2170,7 @@ namespace Gtk { [CCode (has_construct_function = false, type = "GtkWidget*")] public IconView (); public void convert_widget_to_bin_window_coords (int wx, int wy, int bx, int by); - public unowned Gdk.Pixmap create_drag_icon (Gtk.TreePath path); + public Gdk.Pixmap create_drag_icon (Gtk.TreePath path); public void enable_model_drag_dest (Gtk.TargetEntry[] targets, Gdk.DragAction actions); public void enable_model_drag_source (Gdk.ModifierType start_button_mask, Gtk.TargetEntry[] targets, Gdk.DragAction actions); public int get_column_spacing (); @@ -2184,7 +2188,7 @@ namespace Gtk { public int get_markup_column (); public unowned Gtk.TreeModel get_model (); public Gtk.Orientation get_orientation (); - public unowned Gtk.TreePath get_path_at_pos (int x, int y); + public Gtk.TreePath get_path_at_pos (int x, int y); public int get_pixbuf_column (); public bool get_reorderable (); public int get_row_spacing (); @@ -2604,7 +2608,7 @@ namespace Gtk { public void insert_before (out Gtk.TreeIter iter, Gtk.TreeIter? sibling); [CCode (sentinel = "-1")] public void insert_with_values (out Gtk.TreeIter iter, int position, ...); - public void insert_with_valuesv (out Gtk.TreeIter iter, int position, int columns, GLib.Value[] values); + public void insert_with_valuesv (out Gtk.TreeIter iter, int position, [CCode (array_length_pos = 4.1)] int[] columns, [CCode (array_length_pos = 4.1)] GLib.Value[] values); public bool iter_is_valid (Gtk.TreeIter iter); public void move_after (ref Gtk.TreeIter iter, Gtk.TreeIter? position); public void move_before (ref Gtk.TreeIter iter, Gtk.TreeIter? position); @@ -2612,13 +2616,13 @@ namespace Gtk { public ListStore.newv ([CCode (array_length_pos = 0.9)] GLib.Type[] types); public void prepend (out Gtk.TreeIter iter); public bool remove (Gtk.TreeIter iter); - public void reorder (int new_order); + public void reorder ([CCode (array_length = false, array_null_terminated = true)] int[] new_order); [CCode (sentinel = "-1")] public void @set (Gtk.TreeIter iter, ...); public void set_column_types ([CCode (array_length_pos = 0.9)] GLib.Type[] types); - public void set_valist (Gtk.TreeIter iter, void* var_args); + public void set_valist (Gtk.TreeIter iter, va_list var_args); public void set_value (Gtk.TreeIter iter, int column, GLib.Value value); - public void set_valuesv (Gtk.TreeIter iter, int columns, GLib.Value[] values); + public void set_valuesv (Gtk.TreeIter iter, [CCode (array_length_pos = 3.1)] int[] columns, [CCode (array_length_pos = 3.1)] GLib.Value[] values); public void swap (Gtk.TreeIter a, Gtk.TreeIter b); } [CCode (cheader_filename = "gtk/gtk.h")] @@ -2977,7 +2981,7 @@ namespace Gtk { public class OffscreenWindow : Gtk.Window, Atk.Implementor, Gtk.Buildable { [CCode (has_construct_function = false, type = "GtkWidget*")] public OffscreenWindow (); - public unowned Gdk.Pixbuf get_pixbuf (); + public Gdk.Pixbuf get_pixbuf (); public unowned Gdk.Pixmap get_pixmap (); } [CCode (cheader_filename = "gtk/gtk.h")] @@ -3114,12 +3118,12 @@ namespace Gtk { public class PrintContext : GLib.Object { [CCode (has_construct_function = false)] protected PrintContext (); - public unowned Pango.Context create_pango_context (); - public unowned Pango.Layout create_pango_layout (); + public Pango.Context create_pango_context (); + public Pango.Layout create_pango_layout (); public unowned Cairo.Context get_cairo_context (); public double get_dpi_x (); public double get_dpi_y (); - public bool get_hard_margins (double top, double bottom, double left, double right); + public bool get_hard_margins (out double top, out double bottom, out double left, out double right); public double get_height (); public unowned Gtk.PageSetup get_page_setup (); public unowned Pango.FontMap get_pango_fontmap (); @@ -3227,10 +3231,10 @@ namespace Gtk { public Gtk.NumberUpLayout get_number_up_layout (); public Gtk.PageOrientation get_orientation (); public unowned string get_output_bin (); - public unowned Gtk.PageRange get_page_ranges (int num_ranges); + public Gtk.PageRange[] get_page_ranges (); public Gtk.PageSet get_page_set (); public double get_paper_height (Gtk.Unit unit); - public unowned Gtk.PaperSize get_paper_size (); + public Gtk.PaperSize get_paper_size (); public double get_paper_width (Gtk.Unit unit); public Gtk.PrintPages get_print_pages (); public unowned string get_printer (); @@ -3261,7 +3265,7 @@ namespace Gtk { public void set_number_up_layout (Gtk.NumberUpLayout number_up_layout); public void set_orientation (Gtk.PageOrientation orientation); public void set_output_bin (string output_bin); - public void set_page_ranges (Gtk.PageRange page_ranges, int num_ranges); + public void set_page_ranges ([CCode (array_length_pos = 1.1)] Gtk.PageRange[] page_ranges); public void set_page_set (Gtk.PageSet page_set); public void set_paper_height (double height, Gtk.Unit unit); public void set_paper_size (Gtk.PaperSize paper_size); @@ -3621,7 +3625,7 @@ namespace Gtk { public GLib.List get_items (); public int get_limit (); public bool has_item (string uri); - public unowned Gtk.RecentInfo lookup_item (string uri) throws GLib.Error; + public Gtk.RecentInfo lookup_item (string uri) throws GLib.Error; public bool move_item (string uri, string new_uri) throws GLib.Error; public int purge_items () throws GLib.Error; public bool remove_item (string uri) throws GLib.Error; @@ -3693,14 +3697,14 @@ namespace Gtk { public weak Gtk.Widget minus_button; public weak Gtk.Widget plus_button; [CCode (has_construct_function = false, type = "GtkWidget*")] - public ScaleButton (Gtk.IconSize size, double min = 0.0, double max = 100.0, double step = 2.0, [CCode (array_length = false)] string[]? icons = null); + public ScaleButton (Gtk.IconSize size, double min = 0.0, double max = 100.0, double step = 2.0, [CCode (array_length = false, array_null_terminated = true)] string[]? icons = null); public unowned Gtk.Adjustment get_adjustment (); public unowned Gtk.Widget get_minus_button (); public unowned Gtk.Widget get_plus_button (); public unowned Gtk.Widget get_popup (); public double get_value (); public void set_adjustment (Gtk.Adjustment adjustment); - public void set_icons ([CCode (array_length = false)] string[] icons); + public void set_icons ([CCode (array_length = false, array_null_terminated = true)] string[] icons); public void set_value (double value); public Gtk.Adjustment adjustment { get; set; } [CCode (array_length = false, array_null_terminated = true)] @@ -3731,7 +3735,7 @@ namespace Gtk { public unowned Gtk.Adjustment get_hadjustment (); public unowned Gtk.Widget get_hscrollbar (); public Gtk.CornerType get_placement (); - public void get_policy (Gtk.PolicyType hscrollbar_policy, Gtk.PolicyType vscrollbar_policy); + public void get_policy (out Gtk.PolicyType hscrollbar_policy, out Gtk.PolicyType vscrollbar_policy); public Gtk.ShadowType get_shadow_type (); public unowned Gtk.Adjustment get_vadjustment (); public unowned Gtk.Widget get_vscrollbar (); @@ -3783,7 +3787,7 @@ namespace Gtk { public void @set (Gdk.Atom type, int format, uchar[] data); public bool set_pixbuf (Gdk.Pixbuf pixbuf); public bool set_text (string str, int len); - public bool set_uris ([CCode (array_length = false)] string[] uris); + public bool set_uris ([CCode (array_length = false, array_null_terminated = true)] string[] uris); public bool targets_include_image (bool writable); public bool targets_include_rich_text (Gtk.TextBuffer buffer); public bool targets_include_text (); @@ -4031,7 +4035,7 @@ namespace Gtk { public void configure (Gtk.Adjustment adjustment, double climb_rate, uint digits); public unowned Gtk.Adjustment get_adjustment (); public uint get_digits (); - public void get_increments (double step, double page); + public void get_increments (out double step, out double page); public bool get_numeric (); public void get_range (out double min, out double max); public bool get_snap_to_ticks (); @@ -4062,7 +4066,7 @@ namespace Gtk { public double value { get; set; } public bool wrap { get; set; } public virtual signal void change_value (Gtk.ScrollType scroll); - public virtual signal int input (void* new_value); + public virtual signal int input (out double new_value); public virtual signal bool output (); public virtual signal void value_changed (); public virtual signal void wrapped (); @@ -4101,8 +4105,8 @@ namespace Gtk { public unowned string get_stock (); public Gtk.ImageType get_storage_type (); public unowned string get_title (); - public unowned string get_tooltip_markup (); - public unowned string get_tooltip_text (); + public string get_tooltip_markup (); + public string get_tooltip_text (); public bool get_visible (); public uint32 get_x11_window_id (); public bool is_embedded (); @@ -4141,8 +4145,8 @@ namespace Gtk { public string stock { owned get; set; } public Gtk.ImageType storage_type { get; } public string title { get; set; } - public string tooltip_markup { get; set; } - public string tooltip_text { get; set; } + public string tooltip_markup { owned get; set; } + public string tooltip_text { owned get; set; } public bool visible { get; set; } public virtual signal void activate (); public virtual signal bool button_press_event (Gdk.EventButton event); @@ -4308,7 +4312,7 @@ namespace Gtk { public uint get_default_row_spacing (); public bool get_homogeneous (); public uint get_row_spacing (uint row); - public void get_size (uint rows, uint columns); + public void get_size (out uint rows, out uint columns); public void resize (uint rows, uint columns); public void set_col_spacing (uint column, uint spacing); public void set_col_spacings (uint spacing); @@ -4367,7 +4371,7 @@ namespace Gtk { public void add_table (Gtk.TargetEntry[]? targets); public void add_text_targets (uint info); public void add_uri_targets (uint info); - public bool find (Gdk.Atom target, uint info); + public bool find (Gdk.Atom target, out uint? info); public void remove (Gdk.Atom target); } [CCode (cheader_filename = "gtk/gtk.h")] @@ -4405,7 +4409,7 @@ namespace Gtk { [CCode (cheader_filename = "gtk/gtk.h", ref_function = "gtk_text_attributes_ref", type_id = "gtk_text_attributes_get_type ()", unref_function = "gtk_text_attributes_unref")] [Compact] public class TextAttributes { - public weak Gtk.TextAppearance appearance; + public Gtk.TextAppearance appearance; public uint bg_full_height; public Gtk.TextDirection direction; public uint editable; @@ -4414,7 +4418,7 @@ namespace Gtk { public int indent; public uint invisible; public Gtk.Justification justification; - public weak Pango.Language language; + public Pango.Language language; public int left_margin; public uint pad1; public uint pad2; @@ -4788,7 +4792,7 @@ namespace Gtk { public int get_border_window_size (Gtk.TextWindowType type); public unowned Gtk.TextBuffer get_buffer (); public bool get_cursor_visible (); - public unowned Gtk.TextAttributes get_default_attributes (); + public Gtk.TextAttributes get_default_attributes (); public bool get_editable (); public unowned Gtk.Adjustment get_hadjustment (); public int get_indent (); @@ -4804,7 +4808,7 @@ namespace Gtk { public int get_pixels_below_lines (); public int get_pixels_inside_wrap (); public int get_right_margin (); - public unowned Pango.TabArray get_tabs (); + public Pango.TabArray get_tabs (); public unowned Gtk.Adjustment get_vadjustment (); public void get_visible_rect (out Gdk.Rectangle visible_rect); public unowned Gdk.Window get_window (Gtk.TextWindowType win); @@ -4854,7 +4858,7 @@ namespace Gtk { public int pixels_below_lines { get; set; } public int pixels_inside_wrap { get; set; } public int right_margin { get; set; } - public Pango.TabArray tabs { get; set; } + public Pango.TabArray tabs { owned get; set; } public Gtk.WrapMode wrap_mode { get; set; } public virtual signal void backspace (); public virtual signal void copy_clipboard (); @@ -5102,9 +5106,9 @@ namespace Gtk { public TreeModelFilter (Gtk.TreeModel child_model, Gtk.TreePath? root); public void clear_cache (); public bool convert_child_iter_to_iter (out Gtk.TreeIter filter_iter, Gtk.TreeIter child_iter); - public unowned Gtk.TreePath convert_child_path_to_path (Gtk.TreePath child_path); + public Gtk.TreePath convert_child_path_to_path (Gtk.TreePath child_path); public void convert_iter_to_child_iter (out Gtk.TreeIter child_iter, Gtk.TreeIter filter_iter); - public unowned Gtk.TreePath convert_path_to_child_path (Gtk.TreePath filter_path); + public Gtk.TreePath convert_path_to_child_path (Gtk.TreePath filter_path); public unowned Gtk.TreeModel get_model (); public void refilter (); public void set_modify_func ([CCode (array_length_pos = 0.9)] GLib.Type[] types, owned Gtk.TreeModelFilterModifyFunc func); @@ -5137,9 +5141,9 @@ namespace Gtk { protected TreeModelSort (); public void clear_cache (); public bool convert_child_iter_to_iter (out Gtk.TreeIter sort_iter, Gtk.TreeIter child_iter); - public unowned Gtk.TreePath convert_child_path_to_path (Gtk.TreePath child_path); + public Gtk.TreePath convert_child_path_to_path (Gtk.TreePath child_path); public void convert_iter_to_child_iter (out Gtk.TreeIter child_iter, Gtk.TreeIter sorted_iter); - public unowned Gtk.TreePath convert_path_to_child_path (Gtk.TreePath sorted_path); + public Gtk.TreePath convert_path_to_child_path (Gtk.TreePath sorted_path); public unowned Gtk.TreeModel get_model (); public bool iter_is_valid (Gtk.TreeIter iter); public void reset_default_sort_func (); @@ -5246,7 +5250,7 @@ namespace Gtk { public void insert_before (out Gtk.TreeIter iter, Gtk.TreeIter? parent, Gtk.TreeIter? sibling); [CCode (sentinel = "-1")] public void insert_with_values (out Gtk.TreeIter iter, Gtk.TreeIter? parent, int position, ...); - public void insert_with_valuesv (out Gtk.TreeIter iter, Gtk.TreeIter? parent, int position, int columns, GLib.Value[] values); + public void insert_with_valuesv (out Gtk.TreeIter iter, Gtk.TreeIter? parent, int position, [CCode (array_length_pos = 5.1)] int[] columns, [CCode (array_length_pos = 5.1)] GLib.Value[] values); public bool is_ancestor (Gtk.TreeIter iter, Gtk.TreeIter descendant); public int iter_depth (Gtk.TreeIter iter); public bool iter_is_valid (Gtk.TreeIter iter); @@ -5279,7 +5283,7 @@ namespace Gtk { public void convert_tree_to_widget_coords (int tx, int ty, out int wx, out int wy); public void convert_widget_to_bin_window_coords (int wx, int wy, out int bx, out int by); public void convert_widget_to_tree_coords (int wx, int wy, out int tx, out int ty); - public unowned Gdk.Pixmap create_row_drag_icon (Gtk.TreePath path); + public Gdk.Pixmap create_row_drag_icon (Gtk.TreePath path); public void enable_model_drag_dest (Gtk.TargetEntry[] targets, Gdk.DragAction actions); public void enable_model_drag_source (Gdk.ModifierType start_button_mask, Gtk.TargetEntry[] targets, Gdk.DragAction actions); public void expand_all (); @@ -5327,7 +5331,7 @@ namespace Gtk { [CCode (cname = "gtk_tree_view_row_expanded")] public bool is_row_expanded (Gtk.TreePath path); public bool is_rubber_banding_active (); - public void map_expanded_rows (Gtk.TreeViewMappingFunc func, void* data); + public void map_expanded_rows (Gtk.TreeViewMappingFunc func); public void move_column_after (Gtk.TreeViewColumn column, Gtk.TreeViewColumn base_column); public int remove_column (Gtk.TreeViewColumn column); public void scroll_to_cell (Gtk.TreePath? path, Gtk.TreeViewColumn? column, bool use_align, float row_align, float col_align); @@ -5505,7 +5509,7 @@ namespace Gtk { public unowned GLib.List get_action_groups (); public bool get_add_tearoffs (); public GLib.SList get_toplevels (Gtk.UIManagerItemType types); - public unowned string get_ui (); + public string get_ui (); public virtual unowned Gtk.Widget get_widget (string path); public void insert_action_group (Gtk.ActionGroup action_group, int pos); public uint new_merge_id (); @@ -5513,7 +5517,7 @@ namespace Gtk { public void remove_ui (uint merge_id); public void set_add_tearoffs (bool add_tearoffs); public bool add_tearoffs { get; set; } - public string ui { get; } + public string ui { owned get; } public virtual signal void actions_changed (); public virtual signal void add_widget (Gtk.Widget widget); public virtual signal void connect_proxy (Gtk.Action action, Gtk.Widget proxy); @@ -5591,18 +5595,18 @@ namespace Gtk { public uchar state; public Gdk.Window window; [CCode (construct_function = "gtk_widget_new", has_new_function = false)] - public Widget (...); + public Widget (GLib.Type type, ...); public bool activate (); public void add_accelerator (string accel_signal, Gtk.AccelGroup accel_group, uint accel_key, Gdk.ModifierType accel_mods, Gtk.AccelFlags accel_flags); public void add_events (int events); public void add_mnemonic_label (Gtk.Widget label); public bool child_focus (Gtk.DirectionType direction); - public void class_path (out uint path_length, out unowned string path, out unowned string path_reversed); + public void class_path (out uint path_length, out string path, out string path_reversed); public Pango.Context create_pango_context (); public Pango.Layout create_pango_layout (string? text); public void destroyed (out unowned Gtk.Widget widget_pointer); [NoWrapper] - public virtual void dispatch_child_properties_changed (uint n_pspecs, out unowned GLib.ParamSpec pspecs); + public virtual void dispatch_child_properties_changed ([CCode (array_length_pos = 0.5)] out GLib.ParamSpec[] pspecs); public void ensure_style (); public void error_bell (); [CCode (cname = "gtk_widget_class_find_style_property")] @@ -5618,7 +5622,7 @@ namespace Gtk { public bool get_child_visible (); public unowned Gtk.Clipboard get_clipboard (Gdk.Atom selection); public unowned Gdk.Colormap get_colormap (); - public unowned string get_composite_name (); + public string get_composite_name (); public static unowned Gdk.Colormap get_default_colormap (); public static Gtk.TextDirection get_default_direction (); public static unowned Gtk.Style get_default_style (); @@ -5650,8 +5654,8 @@ namespace Gtk { public unowned Gdk.Pixmap get_snapshot (Gdk.Rectangle clip_rect); public Gtk.StateType get_state (); public unowned Gtk.Style get_style (); - public unowned string get_tooltip_markup (); - public unowned string get_tooltip_text (); + public string get_tooltip_markup (); + public string get_tooltip_text (); public unowned Gtk.Window get_tooltip_window (); public unowned Gtk.Widget get_toplevel (); public bool get_visible (); @@ -5689,7 +5693,7 @@ namespace Gtk { public bool is_sensitive (); [CCode (cname = "GTK_WIDGET_TOPLEVEL")] public bool is_toplevel (); - public GLib.List list_accel_closures (); + public GLib.List list_accel_closures (); public GLib.List list_mnemonic_labels (); [CCode (cname = "gtk_widget_class_list_style_properties")] public class unowned GLib.ParamSpec list_style_properties (uint n_properties); @@ -5700,7 +5704,7 @@ namespace Gtk { public void modify_font (Pango.FontDescription? font_desc); public void modify_style (Gtk.RcStyle style); public void modify_text (Gtk.StateType state, Gdk.Color? color); - public void path (out uint path_length, out unowned string path, out unowned string path_reversed); + public void path (out uint path_length, out string path, out string path_reversed); public static void pop_colormap (); public static void pop_composite_child (); public static void push_colormap (Gdk.Colormap cmap); @@ -5709,7 +5713,7 @@ namespace Gtk { public void queue_draw_area (int x, int y, int width, int height); public void queue_resize (); public void queue_resize_no_redraw (); - public unowned Gdk.Region region_intersect (Gdk.Region region); + public Gdk.Region region_intersect (Gdk.Region region); public bool remove_accelerator (Gtk.AccelGroup accel_group, uint accel_key, Gdk.ModifierType accel_mods); public void remove_mnemonic_label (Gtk.Widget label); public Gdk.Pixbuf render_icon (string stock_id, Gtk.IconSize size, string? detail); @@ -5759,7 +5763,7 @@ namespace Gtk { public void style_attach (); public void style_get (...); public void style_get_property (string property_name, ref GLib.Value value); - public void style_get_valist (string first_property_name, void* var_args); + public void style_get_valist (string first_property_name, va_list var_args); public void thaw_child_notify (); public bool translate_coordinates (Gtk.Widget dest_widget, int src_x, int src_y, out int dest_x, out int dest_y); public void trigger_tooltip_query (); @@ -5790,8 +5794,8 @@ namespace Gtk { public bool receives_default { get; set; } public bool sensitive { get; set; } public Gtk.Style style { get; set; } - public string tooltip_markup { get; set; } - public string tooltip_text { get; set; } + public string tooltip_markup { owned get; set; } + public string tooltip_text { owned get; set; } public bool visible { get; set; } [NoAccessorMethod] public int width_request { get; set; } @@ -5991,7 +5995,7 @@ namespace Gtk { public void set_default (Gtk.Widget default_widget); public static void set_default_icon (Gdk.Pixbuf icon); public static bool set_default_icon_from_file (string filename) throws GLib.Error; - public static void set_default_icon_list (GLib.List list); + public static void set_default_icon_list (owned GLib.List list); public static void set_default_icon_name (string name); public void set_default_size (int width, int height); public void set_deletable (bool setting); @@ -6105,7 +6109,7 @@ namespace Gtk { [CCode (cheader_filename = "gtk/gtk.h")] public interface Buildable : GLib.Object { public abstract void add_child (Gtk.Builder builder, GLib.Object child, string? type); - public abstract unowned GLib.Object construct_child (Gtk.Builder builder, string name); + public abstract GLib.Object construct_child (Gtk.Builder builder, string name); public abstract void custom_finished (Gtk.Builder builder, GLib.Object? child, string tagname, void* data); public abstract void custom_tag_end (Gtk.Builder builder, GLib.Object? child, string tagname, out void* data); public abstract bool custom_tag_start (Gtk.Builder builder, GLib.Object? child, string tagname, out GLib.MarkupParser parser, out void* data); @@ -6145,8 +6149,8 @@ namespace Gtk { [NoWrapper] public abstract void do_delete_text (int start_pos, int end_pos); [NoWrapper] - public abstract void do_insert_text (string text, int length, int position); - public abstract unowned string get_chars (int start_pos, int end_pos); + public abstract void do_insert_text (string text, int length, ref int position); + public abstract string get_chars (int start_pos, int end_pos); public bool get_editable (); public abstract int get_position (); public abstract bool get_selection_bounds (out int start_pos, out int end_pos); @@ -6170,17 +6174,17 @@ namespace Gtk { public Gtk.FileChooserAction get_action (); public bool get_create_folders (); public string get_current_folder (); - public unowned GLib.File get_current_folder_file (); + public GLib.File get_current_folder_file (); public string get_current_folder_uri (); public bool get_do_overwrite_confirmation (); public unowned Gtk.Widget get_extra_widget (); - public unowned GLib.File get_file (); + public GLib.File get_file (); public string get_filename (); public GLib.SList get_filenames (); public GLib.SList get_files (); public unowned Gtk.FileFilter get_filter (); public bool get_local_only (); - public unowned GLib.File get_preview_file (); + public GLib.File get_preview_file (); public string get_preview_filename (); public string get_preview_uri (); public unowned Gtk.Widget get_preview_widget (); @@ -6225,11 +6229,11 @@ namespace Gtk { public Gtk.FileChooserAction action { get; set; } public bool create_folders { get; set; } public bool do_overwrite_confirmation { get; set; } - public Gtk.Widget extra_widget { get; set; } + public Gtk.Widget extra_widget { owned get; set; } public string file_system_backend { construct; } - public Gtk.FileFilter filter { get; set; } + public Gtk.FileFilter filter { owned get; set; } public bool local_only { get; set; } - public Gtk.Widget preview_widget { get; set; } + public Gtk.Widget preview_widget { owned get; set; } public bool preview_widget_active { get; set; } public bool select_multiple { get; set; } public bool show_hidden { get; set; } @@ -6261,8 +6265,8 @@ namespace Gtk { public interface RecentChooser : GLib.Object { public abstract void add_filter (Gtk.RecentFilter filter); public static GLib.Quark error_quark (); - public unowned Gtk.RecentInfo get_current_item (); - public abstract unowned string get_current_uri (); + public Gtk.RecentInfo get_current_item (); + public abstract string get_current_uri (); public unowned Gtk.RecentFilter get_filter (); public abstract GLib.List get_items (); public int get_limit (); @@ -6275,7 +6279,7 @@ namespace Gtk { public bool get_show_private (); public bool get_show_tips (); public Gtk.RecentSortType get_sort_type (); - public unowned string get_uris (size_t length); + public string[] get_uris (); public abstract GLib.SList list_filters (); public abstract void remove_filter (Gtk.RecentFilter filter); public abstract void select_all (); @@ -6293,7 +6297,7 @@ namespace Gtk { public void set_sort_type (Gtk.RecentSortType sort_type); public abstract void unselect_all (); public abstract void unselect_uri (string uri); - public Gtk.RecentFilter filter { get; set; } + public Gtk.RecentFilter filter { owned get; set; } public int limit { get; set; } public bool local_only { get; set; } public Gtk.RecentManager recent_manager { construct; } @@ -6390,11 +6394,7 @@ namespace Gtk { public weak Gtk.ActionCallback callback; } [CCode (cheader_filename = "gtk/gtk.h")] - public struct Allocation { - public int x; - public int y; - public int width; - public int height; + public struct Allocation : Gdk.Rectangle { } [CCode (cheader_filename = "gtk/gtk.h,gtk/gtkimmodule.h")] public struct IMContextInfo { @@ -6520,21 +6520,21 @@ namespace Gtk { public unichar get_char (); public int get_chars_in_line (); public unowned Gtk.TextChildAnchor get_child_anchor (); - public unowned Pango.Language get_language (); + public Pango.Language get_language (); public int get_line (); public int get_line_index (); public int get_line_offset (); public GLib.SList get_marks (); public int get_offset (); public unowned Gdk.Pixbuf get_pixbuf (); - public unowned string get_slice (Gtk.TextIter end); + public string get_slice (Gtk.TextIter end); public GLib.SList get_tags (); - public unowned string get_text (Gtk.TextIter end); + public string get_text (Gtk.TextIter end); public GLib.SList get_toggled_tags (bool toggled_on); public int get_visible_line_index (); public int get_visible_line_offset (); - public unowned string get_visible_slice (Gtk.TextIter end); - public unowned string get_visible_text (Gtk.TextIter end); + public string get_visible_slice (Gtk.TextIter end); + public string get_visible_text (Gtk.TextIter end); public bool has_tag (Gtk.TextTag tag); public bool in_range (Gtk.TextIter start, Gtk.TextIter end); public bool inside_sentence (); @@ -6835,13 +6835,6 @@ namespace Gtk { ACCEPT_FILENAME, SELECT_AGAIN } - [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_FILE_CHOOSER_ERROR_")] - public enum FileChooserError { - NONEXISTENT, - BAD_FILENAME, - ALREADY_EXISTS, - INCOMPLETE_HOSTNAME - } [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_FILE_FILTER_")] [Flags] public enum FileFilterFlags { @@ -6881,11 +6874,6 @@ namespace Gtk { DND, DIALOG } - [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_ICON_THEME_")] - public enum IconThemeError { - NOT_FOUND, - FAILED - } [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_ICON_VIEW_")] public enum IconViewDropPosition { NO_DROP, @@ -7177,11 +7165,6 @@ namespace Gtk { UNBIND, LAST } - [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_RECENT_CHOOSER_ERROR_")] - public enum RecentChooserError { - NOT_FOUND, - INVALID_URI - } [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_RECENT_FILTER_")] [Flags] public enum RecentFilterFlags { @@ -7192,16 +7175,6 @@ namespace Gtk { GROUP, AGE } - [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_RECENT_MANAGER_ERROR_")] - public enum RecentManagerError { - NOT_FOUND, - INVALID_URI, - INVALID_ENCODING, - NOT_REGISTERED, - READ, - WRITE, - UNKNOWN - } [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_RECENT_SORT_")] public enum RecentSortType { NONE, @@ -7541,6 +7514,33 @@ namespace Gtk { VERSION_MISMATCH, DUPLICATE_ID } + [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_FILE_CHOOSER_ERROR_")] + public errordomain FileChooserError { + NONEXISTENT, + BAD_FILENAME, + ALREADY_EXISTS, + INCOMPLETE_HOSTNAME + } + [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_ICON_THEME_")] + public errordomain IconThemeError { + NOT_FOUND, + FAILED + } + [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_RECENT_CHOOSER_ERROR_")] + public errordomain RecentChooserError { + NOT_FOUND, + INVALID_URI + } + [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_RECENT_MANAGER_ERROR_")] + public errordomain RecentManagerError { + NOT_FOUND, + INVALID_URI, + INVALID_ENCODING, + NOT_REGISTERED, + READ, + WRITE, + UNKNOWN + } [CCode (cheader_filename = "gtk/gtk.h")] public delegate void AboutDialogActivateLinkFunc (Gtk.AboutDialog about, string link_); [CCode (cheader_filename = "gtk/gtk.h")] @@ -8378,6 +8378,7 @@ namespace Gtk { [Deprecated (replacement = "Gtk.Stock.list_ids", since = "vala-0.12")] public static GLib.SList stock_list_ids (); [CCode (cheader_filename = "gtk/gtk.h")] + [Deprecated (replacement = "Gtk.Stock.set_translate_func", since = "vala-0.26")] public static void stock_set_translate_func (string domain, owned Gtk.TranslateFunc func); [CCode (cheader_filename = "gtk/gtk.h")] public static void target_table_free (Gtk.TargetEntry[] targets); diff --git a/vapi/gtk+-3.0.vapi b/vapi/gtk+-3.0.vapi index 697d5322c..a24c43543 100644 --- a/vapi/gtk+-3.0.vapi +++ b/vapi/gtk+-3.0.vapi @@ -222,17 +222,22 @@ namespace Gtk { public static GLib.SList list_ids (); [CCode (cheader_filename = "gtk/gtk.h")] public static bool lookup (string stock_id, out Gtk.StockItem item); + [CCode (cheader_filename = "gtk/gtk.h")] + public static void set_translate_func (string domain, owned Gtk.TranslateFunc func); } [CCode (cheader_filename = "gtk/gtk.h")] public class AboutDialog : Gtk.Dialog, Atk.Implementor, Gtk.Buildable { [CCode (has_construct_function = false, type = "GtkWidget*")] public AboutDialog (); - public void add_credit_section (string section_name, string people); - public unowned string get_artists (); - public unowned string get_authors (); + public void add_credit_section (string section_name, [CCode (array_length = false, array_null_terminated = true)] string[] people); + [CCode (array_length = false, array_null_terminated = true)] + public unowned string[] get_artists (); + [CCode (array_length = false, array_null_terminated = true)] + public unowned string[] get_authors (); public unowned string get_comments (); public unowned string get_copyright (); - public unowned string get_documenters (); + [CCode (array_length = false, array_null_terminated = true)] + public unowned string[] get_documenters (); public unowned string get_license (); public Gtk.License get_license_type (); public unowned Gdk.Pixbuf get_logo (); @@ -243,11 +248,11 @@ namespace Gtk { public unowned string get_website (); public unowned string get_website_label (); public bool get_wrap_license (); - public void set_artists ([CCode (array_length = false)] string[] artists); - public void set_authors ([CCode (array_length = false)] string[] authors); + public void set_artists ([CCode (array_length = false, array_null_terminated = true)] string[] artists); + public void set_authors ([CCode (array_length = false, array_null_terminated = true)] string[] authors); public void set_comments (string comments); public void set_copyright (string copyright); - public void set_documenters ([CCode (array_length = false)] string[] documenters); + public void set_documenters ([CCode (array_length = false, array_null_terminated = true)] string[] documenters); public void set_license (string license); public void set_license_type (Gtk.License license_type); public void set_logo (Gdk.Pixbuf logo); @@ -310,7 +315,7 @@ namespace Gtk { public class AccelLabel : Gtk.Label, Atk.Implementor, Gtk.Buildable { [CCode (has_construct_function = false, type = "GtkWidget*")] public AccelLabel (string str); - public void get_accel (uint accelerator_key, Gdk.ModifierType accelerator_mods); + public void get_accel (out uint accelerator_key, out Gdk.ModifierType accelerator_mods); public unowned Gtk.Widget get_accel_widget (); public uint get_accel_width (); public bool refetch (); @@ -589,8 +594,10 @@ namespace Gtk { public Application (string application_id, GLib.ApplicationFlags flags); public void add_accelerator (string accelerator, string action_name, GLib.Variant? parameter); public void add_window (Gtk.Window window); - public string get_accels_for_action (string detailed_action_name); - public string get_actions_for_accel (string accel); + [CCode (array_length = false, array_null_terminated = true)] + public string[] get_accels_for_action (string detailed_action_name); + [CCode (array_length = false, array_null_terminated = true)] + public string[] get_actions_for_accel (string accel); public unowned Gtk.Window get_active_window (); public unowned GLib.MenuModel get_app_menu (); public unowned GLib.Menu get_menu_by_id (string id); @@ -599,7 +606,8 @@ namespace Gtk { public unowned GLib.List get_windows (); public uint inhibit (Gtk.Window? window, Gtk.ApplicationInhibitFlags flags, string? reason); public bool is_inhibited (Gtk.ApplicationInhibitFlags flags); - public string list_action_descriptions (); + [CCode (array_length = false, array_null_terminated = true)] + public string[] list_action_descriptions (); public bool prefers_app_menu (); public void remove_accelerator (string action_name, GLib.Variant? parameter); public void remove_window (Gtk.Window window); @@ -725,13 +733,12 @@ namespace Gtk { public uint parsed; public int priority; public weak string set_name; - [CCode (has_construct_function = false)] - public BindingSet (string set_name); public bool activate (uint keyval, Gdk.ModifierType modifiers, GLib.Object object); [Deprecated (since = "3.0")] public void add_path (Gtk.PathType path_type, string path_pattern, Gtk.PathPriorityType priority); - public static unowned Gtk.BindingSet by_class (void* object_class); + public static unowned Gtk.BindingSet by_class (GLib.ObjectClass object_class); public static unowned Gtk.BindingSet find (string set_name); + public static unowned Gtk.BindingSet @new (string name); } [CCode (cheader_filename = "gtk/gtk.h")] [Compact] @@ -777,9 +784,9 @@ namespace Gtk { public uint add_from_file (string filename) throws GLib.Error; public uint add_from_resource (string resource_path) throws GLib.Error; public uint add_from_string (string buffer, size_t length) throws GLib.Error; - public uint add_objects_from_file (string filename, [CCode (array_length = false)] string[] object_ids) throws GLib.Error; - public uint add_objects_from_resource (string resource_path, [CCode (array_length = false)] string[] object_ids) throws GLib.Error; - public uint add_objects_from_string (string buffer, size_t length, [CCode (array_length = false)] string[] object_ids) throws GLib.Error; + public uint add_objects_from_file (string filename, [CCode (array_length = false, array_null_terminated = true)] string[] object_ids) throws GLib.Error; + public uint add_objects_from_resource (string resource_path, [CCode (array_length = false, array_null_terminated = true)] string[] object_ids) throws GLib.Error; + public uint add_objects_from_string (string buffer, size_t length, [CCode (array_length = false, array_null_terminated = true)] string[] object_ids) throws GLib.Error; public void connect_signals (void* user_data); public void connect_signals_full (Gtk.BuilderConnectFunc func); public static GLib.Quark error_quark (); @@ -798,8 +805,8 @@ namespace Gtk { public unowned GLib.Callback lookup_callback_symbol (string callback_name); public void set_application (Gtk.Application application); public void set_translation_domain (string domain); - public bool value_from_string (GLib.ParamSpec pspec, string str, GLib.Value value) throws GLib.Error; - public bool value_from_string_type (GLib.Type type, string str, GLib.Value value) throws GLib.Error; + public bool value_from_string (GLib.ParamSpec pspec, string str, out GLib.Value value) throws GLib.Error; + public bool value_from_string_type (GLib.Type type, string str, out GLib.Value value) throws GLib.Error; public string translation_domain { get; set; } } [CCode (cheader_filename = "gtk/gtk.h")] @@ -944,20 +951,20 @@ namespace Gtk { public int attribute_get_column (Gtk.CellRenderer renderer, string attribute); public void cell_get (Gtk.CellRenderer renderer, ...); public void cell_get_property (Gtk.CellRenderer renderer, string property_name, GLib.Value value); - public void cell_get_valist (Gtk.CellRenderer renderer, string first_property_name, void* var_args); + public void cell_get_valist (Gtk.CellRenderer renderer, string first_property_name, va_list var_args); public void cell_set (Gtk.CellRenderer renderer, ...); public void cell_set_property (Gtk.CellRenderer renderer, string property_name, GLib.Value value); - public void cell_set_valist (Gtk.CellRenderer renderer, string first_property_name, void* var_args); - public virtual unowned Gtk.CellAreaContext copy_context (Gtk.CellAreaContext context); - public virtual unowned Gtk.CellAreaContext create_context (); + public void cell_set_valist (Gtk.CellRenderer renderer, string first_property_name, va_list var_args); + public virtual Gtk.CellAreaContext copy_context (Gtk.CellAreaContext context); + public virtual Gtk.CellAreaContext create_context (); public virtual int event (Gtk.CellAreaContext context, Gtk.Widget widget, Gdk.Event event, Gdk.Rectangle cell_area, Gtk.CellRendererState flags); [CCode (cname = "gtk_cell_area_class_find_cell_property")] public class unowned GLib.ParamSpec find_cell_property (string property_name); public virtual bool focus (Gtk.DirectionType direction); public virtual void @foreach (Gtk.CellCallback callback); - public virtual void foreach_alloc (Gtk.CellAreaContext context, Gtk.Widget widget, Gdk.Rectangle cell_area, Gdk.Rectangle background_area, Gtk.CellAllocCallback callback, void* callback_data); - public void get_cell_allocation (Gtk.CellAreaContext context, Gtk.Widget widget, Gtk.CellRenderer renderer, Gdk.Rectangle cell_area, Gdk.Rectangle allocation); - public unowned Gtk.CellRenderer get_cell_at_position (Gtk.CellAreaContext context, Gtk.Widget widget, Gdk.Rectangle cell_area, int x, int y, Gdk.Rectangle alloc_area); + public virtual void foreach_alloc (Gtk.CellAreaContext context, Gtk.Widget widget, Gdk.Rectangle cell_area, Gdk.Rectangle background_area, Gtk.CellAllocCallback callback); + public Gdk.Rectangle get_cell_allocation (Gtk.CellAreaContext context, Gtk.Widget widget, Gtk.CellRenderer renderer, Gdk.Rectangle cell_area); + public unowned Gtk.CellRenderer get_cell_at_position (Gtk.CellAreaContext context, Gtk.Widget widget, Gdk.Rectangle cell_area, int x, int y, out Gdk.Rectangle alloc_area); [NoWrapper] public virtual void get_cell_property (Gtk.CellRenderer renderer, uint property_id, GLib.Value value, GLib.ParamSpec pspec); public unowned string get_current_path_string (); @@ -965,14 +972,14 @@ namespace Gtk { public unowned Gtk.CellRenderer get_edited_cell (); public unowned Gtk.CellRenderer get_focus_cell (); public unowned Gtk.CellRenderer get_focus_from_sibling (Gtk.CellRenderer renderer); - public unowned GLib.List get_focus_siblings (Gtk.CellRenderer renderer); + public unowned GLib.List get_focus_siblings (Gtk.CellRenderer renderer); public virtual void get_preferred_height (Gtk.CellAreaContext context, Gtk.Widget widget, out int minimum_height, out int natural_height); public virtual void get_preferred_height_for_width (Gtk.CellAreaContext context, Gtk.Widget widget, int width, out int minimum_height, out int natural_height); public virtual void get_preferred_width (Gtk.CellAreaContext context, Gtk.Widget widget, out int minimum_width, out int natural_width); public virtual void get_preferred_width_for_height (Gtk.CellAreaContext context, Gtk.Widget widget, int height, out int minimum_width, out int natural_width); public virtual Gtk.SizeRequestMode get_request_mode (); public bool has_renderer (Gtk.CellRenderer renderer); - public void inner_cell_area (Gtk.Widget widget, Gdk.Rectangle cell_area, Gdk.Rectangle inner_area); + public Gdk.Rectangle inner_cell_area (Gtk.Widget widget, Gdk.Rectangle cell_area); [CCode (cname = "gtk_cell_area_class_install_cell_property")] public class void install_cell_property (uint property_id, GLib.ParamSpec pspec); public virtual bool is_activatable (); @@ -982,7 +989,7 @@ namespace Gtk { public virtual void remove (Gtk.CellRenderer renderer); public void remove_focus_sibling (Gtk.CellRenderer renderer, Gtk.CellRenderer sibling); public virtual void render (Gtk.CellAreaContext context, Gtk.Widget widget, Cairo.Context cr, Gdk.Rectangle background_area, Gdk.Rectangle cell_area, Gtk.CellRendererState flags, bool paint_focus); - public void request_renderer (Gtk.CellRenderer renderer, Gtk.Orientation orientation, Gtk.Widget widget, int for_size, int minimum_size, int natural_size); + public void request_renderer (Gtk.CellRenderer renderer, Gtk.Orientation orientation, Gtk.Widget widget, int for_size, out int minimum_size, out int natural_size); [NoWrapper] public virtual void set_cell_property (Gtk.CellRenderer renderer, uint property_id, GLib.Value value, GLib.ParamSpec pspec); public void set_focus_cell (Gtk.CellRenderer renderer); @@ -1009,7 +1016,7 @@ namespace Gtk { [CCode (has_construct_function = false)] protected CellAreaContext (); public virtual void allocate (int width, int height); - public void get_allocation (int width, int height); + public void get_allocation (out int width, out int height); public unowned Gtk.CellArea get_area (); public void get_preferred_height (out int minimum_height, out int natural_height); public virtual void get_preferred_height_for_width (int width, out int minimum_height, out int natural_height); @@ -1313,7 +1320,7 @@ namespace Gtk { public class CellView : Gtk.Widget, Atk.Implementor, Gtk.Buildable, Gtk.CellLayout, Gtk.Orientable { [CCode (has_construct_function = false, type = "GtkWidget*")] public CellView (); - public unowned Gtk.TreePath get_displayed_row (); + public Gtk.TreePath get_displayed_row (); public bool get_draw_sensitive (); public bool get_fit_model (); public unowned Gtk.TreeModel get_model (); @@ -1469,15 +1476,15 @@ namespace Gtk { public uint16 get_current_alpha (); [Deprecated (replacement = "get_current_rgba", since = "3.4")] public void get_current_color (out Gdk.Color color); - public void get_current_rgba (Gdk.RGBA rgba); + public Gdk.RGBA get_current_rgba (); public bool get_has_opacity_control (); public bool get_has_palette (); public uint16 get_previous_alpha (); public void get_previous_color (out Gdk.Color color); - public void get_previous_rgba (Gdk.RGBA rgba); + public Gdk.RGBA get_previous_rgba (); public bool is_adjusting (); - public static bool palette_from_string (string str, Gdk.Color[] colors); - public static unowned string palette_to_string (Gdk.Color[] colors); + public static bool palette_from_string (string str, out Gdk.Color[] colors); + public static string palette_to_string (Gdk.Color[] colors); public static unowned Gtk.ColorSelectionChangePaletteWithScreenFunc set_change_palette_with_screen_hook (Gtk.ColorSelectionChangePaletteWithScreenFunc func); public void set_current_alpha (uint16 alpha); [Deprecated (replacement = "set_current_rgba", since = "3.4")] @@ -1577,7 +1584,7 @@ namespace Gtk { public string tearoff_title { owned get; set; } public int wrap_width { get; set; } public virtual signal void changed (); - public virtual signal unowned string format_entry_text (string path); + public virtual signal string format_entry_text (string path); public virtual signal void move_active (Gtk.ScrollType p0); [HasEmitter] public virtual signal bool popdown (); @@ -1595,7 +1602,7 @@ namespace Gtk { public ComboBoxText (); public void append (string id, string text); public void append_text (string text); - public unowned string get_active_text (); + public string get_active_text (); public void insert (int position, string id, string text); public void insert_text (int position, string text); public void prepend (string id, string text); @@ -1612,11 +1619,11 @@ namespace Gtk { public void add_with_properties (Gtk.Widget widget, ...); public void child_get (Gtk.Widget child, ...); public void child_get_property (Gtk.Widget child, string property_name, GLib.Value value); - public void child_get_valist (Gtk.Widget child, string first_property_name, void* var_args); + public void child_get_valist (Gtk.Widget child, string first_property_name, va_list var_args); public void child_notify (Gtk.Widget child, string child_property); public void child_set (Gtk.Widget child, ...); public void child_set_property (Gtk.Widget child, string property_name, GLib.Value value); - public void child_set_valist (Gtk.Widget child, string first_property_name, void* var_args); + public void child_set_valist (Gtk.Widget child, string first_property_name, va_list var_args); public virtual GLib.Type child_type (); public static unowned GLib.ParamSpec class_find_child_property (GLib.ObjectClass cclass, string property_name); public static unowned GLib.ParamSpec class_list_child_properties (GLib.ObjectClass cclass, uint n_properties); @@ -1631,11 +1638,11 @@ namespace Gtk { [NoWrapper] public virtual void get_child_property (Gtk.Widget child, uint property_id, GLib.Value value, GLib.ParamSpec pspec); public GLib.List get_children (); - public bool get_focus_chain (out GLib.List focusable_widgets); + public bool get_focus_chain (out GLib.List focusable_widgets); public unowned Gtk.Widget get_focus_child (); public unowned Gtk.Adjustment get_focus_hadjustment (); public unowned Gtk.Adjustment get_focus_vadjustment (); - public virtual unowned Gtk.WidgetPath get_path_for_child (Gtk.Widget child); + public virtual Gtk.WidgetPath get_path_for_child (Gtk.Widget child); public Gtk.ResizeMode get_resize_mode (); [CCode (cname = "gtk_container_class_handle_border_width")] public class void handle_border_width (); @@ -1679,7 +1686,7 @@ namespace Gtk { [CCode (has_construct_function = false)] public ContainerCellAccessible (); public void add_child (Gtk.CellAccessible child); - public unowned GLib.List get_children (); + public unowned GLib.List get_children (); public void remove_child (Gtk.CellAccessible child); } [CCode (cheader_filename = "gtk/gtk.h")] @@ -1692,7 +1699,7 @@ namespace Gtk { public bool load_from_data (string data, ssize_t length) throws GLib.Error; public bool load_from_file (GLib.File file) throws GLib.Error; public bool load_from_path (string path) throws GLib.Error; - public unowned string to_string (); + public string to_string (); public virtual signal void parsing_error (Gtk.CssSection section, GLib.Error error); } [CCode (cheader_filename = "gtk/gtk.h", ref_function = "gtk_css_section_ref", type_id = "gtk_css_section_get_type ()", unref_function = "gtk_css_section_unref")] @@ -1702,7 +1709,7 @@ namespace Gtk { public uint get_end_position (); public unowned GLib.File get_file (); public unowned Gtk.CssSection get_parent (); - public Gtk.CssSectionType get_section_type (); + public unowned Gtk.CssSectionType get_section_type (); public uint get_start_line (); public uint get_start_position (); } @@ -1722,7 +1729,7 @@ namespace Gtk { public int run (); [CCode (sentinel = "-1")] public void set_alternative_button_order (...); - public void set_alternative_button_order_from_array (int n_params, int new_order); + public void set_alternative_button_order_from_array ([CCode (array_length_pos = 0.5)] int[] new_order); public void set_default_response (int response_id); public void set_response_sensitive (int response_id, bool setting); [CCode (has_construct_function = false, type = "GtkWidget*")] @@ -1754,7 +1761,7 @@ namespace Gtk { public virtual void get_frame_size (int x, int y, int width, int height); public bool get_has_frame (); public bool get_icon_activatable (Gtk.EntryIconPosition icon_pos); - public void get_icon_area (Gtk.EntryIconPosition icon_pos, Gdk.Rectangle icon_area); + public Gdk.Rectangle get_icon_area (Gtk.EntryIconPosition icon_pos); public int get_icon_at_pos (int x, int y); public unowned GLib.Icon get_icon_gicon (Gtk.EntryIconPosition icon_pos); public unowned string get_icon_name (Gtk.EntryIconPosition icon_pos); @@ -1762,8 +1769,8 @@ namespace Gtk { public bool get_icon_sensitive (Gtk.EntryIconPosition icon_pos); public unowned string get_icon_stock (Gtk.EntryIconPosition icon_pos); public Gtk.ImageType get_icon_storage_type (Gtk.EntryIconPosition icon_pos); - public unowned string get_icon_tooltip_markup (Gtk.EntryIconPosition icon_pos); - public unowned string get_icon_tooltip_text (Gtk.EntryIconPosition icon_pos); + public string? get_icon_tooltip_markup (Gtk.EntryIconPosition icon_pos); + public string? get_icon_tooltip_text (Gtk.EntryIconPosition icon_pos); public unowned Gtk.Border? get_inner_border (); public Gtk.InputHints get_input_hints (); public Gtk.InputPurpose get_input_purpose (); @@ -1946,7 +1953,7 @@ namespace Gtk { [CCode (has_construct_function = false)] public EntryCompletion (); public void complete (); - public unowned string compute_prefix (string key); + public string compute_prefix (string key); public void delete_action (int index_); public unowned string get_completion_prefix (); public unowned Gtk.Widget get_entry (); @@ -2240,7 +2247,7 @@ namespace Gtk { public unowned Gtk.Widget get_face_list (); public unowned Pango.FontFamily get_family (); public unowned Gtk.Widget get_family_list (); - public unowned string get_font_name (); + public string get_font_name (); public unowned Gtk.Widget get_preview_entry (); public unowned string get_preview_text (); public int get_size (); @@ -2248,7 +2255,7 @@ namespace Gtk { public unowned Gtk.Widget get_size_list (); public bool set_font_name (string fontname); public void set_preview_text (string text); - public string font_name { get; set; } + public string font_name { owned get; set; } public string preview_text { get; set; } } [CCode (cheader_filename = "gtk/gtk.h")] @@ -2257,7 +2264,7 @@ namespace Gtk { [CCode (has_construct_function = false, type = "GtkWidget*")] public FontSelectionDialog (string title); public unowned Gtk.Widget get_cancel_button (); - public unowned string get_font_name (); + public string get_font_name (); public unowned Gtk.Widget get_font_selection (); public unowned Gtk.Widget get_ok_button (); public unowned string get_preview_text (); @@ -2271,7 +2278,7 @@ namespace Gtk { [NoWrapper] public virtual void compute_child_allocation (Gtk.Allocation allocation); public unowned string get_label (); - public void get_label_align (float xalign, float yalign); + public void get_label_align (out float xalign, out float yalign); public unowned Gtk.Widget? get_label_widget (); public Gtk.ShadowType get_shadow_type (); public void set_label (string? label); @@ -2372,7 +2379,7 @@ namespace Gtk { protected GestureSingle (); public uint get_button (); public uint get_current_button (); - public unowned Gdk.EventSequence get_current_sequence (); + public Gdk.EventSequence get_current_sequence (); public bool get_exclusive (); public bool get_touch_only (); public void set_button (uint button); @@ -2386,7 +2393,7 @@ namespace Gtk { public class GestureSwipe : Gtk.GestureSingle { [CCode (has_construct_function = false, type = "GtkGesture*")] public GestureSwipe (Gtk.Widget widget); - public bool get_velocity (double velocity_x, double velocity_y); + public bool get_velocity (out double velocity_x, out double velocity_y); public virtual signal void swipe (double p0, double p1); } [CCode (cheader_filename = "gtk/gtk.h")] @@ -2404,9 +2411,9 @@ namespace Gtk { public Gradient.linear (double x0, double y0, double x1, double y1); [CCode (has_construct_function = false)] public Gradient.radial (double x0, double y0, double radius0, double x1, double y1, double radius1); - public bool resolve (Gtk.StyleProperties props, out unowned Cairo.Pattern resolved_gradient); - public unowned Cairo.Pattern resolve_for_context (Gtk.StyleContext context); - public unowned string to_string (); + public bool resolve (Gtk.StyleProperties props, out Cairo.Pattern resolved_gradient); + public Cairo.Pattern resolve_for_context (Gtk.StyleContext context); + public string to_string (); } [CCode (cheader_filename = "gtk/gtk.h")] public class Grid : Gtk.Container, Atk.Implementor, Gtk.Buildable, Gtk.Orientable { @@ -2544,8 +2551,8 @@ namespace Gtk { public virtual bool filter_keypress (Gdk.EventKey event); public virtual void focus_in (); public virtual void focus_out (); - public virtual void get_preedit_string (out unowned string str, out Pango.AttrList attrs, out int cursor_pos); - public virtual bool get_surrounding (out unowned string text, out int cursor_index); + public virtual void get_preedit_string (out string str, out Pango.AttrList attrs, out int cursor_pos); + public virtual bool get_surrounding (out string text, out int cursor_index); public virtual void reset (); public virtual void set_client_window (Gdk.Window window); public virtual void set_cursor_location (Gdk.Rectangle area); @@ -2567,7 +2574,7 @@ namespace Gtk { public class IMContextSimple : Gtk.IMContext { [CCode (has_construct_function = false, type = "GtkIMContext*")] public IMContextSimple (); - public void add_table (uint16 data, int max_seq_len, int n_seqs); + public void add_table ([CCode (array_length = false)] uint16[] data, int max_seq_len, int n_seqs); } [CCode (cheader_filename = "gtk/gtk.h")] public class IMMulticontext : Gtk.IMContext { @@ -2597,7 +2604,7 @@ namespace Gtk { [CCode (has_construct_function = false)] public IconInfo.for_pixbuf (Gtk.IconTheme icon_theme, Gdk.Pixbuf pixbuf); public void free (); - public bool get_attach_points (Gdk.Point[] points); + public bool get_attach_points (out Gdk.Point[] points); public int get_base_scale (); public int get_base_size (); public unowned Gdk.Pixbuf get_builtin_pixbuf (); @@ -2675,7 +2682,7 @@ namespace Gtk { public Gtk.IconInfo? choose_icon_for_scale (string[] icon_names, int size, int scale, Gtk.IconLookupFlags flags); public static GLib.Quark error_quark (); public static unowned Gtk.IconTheme get_default (); - public unowned string get_example_icon_name (); + public string? get_example_icon_name (); public static unowned Gtk.IconTheme get_for_screen (Gdk.Screen screen); [CCode (array_length = false, array_null_terminated = true)] public int[] get_icon_sizes (string icon_name); @@ -2694,7 +2701,7 @@ namespace Gtk { public bool rescan_if_needed (); public void set_custom_theme (string theme_name); public void set_screen (Gdk.Screen screen); - public void set_search_path (string[] path, int n_elements); + public void set_search_path (string[] path); public virtual signal void changed (); } [CCode (cheader_filename = "gtk/gtk.h")] @@ -2702,7 +2709,7 @@ namespace Gtk { [CCode (has_construct_function = false, type = "GtkWidget*")] public IconView (); public void convert_widget_to_bin_window_coords (int wx, int wy, out int bx, out int by); - public unowned Cairo.Surface create_drag_icon (Gtk.TreePath path); + public Cairo.Surface create_drag_icon (Gtk.TreePath path); public void enable_model_drag_dest (Gtk.TargetEntry[] targets, Gdk.DragAction actions); public void enable_model_drag_source (Gdk.ModifierType start_button_mask, Gtk.TargetEntry[] targets, Gdk.DragAction actions); public bool get_activate_on_single_click (); @@ -2721,7 +2728,7 @@ namespace Gtk { public int get_margin (); public int get_markup_column (); public unowned Gtk.TreeModel get_model (); - public unowned Gtk.TreePath get_path_at_pos (int x, int y); + public Gtk.TreePath get_path_at_pos (int x, int y); public int get_pixbuf_column (); public bool get_reorderable (); public int get_row_spacing (); @@ -3154,7 +3161,7 @@ namespace Gtk { } [CCode (cheader_filename = "gtk/gtk.h")] public class ListStore : GLib.Object, Gtk.TreeModel, Gtk.TreeDragSource, Gtk.TreeDragDest, Gtk.TreeSortable, Gtk.Buildable { - [CCode (has_construct_function = false, sentinel = "")] + [CCode (has_construct_function = false, sentinel = "-1")] public ListStore (int n_columns, ...); public void append (out Gtk.TreeIter iter); public void clear (); @@ -3163,7 +3170,7 @@ namespace Gtk { public void insert_before (out Gtk.TreeIter iter, Gtk.TreeIter? sibling); [CCode (sentinel = "-1")] public void insert_with_values (out Gtk.TreeIter iter, int position, ...); - public void insert_with_valuesv (out Gtk.TreeIter iter, int position, int columns, GLib.Value[] values); + public void insert_with_valuesv (out Gtk.TreeIter iter, int position, [CCode (array_length_pos = 4.1)] int[] columns, [CCode (array_length_pos = 4.1)] GLib.Value[] values); public bool iter_is_valid (Gtk.TreeIter iter); public void move_after (ref Gtk.TreeIter iter, Gtk.TreeIter? position); public void move_before (ref Gtk.TreeIter iter, Gtk.TreeIter? position); @@ -3171,13 +3178,13 @@ namespace Gtk { public ListStore.newv ([CCode (array_length_pos = 0.9)] GLib.Type[] types); public void prepend (out Gtk.TreeIter iter); public bool remove (Gtk.TreeIter iter); - public void reorder (int new_order); + public void reorder ([CCode (array_length = false, array_null_terminated = true)] int[] new_order); [CCode (sentinel = "-1")] public void @set (Gtk.TreeIter iter, ...); public void set_column_types ([CCode (array_length_pos = 0.9)] GLib.Type[] types); - public void set_valist (Gtk.TreeIter iter, void* var_args); + public void set_valist (Gtk.TreeIter iter, va_list var_args); public void set_value (Gtk.TreeIter iter, int column, GLib.Value value); - public void set_valuesv (Gtk.TreeIter iter, int columns, GLib.Value[] values); + public void set_valuesv (Gtk.TreeIter iter, [CCode (array_length_pos = 3.1)] int[] columns, [CCode (array_length_pos = 3.1)] GLib.Value[] values); public void swap (Gtk.TreeIter a, Gtk.TreeIter b); } [CCode (cheader_filename = "gtk/gtk.h")] @@ -3567,7 +3574,7 @@ namespace Gtk { public class OffscreenWindow : Gtk.Window, Atk.Implementor, Gtk.Buildable { [CCode (has_construct_function = false, type = "GtkWidget*")] public OffscreenWindow (); - public unowned Gdk.Pixbuf get_pixbuf (); + public Gdk.Pixbuf get_pixbuf (); public unowned Cairo.Surface get_surface (); } [CCode (cheader_filename = "gtk/gtk.h")] @@ -3575,7 +3582,7 @@ namespace Gtk { [CCode (has_construct_function = false, type = "GtkWidget*")] public Overlay (); public void add_overlay (Gtk.Widget widget); - public virtual signal bool get_child_position (Gtk.Widget widget, Gdk.Rectangle allocation); + public virtual signal bool get_child_position (Gtk.Widget widget, out Gdk.Rectangle allocation); } [CCode (cheader_filename = "gtk/gtk.h")] [Compact] @@ -3680,13 +3687,13 @@ namespace Gtk { public PlacesSidebar (); public void add_shortcut (GLib.File location); public bool get_local_only (); - public unowned GLib.File get_location (); - public unowned GLib.File get_nth_bookmark (int n); + public GLib.File get_location (); + public GLib.File get_nth_bookmark (int n); public Gtk.PlacesOpenFlags get_open_flags (); public bool get_show_connect_to_server (); public bool get_show_desktop (); public bool get_show_enter_location (); - public unowned GLib.SList list_shortcuts (); + public GLib.SList list_shortcuts (); public void remove_shortcut (GLib.File location); public void set_local_only (bool local_only); public void set_location (GLib.File location); @@ -3695,16 +3702,16 @@ namespace Gtk { public void set_show_desktop (bool show_desktop); public void set_show_enter_location (bool show_enter_location); public bool local_only { get; set; } - public GLib.File location { get; set; } + public GLib.File location { owned get; set; } public Gtk.PlacesOpenFlags open_flags { get; set; } public bool show_connect_to_server { get; set; } public bool show_desktop { get; set; } public bool show_enter_location { get; set; } public virtual signal int drag_action_ask (int p0); - public virtual signal int drag_action_requested (Gdk.DragContext p0, GLib.Object p1, void* p2); - public virtual signal void drag_perform_drop (GLib.Object p0, void* p1, int p2); - public virtual signal void open_location (GLib.Object p0, Gtk.PlacesOpenFlags p1); - public virtual signal void populate_popup (GLib.Object p0, GLib.Object p1, GLib.Object p2); + public virtual signal int drag_action_requested (Gdk.DragContext p0, GLib.File p1, GLib.List p2); + public virtual signal void drag_perform_drop (GLib.File p0, GLib.List p1, int p2); + public virtual signal void open_location (GLib.File p0, Gtk.PlacesOpenFlags p1); + public virtual signal void populate_popup (Gtk.Menu p0, GLib.File? p1, GLib.Volume? p2); public virtual signal void show_error_message (string p0, string p1); } [CCode (cheader_filename = "gtk/gtkx.h")] @@ -3729,7 +3736,7 @@ namespace Gtk { [CCode (has_construct_function = false, type = "GtkWidget*")] public Popover.from_model (Gtk.Widget relative_to, GLib.MenuModel model); public bool get_modal (); - public bool get_pointing_to (Gdk.Rectangle rect); + public bool get_pointing_to (out Gdk.Rectangle rect); public Gtk.PositionType get_position (); public unowned Gtk.Widget get_relative_to (); public void set_modal (bool modal); @@ -3751,12 +3758,12 @@ namespace Gtk { public class PrintContext : GLib.Object { [CCode (has_construct_function = false)] protected PrintContext (); - public unowned Pango.Context create_pango_context (); - public unowned Pango.Layout create_pango_layout (); + public Pango.Context create_pango_context (); + public Pango.Layout create_pango_layout (); public unowned Cairo.Context get_cairo_context (); public double get_dpi_x (); public double get_dpi_y (); - public bool get_hard_margins (double top, double bottom, double left, double right); + public bool get_hard_margins (out double top, out double bottom, out double left, out double right); public double get_height (); public unowned Gtk.PageSetup get_page_setup (); public unowned Pango.FontMap get_pango_fontmap (); @@ -3864,10 +3871,10 @@ namespace Gtk { public Gtk.NumberUpLayout get_number_up_layout (); public Gtk.PageOrientation get_orientation (); public unowned string get_output_bin (); - public unowned Gtk.PageRange get_page_ranges (int num_ranges); + public Gtk.PageRange[] get_page_ranges (); public Gtk.PageSet get_page_set (); public double get_paper_height (Gtk.Unit unit); - public unowned Gtk.PaperSize get_paper_size (); + public Gtk.PaperSize get_paper_size (); public double get_paper_width (Gtk.Unit unit); public Gtk.PrintPages get_print_pages (); public unowned string get_printer (); @@ -3898,7 +3905,7 @@ namespace Gtk { public void set_number_up_layout (Gtk.NumberUpLayout number_up_layout); public void set_orientation (Gtk.PageOrientation orientation); public void set_output_bin (string output_bin); - public void set_page_ranges (Gtk.PageRange page_ranges, int num_ranges); + public void set_page_ranges ([CCode (array_length_pos = 1.1)] Gtk.PageRange[] page_ranges); public void set_page_set (Gtk.PageSet page_set); public void set_paper_height (double height, Gtk.Unit unit); public void set_paper_size (Gtk.PaperSize paper_size); @@ -4121,7 +4128,7 @@ namespace Gtk { public RcStyle (); public Gtk.RcStyle copy (); [NoWrapper] - public virtual unowned Gtk.RcStyle create_rc_style (); + public virtual Gtk.RcStyle create_rc_style (); [NoWrapper] public virtual Gtk.Style create_style (); [NoWrapper] @@ -4199,7 +4206,7 @@ namespace Gtk { [CCode (cheader_filename = "gtk/gtk.h", ref_function = "gtk_recent_info_ref", type_id = "gtk_recent_info_get_type ()", unref_function = "gtk_recent_info_unref")] [Compact] public class RecentInfo { - public unowned GLib.AppInfo create_app_info (string app_name) throws GLib.Error; + public GLib.AppInfo create_app_info (string app_name) throws GLib.Error; public bool exists (); public ulong get_added (); public int get_age (); @@ -4235,7 +4242,7 @@ namespace Gtk { public static unowned Gtk.RecentManager get_default (); public GLib.List get_items (); public bool has_item (string uri); - public unowned Gtk.RecentInfo lookup_item (string uri) throws GLib.Error; + public Gtk.RecentInfo lookup_item (string uri) throws GLib.Error; public bool move_item (string uri, string new_uri) throws GLib.Error; public int purge_items () throws GLib.Error; public bool remove_item (string uri) throws GLib.Error; @@ -4307,14 +4314,14 @@ namespace Gtk { [CCode (cheader_filename = "gtk/gtk.h")] public class ScaleButton : Gtk.Button, Atk.Implementor, Gtk.Buildable, Gtk.Actionable, Gtk.Activatable, Gtk.Orientable { [CCode (has_construct_function = false, type = "GtkWidget*")] - public ScaleButton (Gtk.IconSize size, double min = 0.0, double max = 100.0, double step = 2.0, [CCode (array_length = false)] string[]? icons = null); + public ScaleButton (Gtk.IconSize size, double min = 0.0, double max = 100.0, double step = 2.0, [CCode (array_length = false, array_null_terminated = true)] string[]? icons = null); public unowned Gtk.Adjustment get_adjustment (); public unowned Gtk.Widget get_minus_button (); public unowned Gtk.Widget get_plus_button (); public unowned Gtk.Widget get_popup (); public double get_value (); public void set_adjustment (Gtk.Adjustment adjustment); - public void set_icons ([CCode (array_length = false)] string[] icons); + public void set_icons ([CCode (array_length = false, array_null_terminated = true)] string[] icons); public void set_value (double value); public Gtk.Adjustment adjustment { get; set; } [CCode (array_length = false, array_null_terminated = true)] @@ -4349,7 +4356,7 @@ namespace Gtk { public int get_min_content_height (); public int get_min_content_width (); public Gtk.CornerType get_placement (); - public void get_policy (Gtk.PolicyType hscrollbar_policy, Gtk.PolicyType vscrollbar_policy); + public void get_policy (out Gtk.PolicyType hscrollbar_policy, out Gtk.PolicyType vscrollbar_policy); public Gtk.ShadowType get_shadow_type (); public unowned Gtk.Adjustment get_vadjustment (); public unowned Gtk.Widget get_vscrollbar (); @@ -4426,7 +4433,7 @@ namespace Gtk { public void @set (Gdk.Atom type, int format, uchar[] data); public bool set_pixbuf (Gdk.Pixbuf pixbuf); public bool set_text (string str, int len); - public bool set_uris ([CCode (array_length = false)] string[] uris); + public bool set_uris ([CCode (array_length = false, array_null_terminated = true)] string[] uris); public bool targets_include_image (bool writable); public bool targets_include_rich_text (Gtk.TextBuffer buffer); public bool targets_include_text (); @@ -4659,7 +4666,7 @@ namespace Gtk { public void configure (Gtk.Adjustment adjustment, double climb_rate, uint digits); public unowned Gtk.Adjustment get_adjustment (); public uint get_digits (); - public void get_increments (double step, double page); + public void get_increments (out double step, out double page); public bool get_numeric (); public void get_range (out double min, out double max); public bool get_snap_to_ticks (); @@ -4772,8 +4779,8 @@ namespace Gtk { public unowned string get_stock (); public Gtk.ImageType get_storage_type (); public unowned string get_title (); - public unowned string get_tooltip_markup (); - public unowned string get_tooltip_text (); + public string get_tooltip_markup (); + public string get_tooltip_text (); public bool get_visible (); public uint32 get_x11_window_id (); public bool is_embedded (); @@ -4810,8 +4817,8 @@ namespace Gtk { public string stock { owned get; set; } public Gtk.ImageType storage_type { get; } public string title { get; set; } - public string tooltip_markup { get; set; } - public string tooltip_text { get; set; } + public string tooltip_markup { owned get; set; } + public string tooltip_text { owned get; set; } public bool visible { get; set; } public virtual signal void activate (); public virtual signal bool button_press_event (Gdk.EventButton event); @@ -4930,7 +4937,7 @@ namespace Gtk { public virtual void init_from_rc (Gtk.RcStyle rc_style); public bool lookup_color (string color_name, out Gdk.Color color); public unowned Gtk.IconSet lookup_icon_set (string stock_id); - public virtual unowned Gdk.Pixbuf render_icon (Gtk.IconSource source, Gtk.TextDirection direction, Gtk.StateType state, Gtk.IconSize size, Gtk.Widget widget, string detail); + public virtual Gdk.Pixbuf render_icon (Gtk.IconSource source, Gtk.TextDirection direction, Gtk.StateType state, Gtk.IconSize size, Gtk.Widget widget, string detail); public virtual void set_background (Gdk.Window window, Gtk.StateType state_type); [NoAccessorMethod] public Gtk.StyleContext context { owned get; construct; } @@ -4959,20 +4966,20 @@ namespace Gtk { public Gtk.Border get_padding (Gtk.StateFlags state); public unowned Gtk.StyleContext get_parent (); public unowned Gtk.WidgetPath get_path (); - public void get_property (string property, Gtk.StateFlags state, GLib.Value value); + public GLib.Value get_property (string property, Gtk.StateFlags state); public int get_scale (); public unowned Gdk.Screen get_screen (); - public unowned Gtk.CssSection get_section (string property); + public Gtk.CssSection get_section (string property); public Gtk.StateFlags get_state (); public void get_style (...); public void get_style_property (string property_name, GLib.Value value); - public void get_style_valist (void* args); - public void get_valist (Gtk.StateFlags state, void* args); + public void get_style_valist (va_list args); + public void get_valist (Gtk.StateFlags state, va_list args); public bool has_class (string class_name); public bool has_region (string region_name, out Gtk.RegionFlags flags_return); public void invalidate (); - public unowned GLib.List list_classes (); - public unowned GLib.List list_regions (); + public GLib.List list_classes (); + public GLib.List list_regions (); public bool lookup_color (string color_name, out Gdk.RGBA color); public unowned Gtk.IconSet lookup_icon_set (string stock_id); public void notify_state_change (Gdk.Window window, void* region_id, Gtk.StateType state, bool state_value); @@ -5040,17 +5047,17 @@ namespace Gtk { [CCode (has_construct_function = false)] public StyleProperties (); public void clear (); - public void @get (Gtk.StateFlags state); - public bool get_property (string property, Gtk.StateFlags state, GLib.Value value); - public void get_valist (Gtk.StateFlags state, void* args); + public void @get (Gtk.StateFlags state, ...); + public bool get_property (string property, Gtk.StateFlags state, out GLib.Value value); + public void get_valist (Gtk.StateFlags state, va_list args); public unowned Gtk.SymbolicColor lookup_color (string name); - public static bool lookup_property (string property_name, Gtk.StylePropertyParser parse_func, out unowned GLib.ParamSpec pspec); + public static bool lookup_property (string property_name, out unowned Gtk.StylePropertyParser parse_func, out unowned GLib.ParamSpec pspec); public void map_color (string name, Gtk.SymbolicColor color); public void merge (Gtk.StyleProperties props_to_merge, bool replace); public static void register_property (Gtk.StylePropertyParser? parse_func, GLib.ParamSpec pspec); - public void @set (Gtk.StateFlags state); + public void @set (Gtk.StateFlags state, ...); public void set_property (string property, Gtk.StateFlags state, GLib.Value value); - public void set_valist (Gtk.StateFlags state, void* args); + public void set_valist (Gtk.StateFlags state, va_list args); public void unset_property (string property, Gtk.StateFlags state); } [CCode (cheader_filename = "gtk/gtk.h")] @@ -5085,7 +5092,7 @@ namespace Gtk { public bool resolve (Gtk.StyleProperties props, out Gdk.RGBA resolved_color); [CCode (has_construct_function = false)] public SymbolicColor.shade (Gtk.SymbolicColor color, double factor); - public unowned string to_string (); + public string to_string (); [CCode (has_construct_function = false)] public SymbolicColor.win32 (string theme_class, int id); } @@ -5101,7 +5108,7 @@ namespace Gtk { public uint get_default_row_spacing (); public bool get_homogeneous (); public uint get_row_spacing (uint row); - public void get_size (uint rows, uint columns); + public void get_size (out uint rows, out uint columns); public void resize (uint rows, uint columns); public void set_col_spacing (uint column, uint spacing); public void set_col_spacings (uint spacing); @@ -5158,7 +5165,7 @@ namespace Gtk { public void add_table (Gtk.TargetEntry[] targets); public void add_text_targets (uint info); public void add_uri_targets (uint info); - public bool find (Gdk.Atom target, uint info); + public bool find (Gdk.Atom target, out uint? info); public void remove (Gdk.Atom target); } [CCode (cheader_filename = "gtk/gtk.h")] @@ -5191,7 +5198,7 @@ namespace Gtk { [CCode (cheader_filename = "gtk/gtk.h", ref_function = "gtk_text_attributes_ref", type_id = "gtk_text_attributes_get_type ()", unref_function = "gtk_text_attributes_unref")] [Compact] public class TextAttributes { - public weak Gtk.TextAppearance appearance; + public Gtk.TextAppearance appearance; public uint bg_full_height; public Gtk.TextDirection direction; public uint editable; @@ -5200,7 +5207,7 @@ namespace Gtk { public int indent; public uint invisible; public Gtk.Justification justification; - public weak Pango.Language language; + public Pango.Language language; public int left_margin; [CCode (array_length = false)] public weak uint[] padding; @@ -5519,9 +5526,9 @@ namespace Gtk { public bool get_accepts_tab (); public int get_border_window_size (Gtk.TextWindowType type); public unowned Gtk.TextBuffer get_buffer (); - public void get_cursor_locations (Gtk.TextIter iter, Gdk.Rectangle strong, Gdk.Rectangle @weak); + public void get_cursor_locations (Gtk.TextIter? iter, out Gdk.Rectangle strong, out Gdk.Rectangle @weak); public bool get_cursor_visible (); - public unowned Gtk.TextAttributes get_default_attributes (); + public Gtk.TextAttributes get_default_attributes (); public bool get_editable (); public unowned Gtk.Adjustment get_hadjustment (); public int get_indent (); @@ -5539,7 +5546,7 @@ namespace Gtk { public int get_pixels_below_lines (); public int get_pixels_inside_wrap (); public int get_right_margin (); - public unowned Pango.TabArray get_tabs (); + public Pango.TabArray get_tabs (); public unowned Gtk.Adjustment get_vadjustment (); public void get_visible_rect (out Gdk.Rectangle visible_rect); public unowned Gdk.Window get_window (Gtk.TextWindowType win); @@ -5593,7 +5600,7 @@ namespace Gtk { [NoAccessorMethod] public bool populate_all { get; set; } public int right_margin { get; set; } - public Pango.TabArray tabs { get; set; } + public Pango.TabArray tabs { owned get; set; } public Gtk.WrapMode wrap_mode { get; set; } public virtual signal void backspace (); public virtual signal void copy_clipboard (); @@ -5637,10 +5644,10 @@ namespace Gtk { public GLib.Value get_property (string property, Gtk.StateFlags state); public unowned Gdk.Screen get_screen (); public Gtk.StateFlags get_state (); - public void get_style (); + public void get_style (...); public GLib.Value get_style_property (string property_name); - public void get_style_valist (void* args); - public void get_valist (Gtk.StateFlags state, void* args); + public void get_style_valist (va_list args); + public void get_valist (Gtk.StateFlags state, va_list args); public bool has_class (string style_class); public bool has_region (string style_region, out Gtk.RegionFlags flags); public static unowned Gtk.ThemingEngine load (string name); @@ -5669,7 +5676,7 @@ namespace Gtk { [NoWrapper] public virtual void render_icon (Cairo.Context cr, Gdk.Pixbuf pixbuf, double x, double y); [NoWrapper] - public virtual unowned Gdk.Pixbuf render_icon_pixbuf (Gtk.IconSource source, Gtk.IconSize size); + public virtual Gdk.Pixbuf render_icon_pixbuf (Gtk.IconSource source, Gtk.IconSize size); [NoWrapper] public virtual void render_icon_surface (Cairo.Context cr, Cairo.Surface surface, double x, double y); [NoWrapper] @@ -5907,9 +5914,9 @@ namespace Gtk { public TreeModelFilter (Gtk.TreeModel child_model, Gtk.TreePath? root); public void clear_cache (); public bool convert_child_iter_to_iter (out Gtk.TreeIter filter_iter, Gtk.TreeIter child_iter); - public unowned Gtk.TreePath convert_child_path_to_path (Gtk.TreePath child_path); + public Gtk.TreePath convert_child_path_to_path (Gtk.TreePath child_path); public void convert_iter_to_child_iter (out Gtk.TreeIter child_iter, Gtk.TreeIter filter_iter); - public unowned Gtk.TreePath convert_path_to_child_path (Gtk.TreePath filter_path); + public Gtk.TreePath convert_path_to_child_path (Gtk.TreePath filter_path); public unowned Gtk.TreeModel get_model (); [NoWrapper] public virtual void modify (Gtk.TreeModel child_model, Gtk.TreeIter iter, GLib.Value value, int column); @@ -5930,9 +5937,9 @@ namespace Gtk { protected TreeModelSort (); public void clear_cache (); public bool convert_child_iter_to_iter (out Gtk.TreeIter sort_iter, Gtk.TreeIter child_iter); - public unowned Gtk.TreePath convert_child_path_to_path (Gtk.TreePath child_path); + public Gtk.TreePath convert_child_path_to_path (Gtk.TreePath child_path); public void convert_iter_to_child_iter (out Gtk.TreeIter child_iter, Gtk.TreeIter sorted_iter); - public unowned Gtk.TreePath convert_path_to_child_path (Gtk.TreePath sorted_path); + public Gtk.TreePath convert_path_to_child_path (Gtk.TreePath sorted_path); public unowned Gtk.TreeModel get_model (); public bool iter_is_valid (Gtk.TreeIter iter); public void reset_default_sort_func (); @@ -6023,7 +6030,7 @@ namespace Gtk { public void insert_before (out Gtk.TreeIter iter, Gtk.TreeIter? parent, Gtk.TreeIter? sibling); [CCode (sentinel = "-1")] public void insert_with_values (out Gtk.TreeIter iter, Gtk.TreeIter? parent, int position, ...); - public void insert_with_valuesv (out Gtk.TreeIter iter, Gtk.TreeIter? parent, int position, int columns, GLib.Value[] values); + public void insert_with_valuesv (out Gtk.TreeIter iter, Gtk.TreeIter? parent, int position, [CCode (array_length_pos = 5.1)] int[] columns, [CCode (array_length_pos = 5.1)] GLib.Value[] values); public bool is_ancestor (Gtk.TreeIter iter, Gtk.TreeIter descendant); public int iter_depth (Gtk.TreeIter iter); public bool iter_is_valid (Gtk.TreeIter iter); @@ -6056,7 +6063,7 @@ namespace Gtk { public void convert_tree_to_widget_coords (int tx, int ty, out int wx, out int wy); public void convert_widget_to_bin_window_coords (int wx, int wy, out int bx, out int by); public void convert_widget_to_tree_coords (int wx, int wy, out int tx, out int ty); - public unowned Cairo.Surface create_row_drag_icon (Gtk.TreePath path); + public Cairo.Surface create_row_drag_icon (Gtk.TreePath path); public void enable_model_drag_dest (Gtk.TargetEntry[] targets, Gdk.DragAction actions); public void enable_model_drag_source (Gdk.ModifierType start_button_mask, Gtk.TargetEntry[] targets, Gdk.DragAction actions); public void expand_all (); @@ -6103,11 +6110,11 @@ namespace Gtk { public int insert_column (Gtk.TreeViewColumn column, int position); public int insert_column_with_attributes (int position, string? title, Gtk.CellRenderer cell, ...); public int insert_column_with_data_func (int position, string title, Gtk.CellRenderer cell, owned Gtk.TreeCellDataFunc func); - public bool is_blank_at_pos (int x, int y, out unowned Gtk.TreePath path, out unowned Gtk.TreeViewColumn column, int cell_x, int cell_y); + public bool is_blank_at_pos (int x, int y, out Gtk.TreePath path, out Gtk.TreeViewColumn column, out int cell_x, out int cell_y); [CCode (cname = "gtk_tree_view_row_expanded")] public bool is_row_expanded (Gtk.TreePath path); public bool is_rubber_banding_active (); - public void map_expanded_rows (Gtk.TreeViewMappingFunc func, void* data); + public void map_expanded_rows (Gtk.TreeViewMappingFunc func); public void move_column_after (Gtk.TreeViewColumn column, Gtk.TreeViewColumn base_column); public int remove_column (Gtk.TreeViewColumn column); public void scroll_to_cell (Gtk.TreePath? path, Gtk.TreeViewColumn? column, bool use_align, float row_align, float col_align); @@ -6193,7 +6200,7 @@ namespace Gtk { [CCode (has_construct_function = false)] public TreeViewColumn (); public bool cell_get_position (Gtk.CellRenderer cell_renderer, out int x_offset, out int width); - public void cell_get_size (out Gdk.Rectangle cell_area, out int x_offset, out int y_offset, out int width, out int height); + public void cell_get_size (Gdk.Rectangle? cell_area, out int x_offset, out int y_offset, out int width, out int height); public bool cell_is_visible (); public void cell_set_cell_data (Gtk.TreeModel tree_model, Gtk.TreeIter iter, bool is_expander, bool is_expanded); public void focus_cell (Gtk.CellRenderer cell); @@ -6277,7 +6284,7 @@ namespace Gtk { [Deprecated (since = "3.4")] public bool get_add_tearoffs (); public GLib.SList get_toplevels (Gtk.UIManagerItemType types); - public unowned string get_ui (); + public string get_ui (); public virtual unowned Gtk.Widget get_widget (string path); public void insert_action_group (Gtk.ActionGroup action_group, int pos); public uint new_merge_id (); @@ -6287,7 +6294,7 @@ namespace Gtk { public void set_add_tearoffs (bool add_tearoffs); [Deprecated (since = "3.4")] public bool add_tearoffs { get; set; } - public string ui { get; } + public string ui { owned get; } public virtual signal void actions_changed (); public virtual signal void add_widget (Gtk.Widget widget); public virtual signal void connect_proxy (Gtk.Action action, Gtk.Widget proxy); @@ -6356,7 +6363,7 @@ namespace Gtk { public class Widget : GLib.InitiallyUnowned, Atk.Implementor, Gtk.Buildable { public class uint activate_signal; [CCode (construct_function = "gtk_widget_new", has_new_function = false)] - public Widget (...); + public Widget (GLib.Type type, ...); public bool activate (); public void add_accelerator (string accel_signal, Gtk.AccelGroup accel_group, uint accel_key, Gdk.ModifierType accel_mods, Gtk.AccelFlags accel_flags); public void add_device_events (Gdk.Device device, Gdk.EventMask events); @@ -6377,7 +6384,7 @@ namespace Gtk { public class void bind_template_child_full (string name, bool internal_child, ssize_t struct_offset); public bool child_focus (Gtk.DirectionType direction); [Deprecated (replacement = "get_path", since = "3.0")] - public void class_path (out uint path_length, out unowned string path, out unowned string path_reversed); + public void class_path (out uint path_length, out string path, out string path_reversed); public virtual bool compute_expand (Gtk.Orientation orientation); [CCode (vfunc_name = "compute_expand")] [NoWrapper] @@ -6387,7 +6394,8 @@ namespace Gtk { public void destroyed (out unowned Gtk.Widget widget_pointer); public bool device_is_shadowed (Gdk.Device device); [NoWrapper] - public virtual void dispatch_child_properties_changed (uint n_pspecs, out unowned GLib.ParamSpec pspecs); + public virtual void dispatch_child_properties_changed ([CCode (array_length_pos = 0.5)] out GLib.ParamSpec[] pspecs); + [Deprecated (replacement = "StyleContext", since = "3.0")] public void ensure_style (); public void error_bell (); [CCode (cname = "gtk_widget_class_find_style_property")] @@ -6407,7 +6415,7 @@ namespace Gtk { public bool get_child_visible (); public void get_clip (out Gtk.Allocation clip); public unowned Gtk.Clipboard get_clipboard (Gdk.Atom selection); - public unowned string get_composite_name (); + public string get_composite_name (); public static Gtk.TextDirection get_default_direction (); [Deprecated (replacement = "StyleContext, and CssProvider.get_default() to obtain a Gtk.StyleProvider with the default widget style information", since = "3.0")] public static unowned Gtk.Style get_default_style (); @@ -6442,7 +6450,7 @@ namespace Gtk { [Deprecated (replacement = "Gdk.Window.get_device_position", since = "3.4")] public void get_pointer (out int x, out int y); public virtual void get_preferred_height (out int minimum_height, out int natural_height); - public virtual void get_preferred_height_and_baseline_for_width (int width, int minimum_height, int natural_height, int minimum_baseline, int natural_baseline); + public virtual void get_preferred_height_and_baseline_for_width (int width, out int minimum_height, out int natural_height, out int minimum_baseline, out int natural_baseline); public virtual void get_preferred_height_for_width (int width, out int minimum_height, out int natural_height); [CCode (vfunc_name = "get_preferred_height_for_width")] [NoWrapper] @@ -6477,8 +6485,8 @@ namespace Gtk { public unowned Gtk.StyleContext get_style_context (); public bool get_support_multidevice (); public unowned GLib.Object get_template_child (GLib.Type widget_type, string name); - public unowned string get_tooltip_markup (); - public unowned string get_tooltip_text (); + public string get_tooltip_markup (); + public string get_tooltip_text (); public unowned Gtk.Window get_tooltip_window (); public unowned Gtk.Widget get_toplevel (); public Gtk.Align get_valign (); @@ -6509,7 +6517,7 @@ namespace Gtk { public bool is_sensitive (); public bool is_toplevel (); public bool is_visible (); - public GLib.List list_accel_closures (); + public GLib.List list_accel_closures (); public GLib.List list_mnemonic_labels (); [CCode (cname = "gtk_widget_class_list_style_properties")] public class unowned GLib.ParamSpec list_style_properties (uint n_properties); @@ -6533,7 +6541,7 @@ namespace Gtk { public void override_font (Pango.FontDescription? font_desc); public void override_symbolic_color (string name, Gdk.RGBA? color); [Deprecated (replacement = "get_path", since = "3.0")] - public void path (out uint path_length, out unowned string path, out unowned string path_reversed); + public void path (out uint path_length, out string path, out string path_reversed); public static void pop_composite_child (); public static void push_composite_child (); public void queue_compute_expand (); @@ -6542,13 +6550,13 @@ namespace Gtk { public virtual void queue_draw_region (Cairo.Region region); public void queue_resize (); public void queue_resize_no_redraw (); - public unowned Cairo.Region region_intersect (Cairo.Region region); + public Cairo.Region region_intersect (Cairo.Region region); public void register_window (Gdk.Window window); public bool remove_accelerator (Gtk.AccelGroup accel_group, uint accel_key, Gdk.ModifierType accel_mods); public void remove_mnemonic_label (Gtk.Widget label); public void remove_tick_callback (uint id); public Gdk.Pixbuf render_icon (string stock_id, Gtk.IconSize size, string? detail); - public unowned Gdk.Pixbuf render_icon_pixbuf (string stock_id, Gtk.IconSize size); + public Gdk.Pixbuf render_icon_pixbuf (string stock_id, Gtk.IconSize size); public void reparent (Gtk.Widget new_parent); [Deprecated (replacement = "reset_style", since = "3.0")] public void reset_rc_styles (); @@ -6623,7 +6631,7 @@ namespace Gtk { public void style_attach (); public void style_get (...); public void style_get_property (string property_name, ref GLib.Value value); - public void style_get_valist (string first_property_name, void* var_args); + public void style_get_valist (string first_property_name, va_list var_args); public void thaw_child_notify (); public bool translate_coordinates (Gtk.Widget dest_widget, int src_x, int src_y, out int dest_x, out int dest_y); public void trigger_tooltip_query (); @@ -6668,8 +6676,8 @@ namespace Gtk { public int scale_factor { get; } public bool sensitive { get; set; } public Gtk.Style style { get; set; } - public string tooltip_markup { get; set; } - public string tooltip_text { get; set; } + public string tooltip_markup { owned get; set; } + public string tooltip_text { owned get; set; } public Gtk.Align valign { get; set; } public bool vexpand { get; set; } public bool vexpand_set { get; set; } @@ -6785,7 +6793,7 @@ namespace Gtk { public int append_for_widget (Gtk.Widget widget); public int append_type (GLib.Type type); public int append_with_siblings (Gtk.WidgetPath siblings, uint sibling_index); - public unowned Gtk.WidgetPath copy (); + public Gtk.WidgetPath copy (); public GLib.Type get_object_type (); public bool has_parent (GLib.Type type); public bool is_type (GLib.Type type); @@ -6802,10 +6810,10 @@ namespace Gtk { public bool iter_has_name (int pos, string name); public bool iter_has_qclass (int pos, GLib.Quark qname); public bool iter_has_qname (int pos, GLib.Quark qname); - public bool iter_has_qregion (int pos, GLib.Quark qname, Gtk.RegionFlags flags); + public bool iter_has_qregion (int pos, GLib.Quark qname, out Gtk.RegionFlags flags); public bool iter_has_region (int pos, string name, out Gtk.RegionFlags flags); - public unowned GLib.SList iter_list_classes (int pos); - public unowned GLib.SList iter_list_regions (int pos); + public GLib.SList iter_list_classes (int pos); + public GLib.SList iter_list_regions (int pos); public void iter_remove_class (int pos, string name); public void iter_remove_region (int pos, string name); public void iter_set_name (int pos, string name); @@ -6813,7 +6821,7 @@ namespace Gtk { public void iter_set_state (int pos, Gtk.StateFlags state); public int length (); public void prepend_type (GLib.Type type); - public unowned string to_string (); + public string to_string (); } [CCode (cheader_filename = "gtk/gtk.h")] public class Window : Gtk.Bin, Atk.Implementor, Gtk.Buildable { @@ -6855,7 +6863,7 @@ namespace Gtk { public double get_opacity (); public void get_position (out int root_x, out int root_y); public bool get_resizable (); - public bool get_resize_grip_area (Gdk.Rectangle rect); + public bool get_resize_grip_area (out Gdk.Rectangle rect); public unowned string get_role (); public unowned Gdk.Screen get_screen (); public void get_size (out int width, out int height); @@ -6891,7 +6899,7 @@ namespace Gtk { public void set_default_geometry (int width, int height); public static void set_default_icon (Gdk.Pixbuf icon); public static bool set_default_icon_from_file (string filename) throws GLib.Error; - public static void set_default_icon_list (GLib.List list); + public static void set_default_icon_list (owned GLib.List list); public static void set_default_icon_name (string name); public void set_default_size (int width, int height); public void set_deletable (bool setting); @@ -7007,7 +7015,7 @@ namespace Gtk { public abstract unowned string get_action_name (); public abstract unowned GLib.Variant get_action_target_value (); public abstract void set_action_name (string action_name); - public void set_action_target (string format_string); + public void set_action_target (string format_string, ...); public abstract void set_action_target_value (GLib.Variant target_value); public void set_detailed_action_name (string detailed_action_name); public string action_name { get; set; } @@ -7029,15 +7037,15 @@ namespace Gtk { } [CCode (cheader_filename = "gtk/gtk.h")] public interface AppChooser : Gtk.Widget { - public unowned GLib.AppInfo get_app_info (); - public unowned string get_content_type (); + public GLib.AppInfo get_app_info (); + public string get_content_type (); public void refresh (); - public string content_type { get; construct; } + public string content_type { owned get; construct; } } [CCode (cheader_filename = "gtk/gtk.h")] public interface Buildable : GLib.Object { public abstract void add_child (Gtk.Builder builder, GLib.Object child, string? type); - public abstract unowned GLib.Object construct_child (Gtk.Builder builder, string name); + public abstract GLib.Object construct_child (Gtk.Builder builder, string name); public abstract void custom_finished (Gtk.Builder builder, GLib.Object? child, string tagname, void* data); public abstract void custom_tag_end (Gtk.Builder builder, GLib.Object? child, string tagname, out void* data); public abstract bool custom_tag_start (Gtk.Builder builder, GLib.Object? child, string tagname, out GLib.MarkupParser parser, out void* data); @@ -7101,8 +7109,8 @@ namespace Gtk { [NoWrapper] public abstract void do_delete_text (int start_pos, int end_pos); [NoWrapper] - public abstract void do_insert_text (string new_text, int new_text_length, int position); - public abstract unowned string get_chars (int start_pos, int end_pos); + public abstract void do_insert_text (string new_text, int new_text_length, ref int position); + public abstract string get_chars (int start_pos, int end_pos); public bool get_editable (); public abstract int get_position (); public abstract bool get_selection_bounds (out int start_pos, out int end_pos); @@ -7126,18 +7134,18 @@ namespace Gtk { public Gtk.FileChooserAction get_action (); public bool get_create_folders (); public string get_current_folder (); - public unowned GLib.File get_current_folder_file (); + public GLib.File get_current_folder_file (); public string get_current_folder_uri (); - public unowned string get_current_name (); + public string get_current_name (); public bool get_do_overwrite_confirmation (); public unowned Gtk.Widget get_extra_widget (); - public unowned GLib.File get_file (); + public GLib.File get_file (); public string get_filename (); public GLib.SList get_filenames (); public GLib.SList get_files (); public unowned Gtk.FileFilter get_filter (); public bool get_local_only (); - public unowned GLib.File get_preview_file (); + public GLib.File get_preview_file (); public string get_preview_filename (); public string get_preview_uri (); public unowned Gtk.Widget get_preview_widget (); @@ -7182,10 +7190,10 @@ namespace Gtk { public Gtk.FileChooserAction action { get; set; } public bool create_folders { get; set; } public bool do_overwrite_confirmation { get; set; } - public Gtk.Widget extra_widget { get; set; } - public Gtk.FileFilter filter { get; set; } + public Gtk.Widget extra_widget { owned get; set; } + public Gtk.FileFilter filter { owned get; set; } public bool local_only { get; set; } - public Gtk.Widget preview_widget { get; set; } + public Gtk.Widget preview_widget { owned get; set; } public bool preview_widget_active { get; set; } public bool select_multiple { get; set; } public bool show_hidden { get; set; } @@ -7201,21 +7209,21 @@ namespace Gtk { } [CCode (cheader_filename = "gtk/gtk.h")] public interface FontChooser : GLib.Object { - public unowned string get_font (); - public unowned Pango.FontDescription get_font_desc (); + public string get_font (); + public Pango.FontDescription get_font_desc (); public abstract unowned Pango.FontFace get_font_face (); public abstract unowned Pango.FontFamily get_font_family (); public abstract int get_font_size (); - public unowned string get_preview_text (); + public string get_preview_text (); public bool get_show_preview_entry (); public abstract void set_filter_func (owned Gtk.FontFilterFunc filter); public void set_font (string fontname); public void set_font_desc (Pango.FontDescription font_desc); public void set_preview_text (string text); public void set_show_preview_entry (bool show_preview_entry); - public string font { get; set; } - public Pango.FontDescription font_desc { get; set; } - public string preview_text { get; set; } + public string font { owned get; set; } + public Pango.FontDescription font_desc { owned get; set; } + public string preview_text { owned get; set; } public bool show_preview_entry { get; set; } public signal void font_activated (string fontname); } @@ -7237,8 +7245,8 @@ namespace Gtk { public interface RecentChooser : GLib.Object { public abstract void add_filter (Gtk.RecentFilter filter); public static GLib.Quark error_quark (); - public unowned Gtk.RecentInfo get_current_item (); - public abstract unowned string get_current_uri (); + public Gtk.RecentInfo get_current_item (); + public abstract string get_current_uri (); public unowned Gtk.RecentFilter get_filter (); public abstract GLib.List get_items (); public int get_limit (); @@ -7251,7 +7259,7 @@ namespace Gtk { public bool get_show_private (); public bool get_show_tips (); public Gtk.RecentSortType get_sort_type (); - public unowned string get_uris (size_t length); + public string[] get_uris (); public abstract GLib.SList list_filters (); public abstract void remove_filter (Gtk.RecentFilter filter); public abstract void select_all (); @@ -7269,7 +7277,7 @@ namespace Gtk { public void set_sort_type (Gtk.RecentSortType sort_type); public abstract void unselect_all (); public abstract void unselect_uri (string uri); - public Gtk.RecentFilter filter { get; set; } + public Gtk.RecentFilter filter { owned get; set; } public int limit { get; set; } public bool local_only { get; set; } public Gtk.RecentManager recent_manager { construct; } @@ -7292,16 +7300,16 @@ namespace Gtk { public void set_hscroll_policy (Gtk.ScrollablePolicy policy); public void set_vadjustment (Gtk.Adjustment vadjustment); public void set_vscroll_policy (Gtk.ScrollablePolicy policy); - public Gtk.Adjustment hadjustment { get; set construct; } + public Gtk.Adjustment hadjustment { owned get; set construct; } public Gtk.ScrollablePolicy hscroll_policy { get; set; } - public Gtk.Adjustment vadjustment { get; set construct; } + public Gtk.Adjustment vadjustment { owned get; set construct; } public Gtk.ScrollablePolicy vscroll_policy { get; set; } } [CCode (cheader_filename = "gtk/gtk.h")] public interface StyleProvider { public abstract unowned Gtk.IconFactory get_icon_factory (Gtk.WidgetPath path); - public abstract unowned Gtk.StyleProperties get_style (Gtk.WidgetPath path); - public abstract bool get_style_property (Gtk.WidgetPath path, Gtk.StateFlags state, GLib.ParamSpec pspec, GLib.Value value); + public abstract Gtk.StyleProperties get_style (Gtk.WidgetPath path); + public abstract bool get_style_property (Gtk.WidgetPath path, Gtk.StateFlags state, GLib.ParamSpec pspec, out GLib.Value value); } [CCode (cheader_filename = "gtk/gtk.h")] public interface ToolShell : Gtk.Widget { @@ -7349,7 +7357,7 @@ namespace Gtk { public abstract bool iter_parent (out Gtk.TreeIter iter, Gtk.TreeIter child); public virtual bool iter_previous (ref Gtk.TreeIter iter); public virtual void ref_node (Gtk.TreeIter iter); - public void rows_reordered_with_length (Gtk.TreePath path, Gtk.TreeIter iter, int new_order, int length); + public void rows_reordered_with_length (Gtk.TreePath path, Gtk.TreeIter? iter, [CCode (array_length_pos = 3.1)] int[] new_order); public virtual void unref_node (Gtk.TreeIter iter); [HasEmitter] public signal void row_changed (Gtk.TreePath path, Gtk.TreeIter iter); @@ -7389,11 +7397,7 @@ namespace Gtk { public weak Gtk.ActionCallback callback; } [CCode (cheader_filename = "gtk/gtk.h")] - public struct Allocation { - public int x; - public int y; - public int width; - public int height; + public struct Allocation : Gdk.Rectangle { } [CCode (cheader_filename = "gtk/gtk.h")] public struct BindingArg { @@ -7541,21 +7545,21 @@ namespace Gtk { public unichar get_char (); public int get_chars_in_line (); public unowned Gtk.TextChildAnchor get_child_anchor (); - public unowned Pango.Language get_language (); + public Pango.Language get_language (); public int get_line (); public int get_line_index (); public int get_line_offset (); public GLib.SList get_marks (); public int get_offset (); public unowned Gdk.Pixbuf get_pixbuf (); - public unowned string get_slice (Gtk.TextIter end); + public string get_slice (Gtk.TextIter end); public GLib.SList get_tags (); - public unowned string get_text (Gtk.TextIter end); + public string get_text (Gtk.TextIter end); public GLib.SList get_toggled_tags (bool toggled_on); public int get_visible_line_index (); public int get_visible_line_offset (); - public unowned string get_visible_slice (Gtk.TextIter end); - public unowned string get_visible_text (Gtk.TextIter end); + public string get_visible_slice (Gtk.TextIter end); + public string get_visible_text (Gtk.TextIter end); public bool has_tag (Gtk.TextTag tag); public bool in_range (Gtk.TextIter start, Gtk.TextIter end); public bool inside_sentence (); @@ -7730,18 +7734,6 @@ namespace Gtk { DEPRECATED, UNKNOWN_VALUE } - [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_CSS_SECTION_")] - public enum CssSectionType { - DOCUMENT, - IMPORT, - COLOR_DEFINITION, - BINDING_SET, - RULESET, - SELECTOR, - DECLARATION, - VALUE, - KEYFRAMES - } [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_DEBUG_")] [Flags] public enum DebugFlag { @@ -7841,13 +7833,6 @@ namespace Gtk { ACCEPT_FILENAME, SELECT_AGAIN } - [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_FILE_CHOOSER_ERROR_")] - public enum FileChooserError { - NONEXISTENT, - BAD_FILENAME, - ALREADY_EXISTS, - INCOMPLETE_HOSTNAME - } [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_FILE_FILTER_")] [Flags] public enum FileFilterFlags { @@ -7891,11 +7876,6 @@ namespace Gtk { DND, DIALOG } - [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_ICON_THEME_")] - public enum IconThemeError { - NOT_FOUND, - FAILED - } [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_ICON_VIEW_")] public enum IconViewDropPosition { NO_DROP, @@ -8210,11 +8190,6 @@ namespace Gtk { UNBIND, LAST } - [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_RECENT_CHOOSER_ERROR_")] - public enum RecentChooserError { - NOT_FOUND, - INVALID_URI - } [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_RECENT_FILTER_")] [Flags] public enum RecentFilterFlags { @@ -8225,16 +8200,6 @@ namespace Gtk { GROUP, AGE } - [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_RECENT_MANAGER_ERROR_")] - public enum RecentManagerError { - NOT_FOUND, - INVALID_URI, - INVALID_ENCODING, - NOT_REGISTERED, - READ, - WRITE, - UNKNOWN - } [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_RECENT_SORT_")] public enum RecentSortType { NONE, @@ -8581,6 +8546,45 @@ namespace Gtk { INVALID_PROPERTY, INVALID_SIGNAL } + [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_CSS_SECTION_")] + public errordomain CssSectionType { + DOCUMENT, + IMPORT, + COLOR_DEFINITION, + BINDING_SET, + RULESET, + SELECTOR, + DECLARATION, + VALUE, + KEYFRAMES + } + [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_FILE_CHOOSER_ERROR_")] + public errordomain FileChooserError { + NONEXISTENT, + BAD_FILENAME, + ALREADY_EXISTS, + INCOMPLETE_HOSTNAME + } + [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_ICON_THEME_")] + public errordomain IconThemeError { + NOT_FOUND, + FAILED + } + [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_RECENT_CHOOSER_ERROR_")] + public errordomain RecentChooserError { + NOT_FOUND, + INVALID_URI + } + [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_RECENT_MANAGER_ERROR_")] + public errordomain RecentManagerError { + NOT_FOUND, + INVALID_URI, + INVALID_ENCODING, + NOT_REGISTERED, + READ, + WRITE, + UNKNOWN + } [CCode (cheader_filename = "gtk/gtk.h")] public delegate bool AccelGroupActivate (Gtk.AccelGroup accel_group, GLib.Object acceleratable, uint keyval, Gdk.ModifierType modifier); [CCode (cheader_filename = "gtk/gtk.h")] diff --git a/vapi/packages/gtk+-2.0/gtk+-2.0-custom.vala b/vapi/packages/gtk+-2.0/gtk+-2.0-custom.vala index f8a362d49..3064a7037 100644 --- a/vapi/packages/gtk+-2.0/gtk+-2.0-custom.vala +++ b/vapi/packages/gtk+-2.0/gtk+-2.0-custom.vala @@ -30,11 +30,12 @@ namespace Gtk { public Gtk.AccelKey* find (Gtk.AccelGroupFindFunc find_func); } - public struct Allocation { - public int x; - public int y; - public int width; - public int height; + public struct Allocation : Gdk.Rectangle { + } + + [Compact] + public class BindingSet { + public static unowned BindingSet @new (string name); } [CCode (cheader_filename = "gtk/gtk.h")] @@ -203,7 +204,7 @@ namespace Gtk { public class Widget { [CCode (has_new_function = false, construct_function = "gtk_widget_new")] - public extern Widget (...); + public extern Widget (GLib.Type type, ...); [CCode (cname = "GTK_WIDGET_FLAGS")] public extern WidgetFlags get_flags (); @@ -511,4 +512,6 @@ namespace Gtk { public static void stock_add_static (Gtk.StockItem[] items); [Deprecated (since = "vala-0.12", replacement = "Gtk.Stock.list_ids")] public static GLib.SList stock_list_ids (); + [Deprecated (since = "vala-0.26", replacement = "Gtk.Stock.set_translate_func")] + public static void stock_set_translate_func (string domain, owned Gtk.TranslateFunc func); } diff --git a/vapi/packages/gtk+-2.0/gtk+-2.0.metadata b/vapi/packages/gtk+-2.0/gtk+-2.0.metadata index 159f776da..df634f7e2 100644 --- a/vapi/packages/gtk+-2.0/gtk+-2.0.metadata +++ b/vapi/packages/gtk+-2.0/gtk+-2.0.metadata @@ -1,7 +1,10 @@ Gtk cheader_filename="gtk/gtk.h" gir_namespace="Gtk" gir_version="2.0" replacement="gtk+-3.0" -gtk_about_dialog_set_artists.artists is_array="1" no_array_length="1" -gtk_about_dialog_set_authors.authors is_array="1" no_array_length="1" -gtk_about_dialog_set_documenters.documenters is_array="1" no_array_length="1" +gtk_about_dialog_get_artists is_array="1" no_array_length="1" array_null_terminated="1" +gtk_about_dialog_get_authors is_array="1" no_array_length="1" array_null_terminated="1" +gtk_about_dialog_get_documenters is_array="1" no_array_length="1" array_null_terminated="1" +gtk_about_dialog_set_artists.artists is_array="1" no_array_length="1" array_null_terminated="1" +gtk_about_dialog_set_authors.authors is_array="1" no_array_length="1" array_null_terminated="1" +gtk_about_dialog_set_documenters.documenters is_array="1" no_array_length="1" array_null_terminated="1" gtk_about_dialog_set_email_hook.func transfer_ownership="1" gtk_about_dialog_set_email_hook.data hidden="1" gtk_about_dialog_set_email_hook.destroy hidden="1" @@ -15,7 +18,11 @@ GtkAccelGroupActivate has_target="1" gtk_accel_group_connect.closure type_name="AccelGroupActivate" transfer_ownership="1" ctype="GClosure*" gtk_accel_group_connect_by_path.closure type_name="AccelGroupActivate" transfer_ownership="1" ctype="GClosure*" gtk_accel_group_find hidden="1" +gtk_accel_group_query is_array="1" array_length_pos="2.1" array_length_cname="n_entries" +gtk_accel_group_query.n_entries hidden="1" GtkAccelKey is_value_type="1" +gtk_accel_label_get_accel.accelerator_key is_out="1" +gtk_accel_label_get_accel.accelerator_mods is_out="1" gtk_accel_label_set_accel_closure.accel_closure type_name="AccelGroupActivate" transfer_ownership="1" ctype="GClosure*" gtk_accel_map_lookup_entry.key is_out="1" gtk_accelerator_parse.accelerator_key is_out="1" @@ -41,6 +48,7 @@ gtk_action_group_set_translate_func.func transfer_ownership="1" gtk_action_group_set_translate_func.data hidden="1" gtk_action_group_set_translate_func.notify hidden="1" gtk_action_group_list_actions transfer_ownership="1" type_arguments="unowned Action" +GtkActivatable:related_action owned_get="1" GtkAdjustment::changed has_emitter="1" GtkAdjustment::value_changed has_emitter="1" gtk_alignment_get_padding.padding_top is_out="1" @@ -56,7 +64,11 @@ gtk_assistant_set_forward_page_func.page_func transfer_ownership="1" gtk_assistant_set_forward_page_func.data hidden="1" gtk_assistant_set_forward_page_func.destroy hidden="1" GtkBindingArg.d hidden="1" +gtk_binding_entry_add_signal ellipsis="1" gtk_binding_entry_add_signall.binding_args type_arguments="BindingArg" +gtk_binding_set_by_class.object_class type_name="GLib.ObjectClass" +gtk_binding_set_new hidden="1" +GtkBindingSet compact="1" GtkBindingSet.class_branch_pspecs hidden="1" GtkBindingSet.widget_class_pspecs hidden="1" GtkBindingSet.widget_path_pspecs hidden="1" @@ -73,17 +85,19 @@ gtk_box_query_child_packing.fill is_out="1" gtk_box_query_child_packing.padding is_out="1" gtk_box_query_child_packing.pack_type is_out="1" gtk_buildable_add_child.type nullable="1" +gtk_buildable_construct_child transfer_ownership="1" gtk_buildable_custom_finished.child nullable="1" gtk_buildable_custom_tag_end.child nullable="1" gtk_buildable_custom_tag_end.data is_out="1" gtk_buildable_custom_tag_start.child nullable="1" gtk_buildable_custom_tag_start.parser is_out="1" gtk_buildable_custom_tag_start.data is_out="1" -gtk_builder_add_objects_from_file.object_ids no_array_length="1" is_array="1" -gtk_builder_add_objects_from_string.object_ids no_array_length="1" is_array="1" +gtk_builder_add_objects_from_file.object_ids no_array_length="1" array_null_terminated="1" is_array="1" +gtk_builder_add_objects_from_string.object_ids no_array_length="1" array_null_terminated="1" is_array="1" gtk_builder_get_objects transfer_ownership="1" type_arguments="unowned GLib.Object" +gtk_builder_value_from_string.value is_out="1" +gtk_builder_value_from_string_type.value is_out="1" GtkBuilderConnectFunc.connect_object nullable="1" -GtkBuilderError errordomain="1" gtk_button_get_alignment.xalign is_out="1" gtk_button_get_alignment.yalign is_out="1" gtk_button_set_label.label nullable="1" @@ -123,6 +137,7 @@ gtk_cell_renderer_get_size.height is_out="1" gtk_cell_renderer_render abstract="1" GtkCellRenderer abstract="1" GtkCellRenderer::editing_canceled has_emitter="1" +gtk_cell_view_get_displayed_row transfer_ownership="1" gtk_cell_view_get_size_of_row.requisition is_out="1" gtk_cell_view_set_model.model nullable="1" GtkCheckMenuItem::toggled has_emitter="1" @@ -149,37 +164,47 @@ gtk_color_button_get_color.color is_out="1" gtk_color_selection_get_current_color.color is_out="1" gtk_color_selection_get_previous_color.color is_out="1" gtk_color_selection_dialog_get_color_selection type_name="Gtk.ColorSelection" +gtk_color_selection_palette_from_string.colors is_out="1" is_array="1" transfer_ownership="1" +gtk_color_selection_palette_to_string transfer_ownership="1" gtk_combo_box_get_active_iter.iter is_out="1" gtk_combo_box_set_active_iter.iter nullable="1" gtk_combo_box_set_model.model nullable="1" gtk_combo_box_set_row_separator_func.func transfer_ownership="1" gtk_combo_box_set_row_separator_func.data hidden="1" gtk_combo_box_set_row_separator_func.destroy hidden="1" +GtkComboBox::format_entry_text transfer_ownership="1" GtkComboBox::popdown has_emitter="1" GtkComboBox::popup has_emitter="1" gtk_combo_box_text_get_active_text transfer_ownership="1" GtkContainer::add has_emitter="1" GtkContainer::check_resize has_emitter="1" +GtkContainer::composite_name transfer_ownership="1" GtkContainer::remove has_emitter="1" GtkContainer::set_focus_child has_emitter="1" GtkContainer::set_focus_child.widget nullable="1" +gtk_container_child_get_valist.var_args type_name="va_list" +gtk_container_child_set_valist.var_args type_name="va_list" gtk_container_forall virtual="0" gtk_container_forall.callback_data hidden="1" gtk_container_foreach.callback_data hidden="1" gtk_container_get_children transfer_ownership="1" type_arguments="unowned Widget" -gtk_container_get_focus_chain.focusable_widgets is_out="1" takes_ownership="1" type_arguments="Widget" +gtk_container_get_focus_chain.focusable_widgets is_out="1" takes_ownership="1" type_arguments="unowned Widget" gtk_container_set_focus_chain.focusable_widgets type_arguments="Widget" GtkContainerClass name="pointer" GtkDestroyNotify has_target="0" gtk_dialog_new_with_buttons.title nullable="1" gtk_dialog_new_with_buttons.parent nullable="1" gtk_dialog_set_alternative_button_order sentinel="-1" +gtk_dialog_set_alternative_button_order_from_array.n_params hidden="1" +gtk_dialog_set_alternative_button_order_from_array.new_order is_array="1" array_length_pos="0.5" GtkDialog::response has_emitter="1" GtkDialog.vbox type_name="VBox" GtkDialog.action_area type_name="HButtonBox" GtkEditable::delete_text has_emitter="1" GtkEditable::insert_text has_emitter="1" GtkEditable::insert_text.position type_name="int" is_ref="1" +gtk_editable_do_insert_text.position is_ref="1" +gtk_editable_get_chars transfer_ownership="1" gtk_editable_get_selection_bounds.start_pos is_out="1" gtk_editable_get_selection_bounds.end_pos is_out="1" gtk_editable_select_region hidden="1" @@ -189,6 +214,7 @@ gtk_entry_buffer_emit_inserted_text.chars type_name="uint8" gtk_entry_buffer_insert_text.chars type_name="uint8" gtk_entry_buffer_set_text.chars type_name="uint8" GtkEntryCompletion::insert_prefix has_emitter="1" +gtk_entry_completion_compute_prefix transfer_ownership="1" gtk_entry_completion_set_model.model nullable="1" gtk_entry_completion.func transfer_ownership="1" gtk_entry_completion.func_data hidden="1" @@ -196,6 +222,8 @@ gtk_entry_completion.func_notify hidden="1" gtk_entry_completion_set_match_func.func transfer_ownership="1" gtk_entry_completion_set_match_func.func_data hidden="1" gtk_entry_completion_set_match_func.func_notify hidden="1" +gtk_entry_get_icon_tooltip_markup transfer_ownership="1" nullable="1" +gtk_entry_get_icon_tooltip_text transfer_ownership="1" nullable="1" gtk_entry_get_layout_offsets.x is_out="1" gtk_entry_get_layout_offsets.y is_out="1" gtk_entry_set_icon_from_pixbuf.pixbuf nullable="1" @@ -207,10 +235,14 @@ gtk_entry_set_icon_tooltip_text.tooltip nullable="1" gtk_false hidden="1" gtk_file_chooser_add_filter.filter transfer_ownership="1" gtk_file_chooser_get_current_folder transfer_ownership="1" +gtk_file_chooser_get_current_folder_file transfer_ownership="1" gtk_file_chooser_get_current_folder_uri transfer_ownership="1" +gtk_file_chooser_get_current_name transfer_ownership="1" +gtk_file_chooser_get_file transfer_ownership="1" gtk_file_chooser_get_filename transfer_ownership="1" gtk_file_chooser_get_filenames transfer_ownership="1" type_arguments="string" gtk_file_chooser_get_files hidden="1" +gtk_file_chooser_get_preview_file transfer_ownership="1" gtk_file_chooser_get_preview_filename transfer_ownership="1" gtk_file_chooser_get_preview_uri transfer_ownership="1" gtk_file_chooser_get_uri transfer_ownership="1" @@ -220,6 +252,9 @@ gtk_file_chooser_dialog_new.title nullable="1" gtk_file_chooser_dialog_new.parent nullable="1" gtk_file_chooser_dialog_new_with_backend.title nullable="1" gtk_file_chooser_dialog_new_with_backend.parent nullable="1" +GtkFileChooser:extra-widget owned_get="1" +GtkFileChooser:filter owned_get="1" +GtkFileChooser:preview-widget owned_get="1" gtk_file_filter_add_custom.func transfer_ownership="1" gtk_file_filter_add_custom.data hidden="1" gtk_file_filter_add_custom.notify hidden="1" @@ -228,6 +263,8 @@ gtk_file_chooser_list_shortcut_folder_uris nullable="1" transfer_ownership="1" t gtk_file_chooser_list_shortcut_folders nullable="1" transfer_ownership="1" type_arguments="string" GtkFixed.children type_arguments="FixedChild" gtk_frame_new.label nullable="1" +gtk_frame_get_label_align.xalign is_out="1" +gtk_frame_get_label_align.yalign is_out="1" GtkHandleBox.child_detached hidden="1" GtkHandleBox::child_detached hidden="1" gtk_hscale_new.adjustment nullable="1" @@ -241,6 +278,7 @@ gtk_hsv_to_rgb.r is_out="1" gtk_hsv_to_rgb.g is_out="1" gtk_hsv_to_rgb.b is_out="1" gtk_icon_info_copy transfer_ownership="1" +gtk_icon_info_get_attach_points.points is_array="1" is_out="1" transfer_ownership="1" gtk_icon_info_get_embedded_rect.rectangle is_out="1" gtk_icon_info_load_icon transfer_ownership="1" gtk_icon_view_get_cursor.path transfer_ownership="1" @@ -257,6 +295,7 @@ gtk_icon_set_get_sizes.sizes is_array="1" is_out="1" transfer_ownership="1" gtk_icon_set_render_icon transfer_ownership="1" gtk_icon_source_copy transfer_ownership="1" gtk_icon_theme_list_contexts transfer_ownership="1" type_arguments="string" +gtk_icon_theme_get_example_icon_name transfer_ownership="1" nullable="1" gtk_icon_theme_get_icon_sizes is_array="1" no_array_length="1" array_null_terminated="1" transfer_ownership="1" gtk_icon_theme_get_search_path.path is_array="1" is_out="1" transfer_ownership="1" gtk_icon_theme_get_search_path.n_elements hidden="1" @@ -267,7 +306,10 @@ gtk_icon_theme_lookup_icon transfer_ownership="1" gtk_icon_theme_choose_icon transfer_ownership="1" gtk_icon_theme_choose_icon.icon_names no_array_length="1" array_null_terminated="1" gtk_icon_theme_lookup_by_gicon transfer_ownership="1" +gtk_icon_theme_set_search_path.n_elements hidden="1" GtkIconView::item_activated has_emitter="1" +gtk_icon_view_create_drag_icon transfer_ownership="1" +gtk_icon_view_get_path_at_pos transfer_ownership="1" gtk_icon_view_select_all hidden="1" experimental="1" gtk_icon_view_selected_foreach.data hidden="1" gtk_icon_view_set_cursor.cell nullable="1" @@ -287,11 +329,12 @@ gtk_image_set_from_pixmap.pixmap nullable="1" gtk_image_set_from_pixmap.mask nullable="1" GtkIMContext cheader_filename="gtk/gtk.h,gtk/gtkimmodule.h" GtkIMContext::delete_surrounding has_emitter="1" -gtk_im_context_get_preedit_string.str is_out="1" +gtk_im_context_get_preedit_string.str is_out="1" transfer_ownership="1" gtk_im_context_get_preedit_string.attrs transfer_ownership="1" gtk_im_context_get_preedit_string.cursor_pos is_out="1" -gtk_im_context_get_surrounding.text is_out="1" +gtk_im_context_get_surrounding.text is_out="1" transfer_ownership="1" gtk_im_context_get_surrounding.cursor_index is_out="1" +gtk_im_context_simple_add_table.data is_array="1" no_array_length="1" GtkIMContextInfo is_value_type="1" cheader_filename="gtk/gtk.h,gtk/gtkimmodule.h" gtk_info_bar_add_button type_name="Gtk.Button" gtk_info_bar_get_content_area type_name="Gtk.Container" @@ -335,14 +378,20 @@ gtk_list_store_insert_before.sibling nullable="1" gtk_list_store_insert_with_values ellipsis="1" sentinel="-1" gtk_list_store_insert_with_values.iter is_out="1" gtk_list_store_insert_with_valuesv.iter is_out="1" +gtk_list_store_insert_with_valuesv.columns is_array="1" array_length_pos="4.1" array_length_cname="n_values" +gtk_list_store_insert_with_valuesv.values is_array="1" array_length_pos="4.1" array_length_cname="n_values" gtk_list_store_move_after.iter is_ref="1" gtk_list_store_move_after.position nullable="1" gtk_list_store_move_before.iter is_ref="1" gtk_list_store_move_before.position nullable="1" gtk_list_store_prepend.iter is_out="1" +gtk_list_store_reorder.new_order is_array="1" array_null_terminated="1" gtk_list_store_set_column_types.n_columns hidden="1" gtk_list_store_set_column_types.types array_length_pos="0.9" gtk_list_store_set ellipsis="1" sentinel="-1" +gtk_list_store_set_valist.var_args type_name="va_list" +gtk_list_store_set_valuesv.columns is_array="1" array_length_pos="3.1" array_length_cname="n_values" +gtk_list_store_set_valuesv.values is_array="1" array_length_pos="3.1" array_length_cname="n_values" gtk_icon_size_lookup.width is_out="1" gtk_icon_size_lookup.height is_out="1" gtk_icon_size_lookup_for_settings.width is_out="1" @@ -404,6 +453,7 @@ gtk_notebook_set_menu_label.menu_label nullable="1" gtk_notebook_set_tab_label.tab_label nullable="1" gtk_notebook_set_group.group nullable="1" gtk_notebook_page_num hidden="1" +gtk_offscreen_window_get_pixbuf transfer_ownership="1" GtkObject::destroy has_emitter="1" gtk_page_setup_copy transfer_ownership="1" gtk_parse_args.argv is_array="1" @@ -470,7 +520,18 @@ gtk_paint_vline.detail nullable="1" gtk_paper_size_copy transfer_ownership="1" gtk_paper_size_get_paper_sizes transfer_ownership="1" type_arguments="PaperSize" GtkPlug::embedded hidden="1" +gtk_print_context_create_pango_context transfer_ownership="1" +gtk_print_context_create_pango_layout transfer_ownership="1" +gtk_print_context_get_hard_margins.top is_out="1" +gtk_print_context_get_hard_margins.bottom is_out="1" +gtk_print_context_get_hard_margins.left is_out="1" +gtk_print_context_get_hard_margins.right is_out="1" gtk_print_settings_copy transfer_ownership="1" +gtk_print_settings_get_page_ranges is_array="1" array_length_pos="0.1" array_length_cname="num_ranges" transfer_ownership="1" +gtk_print_settings_get_page_ranges.num_ranges hidden="1" +gtk_print_settings_get_paper_size transfer_ownership="1" +gtk_print_settings_set_page_ranges.page_ranges is_array="1" array_length_pos="1.1" array_length_cname="num_ranges" +gtk_print_settings_set_page_ranges.num_ranges hidden="1" gtk_printer_accepts_pdf hidden="1" experimental="1" gtk_printer_accepts_ps hidden="1" experimental="1" gtk_printer_is_virtual hidden="1" experimental="1" @@ -504,11 +565,16 @@ gtk_radio_tool_button_new_from_stock.group nullable="1" type_arguments="RadioToo gtk_radio_tool_button_set_group.group type_arguments="RadioToolButton" gtk_range_get_slider_range.slider_start is_out="1" gtk_range_get_slider_range.slider_end is_out="1" +gtk_recent_chooser_get_current_item transfer_ownership="1" +gtk_recent_chooser_get_current_uri transfer_ownership="1" +gtk_recent_chooser_get_uris is_array="1" array_length_pos="0.1" transfer_ownership="1" +gtk_recent_chooser_get_uris.length hidden="1" gtk_recent_chooser_set_sort_func.sort_func transfer_ownership="1" gtk_recent_chooser_set_sort_func.sort_data hidden="1" gtk_recent_chooser_set_sort_func.data_destroy hidden="1" gtk_recent_chooser_get_items transfer_ownership="1" type_arguments="RecentInfo" gtk_recent_chooser_list_filters transfer_ownership="1" type_arguments="unowned RecentFilter" +GtkRecentChooser:filter owned_get="1" gtk_recent_info_get_application_info.app_exec is_out="1" gtk_recent_info_get_application_info.count is_out="1" gtk_recent_info_get_application_info.time_ is_out="1" @@ -521,6 +587,7 @@ gtk_recent_info_get_short_name transfer_ownership="1" gtk_recent_info_get_uri_display transfer_ownership="1" nullable="1" gtk_recent_info_last_application transfer_ownership="1" gtk_recent_manager_get_items transfer_ownership="1" type_arguments="RecentInfo" +gtk_recent_manager_lookup_item transfer_ownership="1" GtkRecentData is_value_type="1" has_copy_function="0" has_destroy_function="0" GtkRecentData.display_name weak="0" GtkRecentData.description weak="0" @@ -541,12 +608,17 @@ gtk_scale_add_mark.markup nullable="1" gtk_scale_button_new.min default_value="0.0" gtk_scale_button_new.max default_value="100.0" gtk_scale_button_new.step default_value="2.0" -gtk_scale_button_new.icons is_array="1" no_array_length="1" nullable="1" default_value="null" -gtk_scale_button_set_icons.icons is_array="1" no_array_length="1" +gtk_scale_button_new.icons is_array="1" no_array_length="1" array_null_terminated="1" nullable="1" default_value="null" +gtk_scale_button_set_icons.icons is_array="1" no_array_length="1" array_null_terminated="1" gtk_scale_draw_value hidden="1" gtk_scale_get_layout_offsets.x is_out="1" gtk_scale_get_layout_offsets.y is_out="1" GtkScale::format_value transfer_ownership="1" +GtkScrollable:hadjustment owned_get="1" +GtkScrollable:vadjustment owned_get="1" +gtk_scrollbar_new.adjustment nullable="1" +gtk_scrolled_window_get_policy.hscrollbar_policy is_out="1" +gtk_scrolled_window_get_policy.vscrollbar_policy is_out="1" gtk_scrolled_window_new.hadjustment nullable="1" gtk_scrolled_window_new.vadjustment nullable="1" gtk_selection_add_targets.targets is_array="1" @@ -558,7 +630,7 @@ gtk_selection_data_get_targets.n_atoms hidden="1" gtk_selection_data_get_text type_name="string" nullable="1" transfer_ownership="1" gtk_selection_data_get_uris is_array="1" transfer_ownership="1" array_null_terminated="1" gtk_selection_data_set.length hidden="1" -gtk_selection_data_set_uris.uris is_array="1" no_array_length="1" +gtk_selection_data_set_uris.uris is_array="1" no_array_length="1" array_null_terminated="1" GtkSettings.queued_settings hidden="1" GtkSettings:color-hash type_arguments="string,Gdk.Color" gtk_show_about_dialog ellipsis="1" @@ -567,6 +639,9 @@ gtk_show_uri.screen nullable="1" gtk_signal_new hidden="1" // Requires GSignalCMarshaller gtk_signal_newv hidden="1" // Requires GSignalCMarshaller gtk_size_group_get_widgets type_arguments="Widget" +GtkSpinButton::input.new_value type_name="double" is_out="1" +gtk_spin_button_get_increments.step is_out="1" +gtk_spin_button_get_increments.page is_out="1" gtk_spin_button_get_range.min is_out="1" gtk_spin_button_get_range.max is_out="1" GtkStatusIcon::button_press_event.event namespace_name="Gdk" type_name="EventButton" @@ -574,9 +649,14 @@ GtkStatusIcon::button_release_event.event namespace_name="Gdk" type_name="EventB gtk_statusbar_get_message_area type_name="Gtk.Container" gtk_status_icon_get_geometry.area is_out="1" gtk_status_icon_get_geometry.orientation is_out="1" +gtk_status_icon_get_tooltip_markup transfer_ownership="1" +gtk_status_icon_get_tooltip_text transfer_ownership="1" gtk_status_icon_position_menu hidden="1" +GtkStatusIcon:tooltip-markup owned_get="1" +GtkStatusIcon:tooltip-text owned_get="1" GTK_STOCK_* parent="Stock" gtk_stock_add* parent="Stock" +gtk_stock_set_translate_func parent="Stock" gtk_stock_set_translate_func.func transfer_ownership="1" gtk_stock_set_translate_func.data hidden="1" gtk_stock_set_translate_func.notify hidden="1" @@ -605,12 +685,15 @@ gtk_style_clone transfer_ownership="1" gtk_style_copy virtual="0" type_name="Style" transfer_ownership="1" gtk_style_lookup_color.color is_out="1" gtk_style_get_style_property.value is_out="1" +gtk_table_get_size.rows is_out="1" +gtk_table_get_size.columns is_out="1" GtkTable.children type_arguments="TableChild" GtkTable:row-spacing accessor_method="0" GtkTargetEntry is_value_type="1" GtkTargetList.list type_arguments="TargetPair" gtk_target_list_add_table.targets is_array="1" nullable="1" gtk_target_list_add_table.ntargets hidden="1" +gtk_target_list_find.info is_out="1" nullable="1" transfer_ownership="1" gtk_target_list_new.targets is_array="1" gtk_target_list_new.ntargets hidden="1" gtk_target_table_new_from_list is_array="1" transfer_ownership="1" @@ -620,6 +703,8 @@ gtk_test_init.argcp hidden="1" gtk_test_init.argvp is_array="1" is_ref="1" array_length_pos="0.9" gtk_test_display_button_window ellipsis="1" gtk_text_attributes_copy transfer_ownership="1" +GtkTextAttributes.appearance weak="0" +GtkTextAttributes.language weak="0" gtk_text_buffer_delete.start is_ref="1" gtk_text_buffer_delete.end is_ref="1" gtk_text_buffer_delete_interactive.start_iter is_ref="1" @@ -673,11 +758,17 @@ GtkTextBufferDeserializeFunc has_target="1" instance_pos="5.9" gtk_text_mark_new.name nullable="1" gtk_text_mark_new.left_gravity default_value="false" GtkTextIter is_value_type="1" +gtk_text_iter_get_language transfer_ownership="1" gtk_text_iter_get_marks transfer_ownership="1" type_arguments="unowned TextMark" +gtk_text_iter_get_slice transfer_ownership="1" gtk_text_iter_get_tags transfer_ownership="1" type_arguments="unowned TextTag" +gtk_text_iter_get_text transfer_ownership="1" gtk_text_iter_get_toggled_tags transfer_ownership="1" type_arguments="unowned TextTag" +gtk_text_iter_get_visible_slice transfer_ownership="1" +gtk_text_iter_get_visible_text transfer_ownership="1" GtkTextTag::event has_emitter="1" GtkTextView.layout hidden="1" +GtkTextView:tabs owned_get="1" gtk_text_iter_backward_search.match_start is_out="1" gtk_text_iter_backward_search.match_end is_out="1" gtk_text_iter_backward_search.limit nullable="1" @@ -689,6 +780,10 @@ gtk_text_iter_forward_search.match_start is_out="1" gtk_text_iter_forward_search.match_end is_out="1" gtk_text_iter_forward_search.limit nullable="1" gtk_text_iter_forward_to_tag_toggle.tag nullable="1" +gtk_text_view_get_cursor_locations.iter nullable="1" +gtk_text_view_get_cursor_locations.strong is_out="1" +gtk_text_view_get_cursor_locations.weak is_out="1" +gtk_text_view_get_default_attributes transfer_ownership="1" gtk_text_view_get_iter_at_location.iter is_out="1" gtk_text_view_get_iter_at_position.iter is_out="1" gtk_text_view_get_iter_at_position.trailing is_out="1" @@ -697,6 +792,7 @@ gtk_text_view_get_line_at_y.target_iter is_out="1" gtk_text_view_get_line_at_y.line_top is_out="1" gtk_text_view_get_line_yrange.y is_out="1" gtk_text_view_get_line_yrange.height is_out="1" +gtk_text_view_get_tabs transfer_ownership="1" gtk_text_view_get_visible_rect.visible_rect is_out="1" gtk_text_view_window_to_buffer_coords.buffer_x is_out="1" gtk_text_view_window_to_buffer_coords.buffer_y is_out="1" @@ -719,6 +815,8 @@ gtk_tool_button_new.icon_widget nullable="1" gtk_tool_button_new.label nullable="1" gtk_tool_item_toolbar_reconfigured hidden="1" GtkToolItem::set_tooltip hidden="1" +gtk_tool_palette_get_drag_target_group transfer_ownership="0" +gtk_tool_palette_get_drag_target_item transfer_ownership="0" GtkTranslateFunc has_target="1" GtkTranslateFunc.func_data hidden="1" GtkTreeIter is_value_type="1" @@ -742,6 +840,9 @@ gtk_tree_model_iter_nth_child.iter is_out="1" gtk_tree_model_iter_nth_child.parent nullable="1" gtk_tree_model_iter_parent.iter is_out="1" gtk_tree_model_ref_node virtual="1" +gtk_tree_model_rows_reordered_with_length.iter nullable="1" +gtk_tree_model_rows_reordered_with_length.new_order is_array="1" array_length_cname="length" array_length_pos="3.1" +gtk_tree_model_rows_reordered_with_length.length hidden="1" gtk_tree_model_unref_node virtual="1" GtkTreeModel::row_changed has_emitter="1" GtkTreeModel::row_deleted has_emitter="1" @@ -749,8 +850,10 @@ GtkTreeModel::row_has_child_toggled has_emitter="1" GtkTreeModel::row_inserted has_emitter="1" GtkTreeModel::rows_reordered has_emitter="1" GtkTreeModel::rows_reordered.iter nullable="1" +gtk_tree_model_filter_convert_child_path_to_path transfer_ownership="1" gtk_tree_model_filter_convert_child_iter_to_iter.filter_iter is_out="1" gtk_tree_model_filter_convert_iter_to_child_iter.child_iter is_out="1" +gtk_tree_model_filter_convert_path_to_child_path transfer_ownership="1" gtk_tree_model_filter_set_modify_func.n_columns hidden="1" gtk_tree_model_filter_set_modify_func.types array_length_pos="0.9" gtk_tree_model_filter_set_modify_func.func transfer_ownership="1" @@ -760,7 +863,9 @@ gtk_tree_model_filter_set_visible_func.func transfer_ownership="1" gtk_tree_model_filter_set_visible_func.data hidden="1" gtk_tree_model_filter_set_visible_func.destroy hidden="1" gtk_tree_model_sort_convert_child_iter_to_iter.sort_iter is_out="1" +gtk_tree_model_sort_convert_child_path_to_path transfer_ownership="1" gtk_tree_model_sort_convert_iter_to_child_iter.child_iter is_out="1" +gtk_tree_model_sort_convert_path_to_child_path transfer_ownership="1" gtk_tree_path_get_indices is_array="1" no_array_length="1" gtk_tree_path_new_from_indices sentinel="-1" gtk_tree_path_copy transfer_ownership="1" @@ -794,6 +899,8 @@ gtk_tree_store_insert_with_values.iter is_out="1" gtk_tree_store_insert_with_values.parent nullable="1" gtk_tree_store_insert_with_valuesv.iter is_out="1" gtk_tree_store_insert_with_valuesv.parent nullable="1" +gtk_tree_store_insert_with_valuesv.columns is_array="1" array_length_pos="5.1" array_length_cname="n_values" +gtk_tree_store_insert_with_valuesv.values is_array="1" array_length_pos="5.1" array_length_cname="n_values" gtk_tree_store_move_after.iter is_ref="1" gtk_tree_store_move_after.position nullable="1" gtk_tree_store_move_before.iter is_ref="1" @@ -802,9 +909,13 @@ gtk_tree_store_prepend.iter is_out="1" gtk_tree_store_prepend.parent nullable="1" gtk_tree_store_remove.iter is_ref="1" gtk_tree_store_reorder.parent nullable="1" +gtk_list_store_reorder.new_order is_array="1" array_null_terminated="1" gtk_tree_store_set ellipsis="1" sentinel="-1" gtk_tree_store_set_column_types.n_columns hidden="1" gtk_tree_store_set_column_types.types array_length_pos="0.9" +gtk_list_store_set_valist.var_args type_name="va_list" +gtk_list_store_set_valuesv.columns is_array="1" array_length_pos="3.1" array_length_cname="n_values" +gtk_list_store_set_valuesv.values is_array="1" array_length_pos="3.1" array_length_cname="n_values" gtk_tree_sortable_get_sort_column_id.sort_column_id is_out="1" gtk_tree_sortable_get_sort_column_id.order is_out="1" gtk_tree_sortable_set_default_sort_func.sort_func transfer_ownership="1" @@ -812,6 +923,7 @@ gtk_tree_sortable_set_default_sort_func.destroy hidden="1" gtk_tree_sortable_set_sort_func.sort_func transfer_ownership="1" gtk_tree_sortable_set_sort_func.destroy hidden="1" GtkTreeSortable::sort_column_changed has_emitter="1" +gtk_tree_view_create_row_drag_icon transfer_ownership="1" gtk_tree_view_column_cell_get_position.start_pos is_out="1" gtk_tree_view_column_cell_get_position.width is_out="1" gtk_tree_view_column_cell_get_size.cell_area is_out="1" @@ -860,6 +972,11 @@ gtk_tree_view_insert_column_with_attributes.title nullable="1" gtk_tree_view_insert_column_with_data_func.func transfer_ownership="1" gtk_tree_view_insert_column_with_data_func.data hidden="1" gtk_tree_view_insert_column_with_data_func.dnotify hidden="1" +gtk_tree_view_is_blank_at_pos.path transfer_ownership="1" +gtk_tree_view_is_blank_at_pos.column transfer_ownership="1" +gtk_tree_view_is_blank_at_pos.cell_x is_out="1" +gtk_tree_view_is_blank_at_pos.cell_y is_out="1" +gtk_tree_view_map_expanded_rows.data hidden="1" gtk_tree_view_row_expanded name="is_row_expanded" gtk_tree_view_set_column_drag_function.func transfer_ownership="1" gtk_tree_view_set_column_drag_function.destroy hidden="1" @@ -888,9 +1005,11 @@ gtk_tree_view_column_set_attributes ellipsis="1" gtk_tree_view_column_set_model.model nullable="1" GtkTreeViewSearchEqualFunc hidden="1" gtk_true hidden="1" +GtkUIManager:ui owned_get="1" gtk_ui_manager_add_ui.action nullable="1" gtk_ui_manager_get_action_groups type_arguments="ActionGroup" gtk_ui_manager_get_toplevels transfer_ownership="1" type_arguments="unowned Widget" +gtk_ui_manager_get_ui transfer_ownership="1" gtk_ui_manager_new_merge_id hidden="1" gtk_viewport_new.hadjustment nullable="1" gtk_viewport_new.vadjustment nullable="1" @@ -899,25 +1018,30 @@ gtk_vscrollbar_new.adjustment nullable="1" GtkWidget::can_activate_accel has_emitter="1" GtkWidget:can-focus accessor_method="0" gtk_widget_class_path.path_length is_out="1" -gtk_widget_class_path.path is_out="1" -gtk_widget_class_path.path_reversed is_out="1" +gtk_widget_class_path.path is_out="1" transfer_ownership="1" +gtk_widget_class_path.path_reversed is_out="1" transfer_ownership="1" gtk_widget_create_pango_context transfer_ownership="1" gtk_widget_create_pango_layout transfer_ownership="1" gtk_widget_create_pango_layout.text nullable="1" gtk_widget_destroy hidden="1" +gtk_widget_dispatch_child_properties_changed.n_pspecs hidden="1" +gtk_widget_dispatch_child_properties_changed.pspecs is_array="1" array_length_pos="0.5" array_length_cname="n_pspecs" is_out="1" transfer_ownership="1" GtkWidget::event has_emitter="1" gtk_widget_get_allocation.allocation is_out="1" gtk_widget_get_child_requisition.requisition is_out="1" +gtk_widget_get_composite_name transfer_ownership="1" gtk_widget_get_requisition.requisition hidden="1" gtk_widget_get_requisition type_name="Gtk.Requisition" gtk_widget_get_pointer.x is_out="1" gtk_widget_get_pointer.y is_out="1" gtk_widget_get_size_request.width is_out="1" gtk_widget_get_size_request.height is_out="1" +gtk_widget_get_tooltip_markup transfer_ownership="1" +gtk_widget_get_tooltip_text transfer_ownership="1" gtk_widget_input_shape_combine_mask.shape_mask nullable="1" gtk_widget_intersect.intersection nullable="1" gtk_widget_is_focus hidden="1" experimental="1" -gtk_widget_list_accel_closures transfer_ownership="1" type_arguments="GLib.Closure" +gtk_widget_list_accel_closures transfer_ownership="1" type_arguments="unowned GLib.Closure" gtk_widget_list_mnemonic_labels transfer_ownership="1" type_arguments="unowned Widget" gtk_widget_modify_base.color nullable="1" gtk_widget_modify_bg.color nullable="1" @@ -927,8 +1051,9 @@ gtk_widget_modify_fg.color nullable="1" gtk_widget_modify_font.font_desc nullable="1" gtk_widget_modify_text.color nullable="1" gtk_widget_path.path_length is_out="1" -gtk_widget_path.path is_out="1" -gtk_widget_path.path_reversed is_out="1" +gtk_widget_path.path is_out="1" transfer_ownership="1" +gtk_widget_path.path_reversed is_out="1" transfer_ownership="1" +gtk_widget_region_intersect transfer_ownership="1" gtk_widget_render_icon.detail nullable="1" gtk_widget_render_icon nullable="1" gtk_widget_render_icon transfer_ownership="1" @@ -937,8 +1062,11 @@ gtk_widget_set_scroll_adjustments.vadjustment nullable="1" gtk_widget_set_style.style nullable="1" gtk_widget_shape_combine_mask.shape_mask nullable="1" gtk_widget_style_get_property.value is_ref="1" +gtk_widget_style_get_valist.var_args type_name="va_list" gtk_widget_translate_coordinates.dest_x is_out="1" gtk_widget_translate_coordinates.dest_y is_out="1" +GtkWidget:tooltip-markup owned_get="1" +GtkWidget:tooltip-text owned_get="1" GtkWidget.window weak="0" GtkWidget:window hidden="1" GtkWidget::child_notify has_emitter="1" @@ -978,6 +1106,8 @@ GtkWindow::activate_focus name="focus_activated" experimental="1" GtkWindow::set_focus has_emitter="1" GtkWindow::set_focus.focus nullable="1" gtk_window_group_list_windows transfer_ownership="1" type_arguments="unowned Window" +gtk_window_get_resize_grip_area.rect is_out="1" +gtk_window_set_default_icon_list.list takes_ownership="1" type_arguments="unowned Gdk.Pixbuf" GtkWidget::button_press_event.event namespace_name="Gdk" type_name="EventButton" GtkWidget::button_release_event.event namespace_name="Gdk" type_name="EventButton" GtkWidget::client_event.event namespace_name="Gdk" type_name="EventClient" @@ -1009,3 +1139,11 @@ GtkWidget::window_state_event.event namespace_name="Gdk" type_name="EventWindowS gtk_rgb_to_hsv.h is_out="1" gtk_rgb_to_hsv.s is_out="1" gtk_rgb_to_hsv.v is_out="1" + +// errordomains +GtkBuilderError errordomain="1" +GtkFileChooserError errordomain="1" +GtkIconThemeError errordomain="1" +GtkRecentChooserError errordomain="1" +GtkRecentManagerError errordomain="1" + diff --git a/vapi/packages/gtk+-3.0/gtk+-3.0-custom.vala b/vapi/packages/gtk+-3.0/gtk+-3.0-custom.vala index 3303908ff..3f08bb9e7 100644 --- a/vapi/packages/gtk+-3.0/gtk+-3.0-custom.vala +++ b/vapi/packages/gtk+-3.0/gtk+-3.0-custom.vala @@ -34,11 +34,12 @@ namespace Gtk { public weak string string_data; } - public struct Allocation { - public int x; - public int y; - public int width; - public int height; + public struct Allocation : Gdk.Rectangle { + } + + [Compact] + public class BindingSet { + public static unowned BindingSet @new (string name); } public class Container { @@ -62,7 +63,7 @@ namespace Gtk { public class Widget { [CCode (has_new_function = false, construct_function = "gtk_widget_new")] - public extern Widget (...); + public extern Widget (GLib.Type type, ...); public class uint activate_signal; [CCode (vfunc_name = "get_preferred_height")] [NoWrapper] @@ -490,5 +491,6 @@ namespace Gtk { public static void add_static (Gtk.StockItem[] items); public static GLib.SList list_ids (); public static bool lookup (string stock_id, out Gtk.StockItem item); + public static void set_translate_func (string domain, owned Gtk.TranslateFunc func); } } diff --git a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata index d0daa0d9d..fcb99d536 100644 --- a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata +++ b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata @@ -1,7 +1,11 @@ Gtk cheader_filename="gtk/gtk.h" gir_namespace="Gtk" gir_version="3.0" -gtk_about_dialog_set_artists.artists is_array="1" no_array_length="1" -gtk_about_dialog_set_authors.authors is_array="1" no_array_length="1" -gtk_about_dialog_set_documenters.documenters is_array="1" no_array_length="1" +gtk_about_dialog_add_credit_section.people is_array="1" no_array_length="1" array_null_terminated="1" +gtk_about_dialog_get_artists is_array="1" no_array_length="1" array_null_terminated="1" +gtk_about_dialog_get_authors is_array="1" no_array_length="1" array_null_terminated="1" +gtk_about_dialog_get_documenters is_array="1" no_array_length="1" array_null_terminated="1" +gtk_about_dialog_set_artists.artists is_array="1" no_array_length="1" array_null_terminated="1" +gtk_about_dialog_set_authors.authors is_array="1" no_array_length="1" array_null_terminated="1" +gtk_about_dialog_set_documenters.documenters is_array="1" no_array_length="1" array_null_terminated="1" gtk_about_dialog_set_email_hook.func transfer_ownership="1" gtk_about_dialog_set_email_hook.data hidden="1" gtk_about_dialog_set_email_hook.destroy hidden="1" @@ -16,6 +20,8 @@ gtk_accel_group_connect.closure type_name="AccelGroupActivate" transfer_ownershi gtk_accel_group_connect_by_path.closure type_name="AccelGroupActivate" transfer_ownership="1" ctype="GClosure*" gtk_accel_group_find hidden="1" GtkAccelKey is_value_type="1" +gtk_accel_label_get_accel.accelerator_key is_out="1" +gtk_accel_label_get_accel.accelerator_mods is_out="1" gtk_accel_label_set_accel_closure.accel_closure type_name="AccelGroupActivate" transfer_ownership="1" ctype="GClosure*" gtk_accel_map_lookup_entry.key is_out="1" gtk_accelerator_parse.accelerator_key is_out="1" @@ -45,7 +51,9 @@ gtk_action_group_set_translate_func.func transfer_ownership="1" gtk_action_group_set_translate_func.data hidden="1" gtk_action_group_set_translate_func.notify hidden="1" gtk_action_group_list_actions transfer_ownership="1" type_arguments="unowned Action" +gtk_actionable_set_action_target ellipsis="1" GtkActivatable deprecated_since="3.10" +GtkActivatable:related_action owned_get="1" GtkAdjustment::changed has_emitter="1" GtkAdjustment::value_changed has_emitter="1" gtk_alignment_get_padding.padding_top is_out="1" @@ -53,13 +61,16 @@ gtk_alignment_get_padding.padding_bottom is_out="1" gtk_alignment_get_padding.padding_left is_out="1" gtk_alignment_get_padding.padding_right is_out="1" GtkAllocation is_value_type="1" +gtk_app_chooser_get_app_info transfer_ownership="1" +gtk_app_chooser_get_content_type transfer_ownership="1" +GtkAppChooser:content-type owned_get="1" gtk_application_add_accelerator.parameter nullable="1" -gtk_application_get_accels_for_action transfer_ownership="1" -gtk_application_get_actions_for_accel transfer_ownership="1" +gtk_application_get_accels_for_action is_array="1" no_array_length="1" array_null_terminated="1" transfer_ownership="1" +gtk_application_get_actions_for_accel is_array="1" no_array_length="1" array_null_terminated="1" transfer_ownership="1" gtk_application_get_windows type_arguments="unowned Window" gtk_application_inhibit.window nullable="1" gtk_application_inhibit.reason nullable="1" -gtk_application_list_action_descriptions transfer_ownership="1" +gtk_application_list_action_descriptions is_array="1" no_array_length="1" array_null_terminated="1" transfer_ownership="1" gtk_application_remove_accelerator.parameter nullable="1" gtk_application_set_accels_for_action.accels is_array="1" no_array_length="1" array_null_terminated="1" GtkArg.d hidden="1" @@ -79,6 +90,9 @@ GtkBindingArg.d hidden="1" gtk_binding_entry_add_signal ellipsis="1" gtk_binding_entry_add_signall.binding_args type_arguments="BindingArg?" gtk_binding_set_add_path deprecated_since="3.0" +gtk_binding_set_by_class.object_class type_name="GLib.ObjectClass" +gtk_binding_set_new hidden="1" +GtkBindingSet compact="1" GtkBindingSet.class_branch_pspecs hidden="1" GtkBindingSet.widget_class_pspecs hidden="1" GtkBindingSet.widget_path_pspecs hidden="1" @@ -99,18 +113,20 @@ gtk_box_query_child_packing.fill is_out="1" gtk_box_query_child_packing.padding is_out="1" gtk_box_query_child_packing.pack_type is_out="1" gtk_buildable_add_child.type nullable="1" +gtk_buildable_construct_child transfer_ownership="1" gtk_buildable_custom_finished.child nullable="1" gtk_buildable_custom_tag_end.child nullable="1" gtk_buildable_custom_tag_end.data is_out="1" gtk_buildable_custom_tag_start.child nullable="1" gtk_buildable_custom_tag_start.parser is_out="1" gtk_buildable_custom_tag_start.data is_out="1" -gtk_builder_add_objects_from_file.object_ids no_array_length="1" is_array="1" -gtk_builder_add_objects_from_resource.object_ids no_array_length="1" is_array="1" -gtk_builder_add_objects_from_string.object_ids no_array_length="1" is_array="1" +gtk_builder_add_objects_from_file.object_ids no_array_length="1" array_null_terminated="1" is_array="1" +gtk_builder_add_objects_from_resource.object_ids no_array_length="1" array_null_terminated="1" is_array="1" +gtk_builder_add_objects_from_string.object_ids no_array_length="1" array_null_terminated="1" is_array="1" gtk_builder_get_objects transfer_ownership="1" type_arguments="unowned GLib.Object" +gtk_builder_value_from_string.value is_out="1" +gtk_builder_value_from_string_type.value is_out="1" GtkBuilderConnectFunc.connect_object nullable="1" -GtkBuilderError errordomain="1" gtk_button_get_alignment.xalign is_out="1" gtk_button_get_alignment.yalign is_out="1" gtk_button_set_label.label nullable="1" @@ -131,7 +147,16 @@ GtkCell.u hidden="1" GtkCellArea::apply_attributes has_emitter="1" gtk_cell_area_box_pack_start hidden="1" gtk_cell_area_box_pack_end hidden="1" +gtk_cell_area_cell_get_valist.var_args type_name="va_list" +gtk_cell_area_cell_set_valist.var_args type_name="va_list" +gtk_cell_area_copy_context transfer_ownership="1" +gtk_cell_area_create_context transfer_ownership="1" gtk_cell_area_foreach.callback_data hidden="1" +gtk_cell_area_foreach_alloc.callback_data hidden="1" +gtk_cell_area_get_cell_allocation type_name="Gdk.Rectangle" +gtk_cell_area_get_cell_allocation.allocation hidden="1" +gtk_cell_area_get_cell_at_position.alloc_area is_out="1" +gtk_cell_area_get_focus_siblings type_name="GLib.List" gtk_cell_area_get_preferred_height.minimum_height is_out="1" gtk_cell_area_get_preferred_height.natural_height is_out="1" gtk_cell_area_get_preferred_height_for_width.minimum_height is_out="1" @@ -140,6 +165,12 @@ gtk_cell_area_get_preferred_width.minimum_width is_out="1" gtk_cell_area_get_preferred_width.natural_width is_out="1" gtk_cell_area_get_preferred_width_for_height.minimum_width is_out="1" gtk_cell_area_get_preferred_width_for_height.natural_width is_out="1" +gtk_cell_area_inner_cell_area type_name="Gdk.Rectangle" +gtk_cell_area_inner_cell_area.inner_area hidden="1" +gtk_cell_area_request_renderer.minimum_size is_out="1" +gtk_cell_area_request_renderer.natural_size is_out="1" +gtk_cell_area_context_get_allocation.height is_out="1" +gtk_cell_area_context_get_allocation.width is_out="1" gtk_cell_area_context_get_preferred_height.minimum_height is_out="1" gtk_cell_area_context_get_preferred_height.natural_height is_out="1" gtk_cell_area_context_get_preferred_height_for_width.minimum_height is_out="1" @@ -186,6 +217,7 @@ GtkCellRenderer::editing_canceled has_emitter="1" GtkCellRendererText:background-gdk deprecated_since="3.4" replacement="background_rgba" GtkCellRendererText:foreground-gdk deprecated_since="3.4" replacement="foreground_rgba" GtkCellView:background-gdk deprecated_since="3.4" replacement="background_rgba" +gtk_cell_view_get_displayed_row transfer_ownership="1" gtk_cell_view_get_size_of_row.requisition is_out="1" gtk_cell_view_set_background_color deprecated_since="3.4" replacement="set_background_rgba" gtk_cell_view_set_model.model nullable="1" @@ -221,35 +253,51 @@ gtk_color_chooser_add_palette.colors is_array="1" nullable="1" array_length_pos= GtiColorSelection:current-color deprecated_since="3.4" replacement="current_rgba" gtk_color_selection_get_current_color deprecated_since="3.4" replacement="get_current_rgba" gtk_color_selection_get_current_color.color is_out="1" +gtk_color_selection_get_current_rgba type_name="Gdk.RGBA" +gtk_color_selection_get_current_rgba.rgba hidden="1" gtk_color_selection_get_previous_color.color is_out="1" +gtk_color_selection_get_previous_rgba type_name="Gdk.RGBA" +gtk_color_selection_get_previous_rgba.rgba hidden="1" gtk_color_selection_set_current_color deprecated_since="3.4" replacement="set_current_rgba" gtk_color_selection_dialog_get_color_selection type_name="Gtk.ColorSelection" +gtk_color_selection_palette_from_string.colors is_out="1" is_array="1" transfer_ownership="1" +gtk_color_selection_palette_to_string transfer_ownership="1" gtk_combo_box_get_active_iter.iter is_out="1" gtk_combo_box_set_active_iter.iter nullable="1" gtk_combo_box_set_model.model nullable="1" gtk_combo_box_set_row_separator_func.func transfer_ownership="1" gtk_combo_box_set_row_separator_func.data hidden="1" gtk_combo_box_set_row_separator_func.destroy hidden="1" +GtkComboBox::format_entry_text transfer_ownership="1" GtkComboBox::popdown has_emitter="1" GtkComboBox::popup has_emitter="1" +gtk_combo_box_text_get_active_text transfer_ownership="1" GtkContainer::add has_emitter="1" GtkContainer::check_resize has_emitter="1" +GtkContainer::composite_name transfer_ownership="1" GtkContainer::remove has_emitter="1" GtkContainer::set_focus_child has_emitter="1" GtkContainer::set_focus_child.child nullable="1" +gtk_container_child_get_valist.var_args type_name="va_list" +gtk_container_child_set_valist.var_args type_name="va_list" gtk_container_forall virtual="0" gtk_container_forall.callback_data hidden="1" gtk_container_foreach.callback_data hidden="1" gtk_container_get_children transfer_ownership="1" type_arguments="unowned Widget" -gtk_container_get_focus_chain.focusable_widgets is_out="1" takes_ownership="1" type_arguments="Widget" +gtk_container_get_focus_chain.focusable_widgets is_out="1" takes_ownership="1" type_arguments="unowned Widget" +gtk_container_get_path_for_child transfer_ownership="1" gtk_container_set_focus_chain.focusable_widgets type_arguments="Widget" GtkContainerClass name="pointer" +gtk_container_cell_accessible_get_children type_arguments="CellAccessible" gtk_css_provider_get_named.variant nullable="1" +gtk_css_provider_to_string transfer_ownership="1" GtkDestroyNotify has_target="0" gtk_dialog_get_content_area type_name="Box" ctype="GtkWidget*" gtk_dialog_new_with_buttons.title nullable="1" gtk_dialog_new_with_buttons.parent nullable="1" gtk_dialog_set_alternative_button_order sentinel="-1" +gtk_dialog_set_alternative_button_order_from_array.n_params hidden="1" +gtk_dialog_set_alternative_button_order_from_array.new_order is_array="1" array_length_pos="0.5" array_length_cname="n_params" gtk_draw_insertion_cursor deprecated_since="3.4" replacement="render_insertion_cursor" gtk_drag_begin.event nullable="1" GtkDialog::response has_emitter="1" @@ -258,6 +306,8 @@ GtkDialog.action_area type_name="HButtonBox" GtkEditable::delete_text has_emitter="1" GtkEditable::insert_text has_emitter="1" GtkEditable::insert_text.position type_name="int" is_ref="1" +gtk_editable_do_insert_text.position is_ref="1" +gtk_editable_get_chars transfer_ownership="1" gtk_editable_get_selection_bounds.start_pos is_out="1" gtk_editable_get_selection_bounds.end_pos is_out="1" gtk_editable_select_region hidden="1" @@ -274,6 +324,7 @@ gtk_entry_buffer_emit_inserted_text.chars type_name="uint8" gtk_entry_buffer_insert_text.chars type_name="uint8" gtk_entry_buffer_set_text.chars type_name="uint8" GtkEntryCompletion::insert_prefix has_emitter="1" +gtk_entry_completion_compute_prefix transfer_ownership="1" gtk_entry_completion_set_model.model nullable="1" gtk_entry_completion.func transfer_ownership="1" gtk_entry_completion.func_data hidden="1" @@ -281,6 +332,10 @@ gtk_entry_completion.func_notify hidden="1" gtk_entry_completion_set_match_func.func transfer_ownership="1" gtk_entry_completion_set_match_func.func_data hidden="1" gtk_entry_completion_set_match_func.func_notify hidden="1" +gtk_entry_get_icon_area type_name="Gdk.Rectangle" +gtk_entry_get_icon_area.icon_area hidden="1" +gtk_entry_get_icon_tooltip_markup transfer_ownership="1" nullable="1" +gtk_entry_get_icon_tooltip_text transfer_ownership="1" nullable="1" gtk_entry_get_inner_border nullable="1" gtk_entry_get_layout_offsets.x is_out="1" gtk_entry_get_layout_offsets.y is_out="1" @@ -297,10 +352,14 @@ GtkEventControllerClass hidden="1" gtk_false hidden="1" gtk_file_chooser_add_filter.filter transfer_ownership="1" gtk_file_chooser_get_current_folder transfer_ownership="1" +gtk_file_chooser_get_current_folder_file transfer_ownership="1" gtk_file_chooser_get_current_folder_uri transfer_ownership="1" +gtk_file_chooser_get_current_name transfer_ownership="1" +gtk_file_chooser_get_file transfer_ownership="1" gtk_file_chooser_get_filename transfer_ownership="1" gtk_file_chooser_get_filenames transfer_ownership="1" type_arguments="string" gtk_file_chooser_get_files hidden="1" +gtk_file_chooser_get_preview_file transfer_ownership="1" gtk_file_chooser_get_preview_filename transfer_ownership="1" gtk_file_chooser_get_preview_uri transfer_ownership="1" gtk_file_chooser_get_uri transfer_ownership="1" @@ -310,6 +369,9 @@ gtk_file_chooser_dialog_new.title nullable="1" gtk_file_chooser_dialog_new.parent nullable="1" gtk_file_chooser_dialog_new_with_backend.title nullable="1" gtk_file_chooser_dialog_new_with_backend.parent nullable="1" +GtkFileChooser:extra-widget owned_get="1" +GtkFileChooser:filter owned_get="1" +GtkFileChooser:preview-widget owned_get="1" gtk_file_filter_add_custom.func transfer_ownership="1" gtk_file_filter_add_custom.data hidden="1" gtk_file_filter_add_custom.notify hidden="1" @@ -328,11 +390,22 @@ gtk_flow_box_set_sort_func.destroy hidden="1" GtkFlowBox::select_all has_emitter="1" GtkFlowBox::unselect_all has_emitter="1" gtk_font_chooser_dialog_new.* nullable="1" +gtk_font_chooser_get_font transfer_ownership="1" +gtk_font_chooser_get_font_desc transfer_ownership="1" +gtk_font_chooser_get_preview_text transfer_ownership="1" gtk_font_chooser_set_filter_func.filter transfer_ownership="1" gtk_font_chooser_set_filter_func.data hidden="1" gtk_font_chooser_set_filter_func.destroy hidden="1" +GtkFontChooser:font owned_get="1" +GtkFontChooser:font-desc owned_get="1" +GtkFontChooser:preview-text owned_get="1" +gtk_font_selection_get_font_name transfer_ownership="1" +GtkFontSelection:font-name owned_get="1" +gtk_font_selection_dialog_get_font_name transfer_ownership="1" GtkFontSelectionDialog deprecated_since="3.2" replacement="FontChooserDialog" gtk_frame_new.label nullable="1" +gtk_frame_get_label_align.xalign is_out="1" +gtk_frame_get_label_align.yalign is_out="1" gtk_frame_get_label_widget nullable="1" gtk_frame_set_label.label nullable="1" gtk_frame_set_label_widget.label_widget nullable="1" @@ -363,6 +436,12 @@ gtk_gesture_drag_get_offset.y is_out="1" gtk_gesture_drag_get_start_point.x is_out="1" gtk_gesture_drag_get_start_point.y is_out="1" gtk_gesture_multi_press_get_area.rect is_out="1" +gtk_gesture_single_get_current_sequence transfer_ownership="1" +gtk_gesture_swipe_get_velocity.velocity_x is_out="1" +gtk_gesture_swipe_get_velocity.velocity_y is_out="1" +gtk_gradient_resolve.resolved_gradient transfer_ownership="1" +gtk_gradient_resolve_for_context transfer_ownership="1" +gtk_gradient_to_string transfer_ownership="1" GtkHandleBox deprecated_since="3.4" GtkHBox deprecated_since="3.2" replacement="Grid" GtkHPaned deprecated_since="3.2" replacement="Paned" @@ -377,6 +456,7 @@ gtk_hsv_to_rgb.b is_out="1" GtkIconFactory deprecated_since="3.10" replacement="Gtk.IconTheme" GtkIconInfo compact="1" copy_function="gtk_icon_info_copy" free_function="gtk_icon_info_free" gtk_icon_info_copy transfer_ownership="1" +gtk_icon_info_get_attach_points.points is_array="1" is_out="1" transfer_ownership="1" gtk_icon_info_get_embedded_rect.rectangle is_out="1" gtk_icon_info_load_icon transfer_ownership="1" gtk_icon_info_load_icon_async.cancellable nullable="1" default_value="null" @@ -417,6 +497,7 @@ gtk_icon_set_render_icon_pixbuf transfer_ownership="1" deprecated_since="3.10" gtk_icon_set_render_icon_surface transfer_ownership="1" deprecated_since="3.10" GtkIconSource deprecated_since="3.10" replacement="Gtk.IconTheme" gtk_icon_source_copy transfer_ownership="1" +gtk_icon_theme_get_example_icon_name transfer_ownership="1" nullable="1" gtk_icon_theme_get_icon_sizes is_array="1" no_array_length="1" array_null_terminated="1" transfer_ownership="1" gtk_icon_theme_get_search_path.path is_array="1" is_out="1" transfer_ownership="1" gtk_icon_theme_get_search_path.n_elements hidden="1" @@ -433,7 +514,10 @@ gtk_icon_theme_lookup_by_gicon transfer_ownership="1" nullable="1" gtk_icon_theme_lookup_by_gicon_for_scale transfer_ownership="1" nullable="1" gtk_icon_theme_lookup_icon transfer_ownership="1" nullable="1" gtk_icon_theme_lookup_icon_for_scale transfer_ownership="1" nullable="1" +gtk_icon_theme_set_search_path.n_elements hidden="1" GtkIconView::item_activated has_emitter="1" +gtk_icon_view_create_drag_icon transfer_ownership="1" +gtk_icon_view_get_path_at_pos transfer_ownership="1" gtk_icon_view_select_all hidden="1" experimental="1" gtk_icon_view_selected_foreach.data hidden="1" gtk_icon_view_set_cursor.cell nullable="1" @@ -450,11 +534,12 @@ gtk_image_set_from_pixmap.pixmap nullable="1" gtk_image_set_from_pixmap.mask nullable="1" GtkIMContext cheader_filename="gtk/gtk.h,gtk/gtkimmodule.h" GtkIMContext::delete_surrounding has_emitter="1" -gtk_im_context_get_preedit_string.str is_out="1" +gtk_im_context_get_preedit_string.str is_out="1" transfer_ownership="1" gtk_im_context_get_preedit_string.attrs transfer_ownership="1" gtk_im_context_get_preedit_string.cursor_pos is_out="1" -gtk_im_context_get_surrounding.text is_out="1" +gtk_im_context_get_surrounding.text is_out="1" transfer_ownership="1" gtk_im_context_get_surrounding.cursor_index is_out="1" +gtk_im_context_simple_add_table.data is_array="1" no_array_length="1" GtkIMContextInfo is_value_type="1" cheader_filename="gtk/gtk.h,gtk/gtkimmodule.h" GtkInfoBar:action-area-border deprecated_since="3.6" replacement="Container.set_border_width" GtkInfoBar:button-spacing deprecated_since="3.6" replacement="Box.set_spacing" @@ -507,7 +592,7 @@ gtk_list_box_set_sort_func.destroy hidden="1" GtkListBox::select_all has_emitter="1" GtkListBox::row_selected.row nullable="1" GtkListBox::unselect_all has_emitter="1" -gtk_list_store_new ellipsis="1" sentinel="" +gtk_list_store_new ellipsis="1" sentinel="-1" gtk_list_store_newv.n_columns hidden="1" gtk_list_store_newv.types array_length_pos="0.9" gtk_list_store_append.iter is_out="1" @@ -519,14 +604,20 @@ gtk_list_store_insert_before.sibling nullable="1" gtk_list_store_insert_with_values ellipsis="1" sentinel="-1" gtk_list_store_insert_with_values.iter is_out="1" gtk_list_store_insert_with_valuesv.iter is_out="1" +gtk_list_store_insert_with_valuesv.columns is_array="1" array_length_pos="4.1" array_length_cname="n_values" +gtk_list_store_insert_with_valuesv.values is_array="1" array_length_pos="4.1" array_length_cname="n_values" gtk_list_store_move_after.iter is_ref="1" gtk_list_store_move_after.position nullable="1" gtk_list_store_move_before.iter is_ref="1" gtk_list_store_move_before.position nullable="1" gtk_list_store_prepend.iter is_out="1" +gtk_list_store_reorder.new_order is_array="1" array_null_terminated="1" gtk_list_store_set_column_types.n_columns hidden="1" gtk_list_store_set_column_types.types array_length_pos="0.9" gtk_list_store_set ellipsis="1" sentinel="-1" +gtk_list_store_set_valist.var_args type_name="va_list" +gtk_list_store_set_valuesv.columns is_array="1" array_length_pos="3.1" array_length_cname="n_values" +gtk_list_store_set_valuesv.values is_array="1" array_length_pos="3.1" array_length_cname="n_values" gtk_icon_size_lookup.width is_out="1" gtk_icon_size_lookup.height is_out="1" gtk_icon_size_lookup_for_settings.width is_out="1" @@ -595,6 +686,8 @@ gtk_notebook_set_menu_label.menu_label nullable="1" gtk_notebook_set_tab_label.tab_label nullable="1" gtk_notebook_set_group.group nullable="1" gtk_notebook_page_num hidden="1" +gtk_offscreen_window_get_pixbuf transfer_ownership="1" +GtkOverlay::get_child_position.allocation is_out="1" gtk_page_setup_copy transfer_ownership="1" gtk_parse_args.argv is_array="1" gtk_paint_* deprecated_since="3.0" @@ -668,12 +761,36 @@ gtk_paint_vline.widget nullable="1" gtk_paint_vline.detail nullable="1" gtk_paper_size_copy transfer_ownership="1" gtk_paper_size_get_paper_sizes transfer_ownership="1" type_arguments="PaperSize" +gtk_places_sidebar_get_location transfer_ownership="1" +gtk_places_sidebar_get_nth_bookmark transfer_ownership="1" +gtk_places_sidebar_list_shortcuts transfer_ownership="1" type_arguments="GLib.File" GtkPlacesSidebarClass hidden="1" +GtkPlacesSidebar:location owned_get="1" +GtkPlacesSidebar::drag_action_requested.p1 type_name="GLib.File" +GtkPlacesSidebar::drag_action_requested.p2 type_name="GLib.List" +GtkPlacesSidebar::drag_perform_drop.p0 type_name="GLib.File" +GtkPlacesSidebar::drag_perform_drop.p1 type_name="GLib.List" +GtkPlacesSidebar::open_location.p0 type_name="GLib.File" +GtkPlacesSidebar::populate_popup.p0 type_name="Gtk.Menu" +GtkPlacesSidebar::populate_popup.p1 type_name="GLib.File?" +GtkPlacesSidebar::populate_popup.p2 type_name="GLib.Volume?" GtkPlacesSidebar::show_enter_location hidden="1" GtkPlacesSidebar::show_connect_to_server hidden="1" GtkPlug cheader_filename="gtk/gtkx.h" GtkPlug::embedded hidden="1" +gtk_popover_get_pointing_to.rect is_out="1" +gtk_print_context_create_pango_context transfer_ownership="1" +gtk_print_context_create_pango_layout transfer_ownership="1" +gtk_print_context_get_hard_margins.top is_out="1" +gtk_print_context_get_hard_margins.bottom is_out="1" +gtk_print_context_get_hard_margins.left is_out="1" +gtk_print_context_get_hard_margins.right is_out="1" gtk_print_settings_copy transfer_ownership="1" +gtk_print_settings_get_page_ranges is_array="1" array_length_pos="0.1" array_length_cname="num_ranges" transfer_ownership="1" +gtk_print_settings_get_page_ranges.num_ranges hidden="1" +gtk_print_settings_get_paper_size transfer_ownership="1" +gtk_print_settings_set_page_ranges.page_ranges is_array="1" array_length_pos="1.1" array_length_cname="num_ranges" +gtk_print_settings_set_page_ranges.num_ranges hidden="1" gtk_printer_accepts_pdf hidden="1" experimental="1" gtk_printer_accepts_ps hidden="1" experimental="1" gtk_printer_is_virtual hidden="1" experimental="1" @@ -710,11 +827,17 @@ gtk_range_get_slider_range.slider_start is_out="1" gtk_range_get_slider_range.slider_end is_out="1" gtk_range_get_range_rect type_name="Gdk.Rectangle" gtk_range_get_range_rect.range_rect hidden="1" +gtk_recent_chooser_get_current_item transfer_ownership="1" +gtk_recent_chooser_get_current_uri transfer_ownership="1" +gtk_recent_chooser_get_uris is_array="1" array_length_pos="0.1" transfer_ownership="1" +gtk_recent_chooser_get_uris.length hidden="1" gtk_recent_chooser_set_sort_func.sort_func transfer_ownership="1" gtk_recent_chooser_set_sort_func.sort_data hidden="1" gtk_recent_chooser_set_sort_func.data_destroy hidden="1" gtk_recent_chooser_get_items transfer_ownership="1" type_arguments="RecentInfo" gtk_recent_chooser_list_filters transfer_ownership="1" type_arguments="unowned RecentFilter" +GtkRecentChooser:filter owned_get="1" +gtk_recent_info_create_app_info transfer_ownership="1" gtk_recent_info_get_application_info.app_exec is_out="1" gtk_recent_info_get_application_info.count is_out="1" gtk_recent_info_get_application_info.time_ is_out="1" @@ -727,6 +850,7 @@ gtk_recent_info_get_short_name transfer_ownership="1" gtk_recent_info_get_uri_display transfer_ownership="1" nullable="1" gtk_recent_info_last_application transfer_ownership="1" gtk_recent_manager_get_items transfer_ownership="1" type_arguments="RecentInfo" +gtk_recent_manager_lookup_item transfer_ownership="1" GtkRecentData is_value_type="1" has_copy_function="0" has_destroy_function="0" GtkRecentData.display_name weak="0" GtkRecentData.description weak="0" @@ -744,20 +868,25 @@ gtk_rc_get_style_by_paths nullable="1" gtk_rc_get_style_by_paths.widget_path nullable="1" gtk_rc_get_style_by_paths.class_path nullable="1" gtk_rc_style_copy transfer_ownership="1" +gtk_rc_style_create_rc_style transfer_ownership="1" gtk_rc_style_create_style transfer_ownership="1" gtk_scale_new.adjustment nullable="1" gtk_scale_add_mark.markup nullable="1" gtk_scale_button_new.min default_value="0.0" gtk_scale_button_new.max default_value="100.0" gtk_scale_button_new.step default_value="2.0" -gtk_scale_button_new.icons is_array="1" no_array_length="1" nullable="1" default_value="null" -gtk_scale_button_set_icons.icons is_array="1" no_array_length="1" +gtk_scale_button_new.icons is_array="1" no_array_length="1" array_null_terminated="1" nullable="1" default_value="null" +gtk_scale_button_set_icons.icons is_array="1" no_array_length="1" array_null_terminated="1" gtk_scale_draw_value hidden="1" gtk_scale_get_layout_offsets.x is_out="1" gtk_scale_get_layout_offsets.y is_out="1" GtkScale::format_value transfer_ownership="1" GtkScrollable type_cname="GtkScrollableInterface" +GtkScrollable:hadjustment owned_get="1" +GtkScrollable:vadjustment owned_get="1" gtk_scrollbar_new.adjustment nullable="1" +gtk_scrolled_window_get_policy.hscrollbar_policy is_out="1" +gtk_scrolled_window_get_policy.vscrollbar_policy is_out="1" gtk_scrolled_window_new.hadjustment nullable="1" gtk_scrolled_window_new.vadjustment nullable="1" gtk_selection_add_targets.targets is_array="1" @@ -770,7 +899,7 @@ gtk_selection_data_get_targets.n_atoms hidden="1" gtk_selection_data_get_text type_name="string" nullable="1" transfer_ownership="1" gtk_selection_data_get_uris is_array="1" transfer_ownership="1" array_null_terminated="1" gtk_selection_data_set.length hidden="1" -gtk_selection_data_set_uris.uris is_array="1" no_array_length="1" +gtk_selection_data_set_uris.uris is_array="1" no_array_length="1" array_null_terminated="1" GtkSettings.queued_settings hidden="1" GtkSettings:color-hash type_arguments="string,Gdk.Color" GtkSettings:gtk-touchscreen-mode deprecated_since="3.4" replacement="Gdk.Event.get_source_device" @@ -780,6 +909,8 @@ gtk_show_uri.screen nullable="1" gtk_size_group_get_widgets type_arguments="Widget" GtkSocket cheader_filename="gtk/gtkx.h" GtkSpinButton::input.new_value type_name="double" is_out="1" +gtk_spin_button_get_increments.step is_out="1" +gtk_spin_button_get_increments.page is_out="1" gtk_spin_button_get_range.min is_out="1" gtk_spin_button_get_range.max is_out="1" GtkStatusIcon::button_press_event.event namespace_name="Gdk" type_name="EventButton" @@ -787,11 +918,16 @@ GtkStatusIcon::button_release_event.event namespace_name="Gdk" type_name="EventB gtk_statusbar_get_message_area type_name="Gtk.Container" gtk_status_icon_get_geometry.area is_out="1" gtk_status_icon_get_geometry.orientation is_out="1" +gtk_status_icon_get_tooltip_markup transfer_ownership="1" +gtk_status_icon_get_tooltip_text transfer_ownership="1" gtk_status_icon_position_menu hidden="1" +GtkStatusIcon:tooltip-markup owned_get="1" +GtkStatusIcon:tooltip-text owned_get="1" GtkStatusIcon::scroll_event.event namespace_name="Gdk" type_name="EventScroll" GtkStock hidden="1" GTK_STOCK_* parent="Stock" gtk_stock_add* parent="Stock" +gtk_stock_set_translate_func parent="Stock" gtk_stock_set_translate_func.func transfer_ownership="1" gtk_stock_set_translate_func.data hidden="1" gtk_stock_set_translate_func.notify hidden="1" @@ -831,20 +967,41 @@ gtk_style_context_get_margin type_name="Gtk.Border" gtk_style_context_get_margin.margin hidden="1" gtk_style_context_get_padding type_name="Gtk.Border" gtk_style_context_get_padding.padding hidden="1" +gtk_style_context_get_property type_name="GLib.Value" +gtk_style_context_get_property.value hidden="1" +gtk_style_context_get_section transfer_ownership="1" gtk_style_context_get_style ellipsis="1" +gtk_style_context_get_style_valist.args type_name="va_list" +gtk_style_context_get_valist.args type_name="va_list" gtk_style_context_has_region.flags_return is_out="1" +gtk_style_context_list_classes transfer_ownership="1" type_arguments="unowned string" +gtk_style_context_list_regions transfer_ownership="1" type_arguments="unowned string" gtk_style_context_lookup_color.color is_out="1" gtk_style_lookup_color.color is_out="1" gtk_style_get_style_property.value is_out="1" gtk_style_properties_register_property.parse_func nullable="1" +gtk_style_properties_get ellipsis="1" +gtk_style_properties_get_property.value is_out="1" +gtk_style_properties_get_valist.args type_name="va_list" +gtk_style_properties_lookup_property.parse_func is_out="1" +gtk_style_properties_set ellipsis="1" +gtk_style_properties_set_valist.args type_name="va_list" +gtk_style_render_icon transfer_ownership="1" +gtk_style_render_icon_pixbuf transfer_ownership="1" +gtk_style_provider_get_style transfer_ownership="1" +gtk_style_provider_get_style_property.value is_out="1" GtkStyleProviderPrivate hidden="1" gtk_symbolic_color_resolve.resolved_color is_out="1" +gtk_symbolic_color_to_string transfer_ownership="1" +gtk_table_get_size.rows is_out="1" +gtk_table_get_size.columns is_out="1" GtkTable deprecated_since="3.4" replacement="Grid" GtkTable:row-spacing accessor_method="0" GtkTargetEntry is_value_type="1" GtkTargetList.list type_arguments="TargetPair" gtk_target_list_add_table.targets is_array="1" gtk_target_list_add_table.ntargets hidden="1" +gtk_target_list_find.info is_out="1" nullable="1" transfer_ownership="1" gtk_target_list_new.targets is_array="1" nullable="1" gtk_target_list_new.ntargets hidden="1" gtk_target_table_new_from_list is_array="1" transfer_ownership="1" @@ -855,6 +1012,8 @@ gtk_test_init.argcp hidden="1" gtk_test_init.argvp is_array="1" is_ref="1" array_length_pos="0.9" gtk_test_display_button_window ellipsis="1" gtk_text_attributes_copy transfer_ownership="1" +GtkTextAttributes.appearance weak="0" +GtkTextAttributes.language weak="0" gtk_text_buffer_delete.start is_ref="1" gtk_text_buffer_delete.end is_ref="1" gtk_text_buffer_delete_interactive.start_iter is_ref="1" @@ -912,11 +1071,17 @@ GtkTextBufferDeserializeFunc has_target="1" instance_pos="5.9" gtk_text_mark_new.name nullable="1" gtk_text_mark_new.left_gravity default_value="false" GtkTextIter is_value_type="1" +gtk_text_iter_get_language transfer_ownership="1" gtk_text_iter_get_marks transfer_ownership="1" type_arguments="unowned TextMark" +gtk_text_iter_get_slice transfer_ownership="1" gtk_text_iter_get_tags transfer_ownership="1" type_arguments="unowned TextTag" +gtk_text_iter_get_text transfer_ownership="1" gtk_text_iter_get_toggled_tags transfer_ownership="1" type_arguments="unowned TextTag" +gtk_text_iter_get_visible_slice transfer_ownership="1" +gtk_text_iter_get_visible_text transfer_ownership="1" GtkTextTag::event has_emitter="1" GtkTextView.layout hidden="1" +GtkTextView:tabs owned_get="1" GtkTextView::populate_popup.popup type_name="Menu" ctype="GtkWidget*" gtk_text_iter_backward_find_char.limit nullable="1" gtk_text_iter_backward_search.match_start is_out="1" @@ -931,6 +1096,10 @@ gtk_text_iter_forward_search.match_start is_out="1" gtk_text_iter_forward_search.match_end is_out="1" gtk_text_iter_forward_search.limit nullable="1" gtk_text_iter_forward_to_tag_toggle.tag nullable="1" +gtk_text_view_get_cursor_locations.iter nullable="1" +gtk_text_view_get_cursor_locations.strong is_out="1" +gtk_text_view_get_cursor_locations.weak is_out="1" +gtk_text_view_get_default_attributes transfer_ownership="1" gtk_text_view_get_iter_at_location.iter is_out="1" gtk_text_view_get_iter_at_position.iter is_out="1" gtk_text_view_get_iter_at_position.trailing is_out="1" @@ -939,6 +1108,7 @@ gtk_text_view_get_line_at_y.target_iter is_out="1" gtk_text_view_get_line_at_y.line_top is_out="1" gtk_text_view_get_line_yrange.y is_out="1" gtk_text_view_get_line_yrange.height is_out="1" +gtk_text_view_get_tabs transfer_ownership="1" gtk_text_view_get_visible_rect.visible_rect is_out="1" gtk_text_view_window_to_buffer_coords.buffer_x is_out="1" gtk_text_view_window_to_buffer_coords.buffer_y is_out="1" @@ -963,9 +1133,13 @@ gtk_theming_engine_get_property type_name="GLib.Value" gtk_theming_engine_get_property.value hidden="1" gtk_theming_engine_register_property.parse_func nullable="1" gtk_theming_engine_state_is_running deprecated_since="3.6" +gtk_theming_engine_get_style ellipsis="1" gtk_theming_engine_get_style_property type_name="GLib.Value" gtk_theming_engine_get_style_property.value hidden="1" +gtk_theming_engine_get_style_valist.args type_name="va_list" +gtk_theming_engine_get_valist.args type_name="va_list" gtk_theming_engine_lookup_color.color is_out="1" +gtk_theming_engine_render_icon_pixbuf transfer_ownership="1" gtk_theming_engine_state_is_running.progress is_out="1" GtkTipsQuery::start_query has_emitter="1" GtkTipsQuery::stop_query has_emitter="1" @@ -984,6 +1158,8 @@ gtk_tool_button_new.icon_widget nullable="1" gtk_tool_button_new.label nullable="1" gtk_tool_item_toolbar_reconfigured hidden="1" GtkToolItem::set_tooltip hidden="1" +gtk_tool_palette_get_drag_target_group transfer_ownership="0" +gtk_tool_palette_get_drag_target_item transfer_ownership="0" GtkTranslateFunc has_target="1" GtkTranslateFunc.func_data hidden="1" GtkTreeIter is_value_type="1" @@ -1009,6 +1185,9 @@ gtk_tree_model_iter_parent.iter is_out="1" gtk_tree_model_iter_previous virtual="1" gtk_tree_model_iter_previous.iter is_ref="1" gtk_tree_model_ref_node virtual="1" +gtk_tree_model_rows_reordered_with_length.iter nullable="1" +gtk_tree_model_rows_reordered_with_length.new_order is_array="1" array_length_cname="length" array_length_pos="3.1" +gtk_tree_model_rows_reordered_with_length.length hidden="1" gtk_tree_model_unref_node virtual="1" GtkTreeModel::row_changed has_emitter="1" GtkTreeModel::row_deleted has_emitter="1" @@ -1016,8 +1195,10 @@ GtkTreeModel::row_has_child_toggled has_emitter="1" GtkTreeModel::row_inserted has_emitter="1" GtkTreeModel::rows_reordered has_emitter="1" GtkTreeModel::rows_reordered.iter nullable="1" +gtk_tree_model_filter_convert_child_path_to_path transfer_ownership="1" gtk_tree_model_filter_convert_child_iter_to_iter.filter_iter is_out="1" gtk_tree_model_filter_convert_iter_to_child_iter.child_iter is_out="1" +gtk_tree_model_filter_convert_path_to_child_path transfer_ownership="1" gtk_tree_model_filter_set_modify_func.n_columns hidden="1" gtk_tree_model_filter_set_modify_func.types array_length_pos="0.9" gtk_tree_model_filter_set_modify_func.func transfer_ownership="1" @@ -1027,7 +1208,9 @@ gtk_tree_model_filter_set_visible_func.func transfer_ownership="1" gtk_tree_model_filter_set_visible_func.data hidden="1" gtk_tree_model_filter_set_visible_func.destroy hidden="1" gtk_tree_model_sort_convert_child_iter_to_iter.sort_iter is_out="1" +gtk_tree_model_sort_convert_child_path_to_path transfer_ownership="1" gtk_tree_model_sort_convert_iter_to_child_iter.child_iter is_out="1" +gtk_tree_model_sort_convert_path_to_child_path transfer_ownership="1" gtk_tree_path_get_indices hidden="1" gtk_tree_path_get_indices_with_depth is_array="1" name="get_indices" gtk_tree_path_get_indices_with_depth.depth hidden="1" @@ -1065,6 +1248,8 @@ gtk_tree_store_insert_with_values.iter is_out="1" gtk_tree_store_insert_with_values.parent nullable="1" gtk_tree_store_insert_with_valuesv.iter is_out="1" gtk_tree_store_insert_with_valuesv.parent nullable="1" +gtk_tree_store_insert_with_valuesv.columns is_array="1" array_length_pos="5.1" array_length_cname="n_values" +gtk_tree_store_insert_with_valuesv.values is_array="1" array_length_pos="5.1" array_length_cname="n_values" gtk_tree_store_move_after.iter is_ref="1" gtk_tree_store_move_after.position nullable="1" gtk_tree_store_move_before.iter is_ref="1" @@ -1072,9 +1257,13 @@ gtk_tree_store_move_before.position nullable="1" gtk_tree_store_prepend.iter is_out="1" gtk_tree_store_prepend.parent nullable="1" gtk_tree_store_reorder.parent nullable="1" +gtk_list_store_reorder.new_order is_array="1" array_null_terminated="1" gtk_tree_store_set ellipsis="1" sentinel="-1" gtk_tree_store_set_column_types.n_columns hidden="1" gtk_tree_store_set_column_types.types array_length_pos="0.9" +gtk_list_store_set_valist.var_args type_name="va_list" +gtk_list_store_set_valuesv.columns is_array="1" array_length_pos="3.1" array_length_cname="n_values" +gtk_list_store_set_valuesv.values is_array="1" array_length_pos="3.1" array_length_cname="n_values" gtk_tree_store_remove.iter is_ref="1" gtk_tree_sortable_get_sort_column_id.sort_column_id is_out="1" gtk_tree_sortable_get_sort_column_id.order is_out="1" @@ -1083,9 +1272,10 @@ gtk_tree_sortable_set_default_sort_func.destroy hidden="1" gtk_tree_sortable_set_sort_func.sort_func transfer_ownership="1" gtk_tree_sortable_set_sort_func.destroy hidden="1" GtkTreeSortable::sort_column_changed has_emitter="1" +gtk_tree_view_create_row_drag_icon transfer_ownership="1" gtk_tree_view_column_cell_get_position.x_offset is_out="1" gtk_tree_view_column_cell_get_position.width is_out="1" -gtk_tree_view_column_cell_get_size.cell_area is_out="1" +gtk_tree_view_column_cell_get_size.cell_area nullable="1" gtk_tree_view_column_cell_get_size.x_offset is_out="1" gtk_tree_view_column_cell_get_size.y_offset is_out="1" gtk_tree_view_column_cell_get_size.width is_out="1" @@ -1133,6 +1323,11 @@ gtk_tree_view_insert_column_with_attributes.title nullable="1" gtk_tree_view_insert_column_with_data_func.func transfer_ownership="1" gtk_tree_view_insert_column_with_data_func.data hidden="1" gtk_tree_view_insert_column_with_data_func.dnotify hidden="1" +gtk_tree_view_is_blank_at_pos.path transfer_ownership="1" +gtk_tree_view_is_blank_at_pos.column transfer_ownership="1" +gtk_tree_view_is_blank_at_pos.cell_x is_out="1" +gtk_tree_view_is_blank_at_pos.cell_y is_out="1" +gtk_tree_view_map_expanded_rows.data hidden="1" gtk_tree_view_row_expanded name="is_row_expanded" gtk_tree_view_set_column_drag_function.func transfer_ownership="1" gtk_tree_view_set_column_drag_function.destroy hidden="1" @@ -1163,10 +1358,12 @@ gtk_tree_view_column_set_model.model nullable="1" GtkTreeViewSearchEqualFunc hidden="1" gtk_true hidden="1" GtkUIManager:add-tearoffs deprecated_since="3.4" +GtkUIManager:ui owned_get="1" gtk_ui_manager_add_ui.action nullable="1" gtk_ui_manager_get_action_groups type_arguments="ActionGroup" gtk_ui_manager_get_add_tearoffs deprecated_since="3.4" gtk_ui_manager_get_toplevels transfer_ownership="1" type_arguments="unowned Widget" +gtk_ui_manager_get_ui transfer_ownership="1" gtk_ui_manager_new_merge_id hidden="1" gtk_ui_manager_set_add_tearoffs deprecated_since="3.4" GtkVBox deprecated_since="3.2" replacement="Box" @@ -1191,20 +1388,23 @@ GtkWidget:state-changed deprecated_since="3.0" replacement="state_flags_changed" GtkWidget:style-set deprecated_since="3.0" replacement="style_updated" gtk_widget_class_path deprecated_since="3.0" replacement="get_path" gtk_widget_class_path.path_length is_out="1" -gtk_widget_class_path.path is_out="1" -gtk_widget_class_path.path_reversed is_out="1" +gtk_widget_class_path.path is_out="1" transfer_ownership="1" +gtk_widget_class_path.path_reversed is_out="1" transfer_ownership="1" gtk_widget_compute_expand type_name="bool" gtk_widget_create_pango_context transfer_ownership="1" gtk_widget_create_pango_layout transfer_ownership="1" gtk_widget_create_pango_layout.text nullable="1" GtkWidget::destroy has_emitter="1" gtk_widget_destroy hidden="1" -gtk_widghet_ensure_style deprecated_since="3.0" replacement="StyleContext" +gtk_widget_dispatch_child_properties_changed.n_pspecs hidden="1" +gtk_widget_dispatch_child_properties_changed.pspecs is_array="1" array_length_pos="0.5" array_length_cname="n_pspecs" is_out="1" transfer_ownership="1" +gtk_widget_ensure_style deprecated_since="3.0" replacement="StyleContext" GtkWidget::event has_emitter="1" gtk_widget_get_allocation.allocation is_out="1" gtk_widget_get_child_requisition deprecated_since="3.0" replacement="get_preferred_size" gtk_widget_get_child_requisition.requisition is_out="1" gtk_widget_get_clip.clip is_out="1" +gtk_widget_get_composite_name transfer_ownership="1" gtk_widget_get_default_style deprecated_since="3.0" replacement="StyleContext, and CssProvider.get_default() to obtain a Gtk.StyleProvider with the default widget style information" gtk_widget_get_modifier_style deprecated_since="3.0" replacement="StyleContext with a custom StyleProvider" gtk_widget_get_requisition deprecated_since="3.0" @@ -1213,16 +1413,22 @@ gtk_widget_get_requisition type_name="Gtk.Requisition" gtk_widget_get_pointer deprecated_since="3.4" replacement="Gdk.Window.get_device_position" gtk_widget_get_pointer.x is_out="1" gtk_widget_get_pointer.y is_out="1" +gtk_widget_get_preferred_height_and_baseline_for_width.minimum_height is_out="1" +gtk_widget_get_preferred_height_and_baseline_for_width.natural_height is_out="1" +gtk_widget_get_preferred_height_and_baseline_for_width.minimum_baseline is_out="1" +gtk_widget_get_preferred_height_and_baseline_for_width.natural_baseline is_out="1" gtk_widget_get_size_request.width is_out="1" gtk_widget_get_size_request.height is_out="1" gtk_widget_get_state deprecated_since="3.0" replacement="get_state_flags" gtk_widget_get_style deprecated_since="3.0" replacement="StyleContext" +gtk_widget_get_tooltip_markup transfer_ownership="1" +gtk_widget_get_tooltip_text transfer_ownership="1" gtk_widget_has_rc_style deprecated_since="3.0" replacement="StyleContext" gtk_widget_input_shape_combine_mask.shape_mask nullable="1" gtk_widget_input_shape_combine_region.region nullable="1" gtk_widget_intersect.intersection nullable="1" gtk_widget_is_focus hidden="1" experimental="1" -gtk_widget_list_accel_closures transfer_ownership="1" type_arguments="GLib.Closure" +gtk_widget_list_accel_closures transfer_ownership="1" type_arguments="unowned GLib.Closure" gtk_widget_list_mnemonic_labels transfer_ownership="1" type_arguments="unowned Widget" gtk_widget_modify_base deprecated_since="3.0" replacement="override_background_color" gtk_widget_modify_base.color nullable="1" @@ -1246,13 +1452,15 @@ gtk_widget_override_font.font_desc nullable="1" gtk_widget_override_symbolic_color.color nullable="1" gtk_widget_path deprecated_since="3.0" replacement="get_path" gtk_widget_path.path_length is_out="1" -gtk_widget_path.path is_out="1" -gtk_widget_path.path_reversed is_out="1" +gtk_widget_path.path is_out="1" transfer_ownership="1" +gtk_widget_path.path_reversed is_out="1" transfer_ownership="1" gtk_widget_path_iter_has_region.flags is_out="1" +gtk_widget_region_intersect transfer_ownership="1" gtk_widget_render_icon deprecated_since="3.0" replacement="render_icon_pixbuf" gtk_widget_render_icon.detail nullable="1" gtk_widget_render_icon nullable="1" gtk_widget_render_icon transfer_ownership="1" +gtk_widget_render_icon_pixbuf transfer_ownership="1" gtk_widget_reset_rc_styles deprecated_since="3.0" replacement="reset_style" gtk_widget_set_scroll_adjustments.hadjustment nullable="1" gtk_widget_set_scroll_adjustments.vadjustment nullable="1" @@ -1264,8 +1472,11 @@ gtk_widget_shape_combine_region.region nullable="1" gtk_widget_size_request deprecated_since="3.0" replacement="get_preferred_size" gtk_widget_style_attach deprecated_since="3.0" replacement="StyleContext" gtk_widget_style_get_property.value is_ref="1" +gtk_widget_style_get_valist.var_args type_name="va_list" gtk_widget_translate_coordinates.dest_x is_out="1" gtk_widget_translate_coordinates.dest_y is_out="1" +GtkWidget:tooltip-markup owned_get="1" +GtkWidget:tooltip-text owned_get="1" GtkWidget.window weak="0" GtkWidget:window hidden="1" GtkWidget::child_notify has_emitter="1" @@ -1320,6 +1531,8 @@ GtkWindow::activate_focus name="focus_activated" experimental="1" GtkWindow::set_focus has_emitter="1" GtkWindow::set_focus.focus nullable="1" gtk_window_group_list_windows transfer_ownership="1" type_arguments="unowned Window" +gtk_window_get_resize_grip_area.rect is_out="1" +gtk_window_set_default_icon_list.list takes_ownership="1" type_arguments="unowned Gdk.Pixbuf" GtkWidget::button_press_event.event namespace_name="Gdk" type_name="EventButton" GtkWidget::button_release_event.event namespace_name="Gdk" type_name="EventButton" GtkWidget::client_event.event namespace_name="Gdk" type_name="EventClient" @@ -1352,6 +1565,11 @@ GtkWidget::selection_request_event.event namespace_name="Gdk" type_name="EventSe GtkWidget::unmap_event.event namespace_name="Gdk" type_name="EventAny" GtkWidget::visibility_notify_event.event namespace_name="Gdk" type_name="EventVisibility" GtkWidget::window_state_event.event namespace_name="Gdk" type_name="EventWindowState" +gtk_widget_path_copy transfer_ownership="1" +gtk_widget_path_iter_has_qregion.flags is_out="1" +gtk_widget_path_iter_list_classes transfer_ownership="1" type_arguments="unowned string" +gtk_widget_path_iter_list_regions transfer_ownership="1" type_arguments="unowned string" +gtk_widget_path_to_string transfer_ownership="1" gtk_render_activity deprecated_since="vala-0.16" replacement="StyleContext.render_activity" gtk_render_arrow deprecated_since="vala-0.16" replacement="StyleContext.render_arrow" gtk_render_background deprecated_since="vala-0.16" replacement="StyleContext.render_background" @@ -1372,4 +1590,12 @@ gtk_rgb_to_hsv.h is_out="1" gtk_rgb_to_hsv.s is_out="1" gtk_rgb_to_hsv.v is_out="1" +// errordomains +GtkBuilderError errordomain="1" +GtkCssSectionType errordomain="1" +GtkFileChooserError errordomain="1" +GtkIconThemeError errordomain="1" +GtkRecentChooserError errordomain="1" +GtkRecentManagerError errordomain="1" + *._g_sealed__* hidden="1"