[vala] gtk+-2.0: Add many missing type arguments
- From: Evan Nemerson <evann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] gtk+-2.0: Add many missing type arguments
- Date: Sun, 14 Mar 2010 00:32:10 +0000 (UTC)
commit e948e9e92e5a88f165d35bfe2fb0fd19b04fd103
Author: Evan Nemerson <evan coeus-group com>
Date: Sat Mar 13 16:23:33 2010 -0800
gtk+-2.0: Add many missing type arguments
Partially fixes bug 609875.
vapi/gtk+-2.0.vapi | 115 +++++++++++++--------------
vapi/packages/gtk+-2.0/gtk+-2.0-custom.vala | 5 -
vapi/packages/gtk+-2.0/gtk+-2.0.metadata | 67 ++++++++++++++--
3 files changed, 117 insertions(+), 70 deletions(-)
---
diff --git a/vapi/gtk+-2.0.vapi b/vapi/gtk+-2.0.vapi
index c4a0e72..d944636 100644
--- a/vapi/gtk+-2.0.vapi
+++ b/vapi/gtk+-2.0.vapi
@@ -158,7 +158,7 @@ namespace Gtk {
public unowned string get_icon_name ();
public bool get_is_important ();
public unowned string get_label ();
- public unowned GLib.SList get_proxies ();
+ public unowned GLib.SList<Gtk.Widget> get_proxies ();
public bool get_sensitive ();
public unowned string get_short_label ();
public unowned string get_stock_id ();
@@ -218,7 +218,7 @@ namespace Gtk {
public virtual unowned Gtk.Action get_action (string action_name);
public bool get_sensitive ();
public bool get_visible ();
- public unowned GLib.List list_actions ();
+ public GLib.List<weak Gtk.Action> list_actions ();
public void remove_action (Gtk.Action action);
public void set_sensitive (bool sensitive);
public void set_translate_func (Gtk.TranslateFunc func, void* data, GLib.DestroyNotify notify);
@@ -373,21 +373,18 @@ namespace Gtk {
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_signall (Gtk.BindingSet binding_set, uint keyval, Gdk.ModifierType modifiers, string signal_name, GLib.SList binding_args);
+ public static void add_signall (Gtk.BindingSet binding_set, uint keyval, Gdk.ModifierType modifiers, string signal_name, GLib.SList<Gtk.BindingArg> 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);
}
[Compact]
[CCode (cheader_filename = "gtk/gtk.h")]
public class BindingSet {
- public weak GLib.SList class_branch_pspecs;
public weak Gtk.BindingEntry current;
public weak Gtk.BindingEntry entries;
public uint parsed;
public int priority;
public weak string set_name;
- public weak GLib.SList widget_class_pspecs;
- public weak GLib.SList widget_path_pspecs;
[CCode (has_construct_function = false)]
public BindingSet (string set_name);
public bool activate (uint keyval, Gdk.ModifierType modifiers, Gtk.Object object);
@@ -405,7 +402,7 @@ namespace Gtk {
}
[CCode (cheader_filename = "gtk/gtk.h")]
public class Box : Gtk.Container, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
- public weak GLib.List children;
+ public weak GLib.List<Gtk.Widget> children;
public bool get_homogeneous ();
public int get_spacing ();
public void pack_end (Gtk.Widget child, bool expand, bool fill, uint padding);
@@ -440,7 +437,7 @@ namespace Gtk {
public void connect_signals_full (Gtk.BuilderConnectFunc func);
public static GLib.Quark error_quark ();
public unowned GLib.Object get_object (string name);
- public unowned GLib.SList get_objects ();
+ public GLib.SList<weak GLib.Object> get_objects ();
public unowned string get_translation_domain ();
public virtual GLib.Type get_type_from_name (string type_name);
public void set_translation_domain (string domain);
@@ -1075,7 +1072,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<weak Gtk.Widget> get_children ();
- public bool get_focus_chain (GLib.List focusable_widgets);
+ public bool get_focus_chain (out GLib.List<Gtk.Widget> focusable_widgets);
public unowned Gtk.Widget get_focus_child ();
public unowned Gtk.Adjustment get_focus_hadjustment ();
public unowned Gtk.Adjustment get_focus_vadjustment ();
@@ -1087,7 +1084,7 @@ namespace Gtk {
public void set_border_width (uint border_width);
[NoWrapper]
public virtual void set_child_property (Gtk.Widget child, uint property_id, GLib.Value value, GLib.ParamSpec pspec);
- public void set_focus_chain (GLib.List focusable_widgets);
+ public void set_focus_chain (GLib.List<Gtk.Widget> focusable_widgets);
public void set_focus_hadjustment (Gtk.Adjustment adjustment);
public void set_focus_vadjustment (Gtk.Adjustment adjustment);
public void set_reallocate_redraws (bool needs_redraws);
@@ -1499,7 +1496,7 @@ namespace Gtk {
}
[CCode (cheader_filename = "gtk/gtk.h")]
public class Fixed : Gtk.Container, Atk.Implementor, Gtk.Buildable {
- public weak GLib.List children;
+ public weak GLib.List<Gtk.Widget> children;
[CCode (type = "GtkWidget*", has_construct_function = false)]
public Fixed ();
public bool get_has_window ();
@@ -1839,8 +1836,8 @@ namespace Gtk {
public int get_icon_sizes (string icon_name);
public void get_search_path (string path, int n_elements);
public bool has_icon (string icon_name);
- public unowned GLib.List list_contexts ();
- public unowned GLib.List list_icons (string context);
+ public GLib.List<string> list_contexts ();
+ public GLib.List<string> list_icons (string context);
public unowned Gdk.Pixbuf load_icon (string icon_name, int size, Gtk.IconLookupFlags flags) throws GLib.Error;
public Gtk.IconInfo lookup_by_gicon (GLib.Icon icon, int size, Gtk.IconLookupFlags flags);
public Gtk.IconInfo lookup_icon (string icon_name, int size, Gtk.IconLookupFlags flags);
@@ -2223,7 +2220,7 @@ namespace Gtk {
[CCode (cheader_filename = "gtk/gtk.h")]
public class Layout : Gtk.Container, Atk.Implementor, Gtk.Buildable {
public weak Gdk.Window bin_window;
- public weak GLib.List children;
+ public weak GLib.List<Gtk.Widget> children;
public uint freeze_count;
public int scroll_x;
public int scroll_y;
@@ -2339,7 +2336,7 @@ namespace Gtk {
public unowned string get_accel_path ();
public unowned Gtk.Widget get_active ();
public unowned Gtk.Widget get_attach_widget ();
- public static unowned GLib.List get_for_attach_widget (Gtk.Widget widget);
+ public static unowned GLib.List<Gtk.Menu> get_for_attach_widget (Gtk.Widget widget);
public int get_monitor ();
public bool get_reserve_toggle_size ();
public bool get_tearoff_state ();
@@ -2734,7 +2731,7 @@ namespace Gtk {
public unowned string get_display_name ();
public double get_height (Gtk.Unit unit);
public unowned string get_name ();
- public static unowned GLib.List get_paper_sizes (bool include_custom);
+ public static GLib.List<Gtk.PaperSize> get_paper_sizes (bool include_custom);
public unowned string get_ppd_name ();
public double get_width (Gtk.Unit unit);
public bool is_custom ();
@@ -2968,9 +2965,9 @@ namespace Gtk {
[CCode (has_construct_function = false)]
public RadioAction (string name, string? label, string? tooltip, string? stock_id, int value);
public int get_current_value ();
- public unowned GLib.SList get_group ();
+ public unowned GLib.SList<Gtk.RadioAction> get_group ();
public void set_current_value (int current_value);
- public void set_group (GLib.SList group);
+ public void set_group (GLib.SList<Gtk.RadioAction> group);
public int current_value { get; set; }
public Gtk.RadioAction group { set; }
[NoAccessorMethod]
@@ -2980,17 +2977,17 @@ namespace Gtk {
[CCode (cheader_filename = "gtk/gtk.h")]
public class RadioButton : Gtk.CheckButton, Atk.Implementor, Gtk.Buildable, Gtk.Activatable {
[CCode (type = "GtkWidget*", has_construct_function = false)]
- public RadioButton (GLib.SList? group);
+ public RadioButton (GLib.SList<Gtk.RadioButton>? group);
[CCode (type = "GtkWidget*", has_construct_function = false)]
public RadioButton.from_widget (Gtk.RadioButton radio_group_member);
- public unowned GLib.SList get_group ();
- public void set_group (GLib.SList group);
+ public unowned GLib.SList<Gtk.RadioButton> get_group ();
+ public void set_group (GLib.SList<Gtk.RadioButton> group);
[CCode (type = "GtkWidget*", has_construct_function = false)]
- public RadioButton.with_label (GLib.SList? group, string label);
+ public RadioButton.with_label (GLib.SList<Gtk.RadioButton>? group, string label);
[CCode (type = "GtkWidget*", has_construct_function = false)]
public RadioButton.with_label_from_widget (Gtk.RadioButton radio_group_member, string label);
[CCode (type = "GtkWidget*", has_construct_function = false)]
- public RadioButton.with_mnemonic (GLib.SList? group, string label);
+ public RadioButton.with_mnemonic (GLib.SList<Gtk.RadioButton>? group, string label);
[CCode (type = "GtkWidget*", has_construct_function = false)]
public RadioButton.with_mnemonic_from_widget (Gtk.RadioButton radio_group_member, string label);
public Gtk.RadioButton group { set; }
@@ -2999,17 +2996,17 @@ namespace Gtk {
[CCode (cheader_filename = "gtk/gtk.h")]
public class RadioMenuItem : Gtk.CheckMenuItem, Atk.Implementor, Gtk.Buildable, Gtk.Activatable {
[CCode (type = "GtkWidget*", has_construct_function = false)]
- public RadioMenuItem (GLib.SList group);
+ public RadioMenuItem (GLib.SList<Gtk.RadioMenuItem> group);
[CCode (type = "GtkWidget*", has_construct_function = false)]
public RadioMenuItem.from_widget (Gtk.RadioMenuItem group);
- public unowned GLib.SList get_group ();
- public void set_group (GLib.SList group);
+ public unowned GLib.SList<Gtk.RadioMenuItem> get_group ();
+ public void set_group (GLib.SList<Gtk.RadioMenuItem> group);
[CCode (type = "GtkWidget*", has_construct_function = false)]
- public RadioMenuItem.with_label (GLib.SList group, string label);
+ public RadioMenuItem.with_label (GLib.SList<Gtk.RadioMenuItem> group, string label);
[CCode (type = "GtkWidget*", has_construct_function = false)]
public RadioMenuItem.with_label_from_widget (Gtk.RadioMenuItem group, string label);
[CCode (type = "GtkWidget*", has_construct_function = false)]
- public RadioMenuItem.with_mnemonic (GLib.SList group, string label);
+ public RadioMenuItem.with_mnemonic (GLib.SList<Gtk.RadioMenuItem> group, string label);
[CCode (type = "GtkWidget*", has_construct_function = false)]
public RadioMenuItem.with_mnemonic_from_widget (Gtk.RadioMenuItem group, string label);
public Gtk.RadioMenuItem group { set; }
@@ -3018,16 +3015,16 @@ namespace Gtk {
[CCode (cheader_filename = "gtk/gtk.h")]
public class RadioToolButton : Gtk.ToggleToolButton, Atk.Implementor, Gtk.Buildable, Gtk.Activatable {
[CCode (type = "GtkToolItem*", has_construct_function = false)]
- public RadioToolButton (GLib.SList? group);
+ public RadioToolButton (GLib.SList<Gtk.RadioToolButton>? group);
[CCode (type = "GtkToolItem*", has_construct_function = false)]
- public RadioToolButton.from_stock (GLib.SList group, string stock_id);
+ public RadioToolButton.from_stock (GLib.SList<Gtk.RadioToolButton>? group, string stock_id);
[CCode (type = "GtkToolItem*", has_construct_function = false)]
public RadioToolButton.from_widget (Gtk.RadioToolButton group);
- public unowned GLib.SList get_group ();
- public void set_group (GLib.SList group);
+ public unowned GLib.SList<Gtk.RadioToolButton> get_group ();
+ public void set_group (GLib.SList<Gtk.RadioToolButton> group);
[CCode (type = "GtkToolItem*", has_construct_function = false)]
public RadioToolButton.with_stock_from_widget (Gtk.RadioToolButton group, string stock_id);
- public Gtk.RadioToolButton group { set; }
+ public Gtk.RadioToolButton<Gtk.RadioMenuItem> group { set; }
}
[CCode (cheader_filename = "gtk/gtk.h")]
public class Range : Gtk.Widget, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
@@ -3250,7 +3247,7 @@ namespace Gtk {
public bool add_item (string uri);
public static GLib.Quark error_quark ();
public static unowned Gtk.RecentManager get_default ();
- public unowned GLib.List get_items ();
+ public GLib.List<Gtk.RecentInfo> get_items ();
public int get_limit ();
public bool has_item (string uri);
public unowned Gtk.RecentInfo lookup_item (string uri) throws GLib.Error;
@@ -3445,7 +3442,7 @@ namespace Gtk {
public void set_property_value (string name, Gtk.SettingsValue svalue);
public void set_string_property (string name, string v_string, string origin);
[NoAccessorMethod]
- public GLib.HashTable color_hash { owned get; }
+ public GLib.HashTable<string,Gdk.Color> color_hash { owned get; }
[NoAccessorMethod]
public bool gtk_alternative_button_order { get; set; }
[NoAccessorMethod]
@@ -3570,7 +3567,7 @@ namespace Gtk {
public void add_widget (Gtk.Widget widget);
public bool get_ignore_hidden ();
public Gtk.SizeGroupMode get_mode ();
- public unowned GLib.SList get_widgets ();
+ public unowned GLib.SList<Gtk.Widget> get_widgets ();
public void remove_widget (Gtk.Widget widget);
public void set_ignore_hidden (bool ignore_hidden);
public void set_mode (Gtk.SizeGroupMode mode);
@@ -3925,7 +3922,7 @@ namespace Gtk {
[Compact]
[CCode (ref_function = "gtk_target_list_ref", unref_function = "gtk_target_list_unref", type_id = "GTK_TYPE_TARGET_LIST", cheader_filename = "gtk/gtk.h")]
public class TargetList {
- public weak GLib.List list;
+ public weak GLib.List<Gtk.TargetPair> list;
public uint ref_count;
[CCode (has_construct_function = false)]
public TargetList (Gtk.TargetEntry[] targets);
@@ -4116,7 +4113,7 @@ namespace Gtk {
[CCode (has_construct_function = false)]
public TextChildAnchor ();
public bool get_deleted ();
- public unowned GLib.List get_widgets ();
+ public GLib.List<weak Gtk.Widget> get_widgets ();
}
[Compact]
[CCode (cheader_filename = "gtk/gtk.h")]
@@ -4994,9 +4991,9 @@ namespace Gtk {
public void ensure_update ();
public unowned Gtk.AccelGroup get_accel_group ();
public virtual unowned Gtk.Action get_action (string path);
- public unowned GLib.List get_action_groups ();
+ public unowned GLib.List<Gtk.ActionGroup> get_action_groups ();
public bool get_add_tearoffs ();
- public unowned GLib.SList get_toplevels (Gtk.UIManagerItemType types);
+ public GLib.SList<weak Gtk.Widget> get_toplevels (Gtk.UIManagerItemType types);
public unowned string get_ui ();
public virtual unowned Gtk.Widget get_widget (string path);
public void insert_action_group (Gtk.ActionGroup action_group, int pos);
@@ -5173,8 +5170,8 @@ namespace Gtk {
public bool is_sensitive ();
[CCode (cname = "GTK_WIDGET_TOPLEVEL")]
public bool is_toplevel ();
- public unowned GLib.List list_accel_closures ();
- public unowned GLib.List list_mnemonic_labels ();
+ public GLib.List<GLib.Closure> list_accel_closures ();
+ public GLib.List<weak Gtk.Widget> list_mnemonic_labels ();
[CCode (cname = "gtk_widget_class_list_style_properties")]
public class unowned GLib.ParamSpec list_style_properties (uint n_properties);
public void modify_base (Gtk.StateType state, Gdk.Color? color);
@@ -5417,7 +5414,7 @@ namespace Gtk {
public void fullscreen ();
public bool get_accept_focus ();
public bool get_decorated ();
- public static unowned GLib.List get_default_icon_list ();
+ public static GLib.List<weak Gdk.Pixbuf> get_default_icon_list ();
public static unowned string get_default_icon_name ();
public void get_default_size (out int width, out int height);
public unowned Gtk.Widget get_default_widget ();
@@ -5430,7 +5427,7 @@ namespace Gtk {
public unowned Gtk.WindowGroup get_group ();
public bool get_has_frame ();
public unowned Gdk.Pixbuf get_icon ();
- public unowned GLib.List get_icon_list ();
+ public GLib.List<weak Gdk.Pixbuf> get_icon_list ();
public unowned string get_icon_name ();
public Gdk.ModifierType get_mnemonic_modifier ();
public bool get_modal ();
@@ -5447,7 +5444,7 @@ namespace Gtk {
public Gdk.WindowTypeHint get_type_hint ();
public bool get_urgency_hint ();
public void iconify ();
- public static unowned GLib.List list_toplevels ();
+ public static GLib.List<weak Gtk.Window> list_toplevels ();
public void maximize ();
public bool mnemonic_activate (uint keyval, Gdk.ModifierType modifier);
public void move (int x, int y);
@@ -5468,7 +5465,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 (GLib.List<Gdk.Pixbuf> 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);
@@ -5480,7 +5477,7 @@ namespace Gtk {
public void set_has_frame (bool setting);
public void set_icon (Gdk.Pixbuf icon);
public bool set_icon_from_file (string filename) throws GLib.Error;
- public void set_icon_list (GLib.List list);
+ public void set_icon_list (GLib.List<Gdk.Pixbuf> list);
public void set_icon_name (string name);
public void set_keep_above (bool setting);
public void set_keep_below (bool setting);
@@ -5556,7 +5553,7 @@ namespace Gtk {
[CCode (has_construct_function = false)]
public WindowGroup ();
public void add_window (Gtk.Window window);
- public unowned GLib.List list_windows ();
+ public GLib.List<weak Gtk.Window> list_windows ();
public void remove_window (Gtk.Window window);
}
[CCode (cheader_filename = "gtk/gtk.h")]
@@ -5595,7 +5592,7 @@ namespace Gtk {
public abstract void add_attribute (Gtk.CellRenderer cell, string attribute, int column);
public abstract void clear ();
public abstract void clear_attributes (Gtk.CellRenderer cell);
- public abstract unowned GLib.List get_cells ();
+ public abstract GLib.List<weak Gtk.CellRenderer> get_cells ();
public abstract void pack_end (Gtk.CellRenderer cell, bool expand);
public abstract void pack_start (Gtk.CellRenderer cell, bool expand);
public abstract void reorder (Gtk.CellRenderer cell, int position);
@@ -5655,9 +5652,9 @@ namespace Gtk {
public string get_uri ();
public GLib.SList<string> get_uris ();
public bool get_use_preview_label ();
- public unowned GLib.SList list_filters ();
- public unowned GLib.SList list_shortcut_folder_uris ();
- public unowned GLib.SList list_shortcut_folders ();
+ public GLib.SList<weak Gtk.FileFilter> list_filters ();
+ public GLib.SList<string>? list_shortcut_folder_uris ();
+ public GLib.SList<string>? list_shortcut_folders ();
public void remove_filter (Gtk.FileFilter filter);
public bool remove_shortcut_folder (string folder) throws GLib.Error;
public bool remove_shortcut_folder_uri (string uri) throws GLib.Error;
@@ -5728,7 +5725,7 @@ namespace Gtk {
public unowned Gtk.RecentInfo get_current_item ();
public abstract unowned string get_current_uri ();
public unowned Gtk.RecentFilter get_filter ();
- public abstract unowned GLib.List get_items ();
+ public abstract GLib.List<Gtk.RecentInfo> get_items ();
public int get_limit ();
public bool get_local_only ();
[NoWrapper]
@@ -5740,7 +5737,7 @@ namespace Gtk {
public bool get_show_tips ();
public Gtk.RecentSortType get_sort_type ();
public unowned string get_uris (size_t length);
- public abstract unowned GLib.SList list_filters ();
+ public abstract GLib.SList<weak Gtk.RecentFilter> list_filters ();
public abstract void remove_filter (Gtk.RecentFilter filter);
public abstract void select_all ();
public abstract bool select_uri (string uri) throws GLib.Error;
@@ -5981,13 +5978,13 @@ namespace Gtk {
public int get_line ();
public int get_line_index ();
public int get_line_offset ();
- public unowned GLib.SList get_marks ();
+ public GLib.SList<weak Gtk.TextMark> get_marks ();
public int get_offset ();
public unowned Gdk.Pixbuf get_pixbuf ();
public unowned string get_slice (Gtk.TextIter end);
- public unowned GLib.SList get_tags ();
+ public GLib.SList<weak Gtk.TextTag> get_tags ();
public unowned string get_text (Gtk.TextIter end);
- public unowned GLib.SList get_toggled_tags (bool toggled_on);
+ public GLib.SList<weak Gtk.TextTag> 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);
@@ -7422,7 +7419,7 @@ namespace Gtk {
[CCode (cheader_filename = "gtk/gtk.h")]
public static bool accel_groups_activate (GLib.Object object, uint accel_key, Gdk.ModifierType accel_mods);
[CCode (cheader_filename = "gtk/gtk.h")]
- public static unowned GLib.SList accel_groups_from_object (GLib.Object object);
+ public static unowned GLib.SList<Gtk.AccelGroup> accel_groups_from_object (GLib.Object object);
[CCode (cheader_filename = "gtk/gtk.h")]
public static uint accelerator_get_default_mod_mask ();
[CCode (cheader_filename = "gtk/gtk.h")]
@@ -7708,7 +7705,7 @@ namespace Gtk {
[CCode (cheader_filename = "gtk/gtk.h")]
public static void stock_add_static (Gtk.StockItem[] items);
[CCode (cheader_filename = "gtk/gtk.h")]
- public static unowned GLib.SList stock_list_ids ();
+ public static GLib.SList<string> stock_list_ids ();
[CCode (cheader_filename = "gtk/gtk.h")]
public static bool stock_lookup (string stock_id, Gtk.StockItem item);
[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 3eeb798..8e2d308 100644
--- a/vapi/packages/gtk+-2.0/gtk+-2.0-custom.vala
+++ b/vapi/packages/gtk+-2.0/gtk+-2.0-custom.vala
@@ -29,7 +29,6 @@ namespace Gtk {
}
public class Container {
- public GLib.List<weak Gtk.Widget> get_children ();
[CCode (vfunc_name = "forall")]
public virtual void forall_internal(bool include_internal, Gtk.Callback callback);
}
@@ -43,10 +42,6 @@ namespace Gtk {
public void position_menu (Gtk.Menu menu, out int x, out int y, out bool push_in);
}
- public class TreeView {
- public GLib.List<weak Gtk.TreeViewColumn> get_columns ();
- }
-
public class UIManager {
public uint new_merge_id ();
}
diff --git a/vapi/packages/gtk+-2.0/gtk+-2.0.metadata b/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
index 7c4920e..59db8f1 100644
--- a/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
+++ b/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
@@ -10,8 +10,10 @@ gtk_about_dialog_set_url_hook.func transfer_ownership="1"
gtk_about_dialog_set_url_hook.data hidden="1"
gtk_about_dialog_set_url_hook.destroy hidden="1"
gtk_about_dialog_set_url_hook type_name="void"
+gtk_accel_groups_from_object type_arguments="AccelGroup"
gtk_accelerator_parse.accelerator_key is_out="1"
gtk_accelerator_parse.accelerator_mods is_out="1"
+gtk_action_get_proxies type_arguments="Widget"
gtk_action_new.label nullable="1"
gtk_action_new.tooltip nullable="1"
gtk_action_new.stock_id nullable="1"
@@ -28,6 +30,7 @@ gtk_action_group_add_radio_actions_full.destroy nullable="1"
gtk_action_group_add_toggle_actions.user_data hidden="0"
gtk_action_group_add_toggle_actions_full.user_data hidden="0"
gtk_action_group_add_toggle_actions_full.destroy nullable="1"
+gtk_action_group_list_actions transfer_ownership="1" type_arguments="unowned Action"
GtkAdjustment::changed has_emitter="1"
GtkAdjustment::value_changed has_emitter="1"
gtk_alignment_get_padding.padding_top is_out="1"
@@ -43,7 +46,12 @@ 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_signall.binding_args type_arguments="BindingArg"
+GtkBindingSet.class_branch_pspecs hidden="1"
+GtkBindingSet.widget_class_pspecs hidden="1"
+GtkBindingSet.widget_path_pspecs hidden="1"
GtkBorder is_value_type="1"
+GtkBox.children type_arguments="Widget"
gtk_box_query_child_packing.expand is_out="1"
gtk_box_query_child_packing.fill is_out="1"
gtk_box_query_child_packing.padding is_out="1"
@@ -57,6 +65,7 @@ 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_get_objects transfer_ownership="1" type_arguments="unowned GLib.Object"
GtkBuilderError errordomain="1"
gtk_button_get_alignment.xalign is_out="1"
gtk_button_get_alignment.yalign is_out="1"
@@ -77,6 +86,7 @@ GtkCell.u hidden="1"
GtkCellEditable::editing_done has_emitter="1"
GtkCellEditable::remove_widget has_emitter="1"
GtkCellEditable::start_editing has_emitter="1"
+gtk_cell_layout_get_cells transfer_ownership="1" type_arguments="unowned CellRenderer"
gtk_cell_layout_set_attributes ellipsis="1"
gtk_cell_layout_set_cell_data_func.func transfer_ownership="1"
gtk_cell_layout_set_cell_data_func.func_data hidden="1"
@@ -114,7 +124,9 @@ GtkContainer::remove has_emitter="1"
GtkContainer::set_focus_child has_emitter="1"
gtk_container_forall.callback_data hidden="1"
gtk_container_foreach.callback_data hidden="1"
-gtk_container_get_children 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_set_focus_chain.focusable_widgets type_arguments="Widget"
GtkContainerClass name="pointer"
GtkDestroyNotify has_target="0"
gtk_dialog_new_with_buttons.title nullable="1"
@@ -155,6 +167,10 @@ 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"
+gtk_file_chooser_list_filters transfer_ownership="1" type_arguments="unowned FileFilter"
+gtk_file_chooser_list_shortcut_folder_uris nullable="1" transfer_ownership="1" type_arguments="string"
+gtk_file_chooser_list_shortcut_folders nullable="1" transfer_ownership="1" type_arguments="string"
+GtkFixed.children type_arguments="Widget"
gtk_frame_new.label nullable="1"
GtkHandleBox.child_detached hidden="1"
GtkHandleBox::child_detached hidden="1"
@@ -174,6 +190,8 @@ gtk_icon_view_get_tooltip_context.y is_out="1"
gtk_icon_view_get_selected_items transfer_ownership="1" type_arguments="TreePath"
gtk_icon_set_copy transfer_ownership="1"
gtk_icon_source_copy transfer_ownership="1"
+gtk_icon_theme_list_contexts transfer_ownership="1" type_arguments="string"
+gtk_icon_theme_list_icons transfer_ownership="1" type_arguments="string"
gtk_icon_theme_lookup_icon transfer_ownership="1"
gtk_icon_theme_choose_icon transfer_ownership="1"
gtk_icon_theme_lookup_by_gicon transfer_ownership="1"
@@ -207,6 +225,7 @@ GtkLabel.text hidden="1"
gtk_label_new.str nullable="1"
GtkList::select_child has_emitter="1"
GtkList::unselect_child has_emitter="1"
+GtkLayout.children type_arguments="Widget"
gtk_layout_get_size.width is_out="1"
gtk_layout_get_size.height is_out="1"
gtk_list_store_new ellipsis="1"
@@ -235,6 +254,7 @@ gtk_link_button_set_uri_hook.func transfer_ownership="1"
gtk_link_button_set_uri_hook.data hidden="1"
gtk_link_button_set_uri_hook.destroy hidden="1"
gtk_link_button_set_uri_hook type_name="void"
+gtk_menu_get_for_attach_widget type_arguments="Menu"
gtk_menu_popup.data hidden="1"
gtk_menu_popup.func nullable="1"
gtk_menu_popup.parent_menu_shell nullable="1"
@@ -345,6 +365,7 @@ gtk_paint_vline.area nullable="1"
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"
GtkPlug::embedded hidden="1"
gtk_print_settings_copy transfer_ownership="1"
gtk_printer_accepts_pdf hidden="1" experimental="1"
@@ -357,11 +378,27 @@ gtk_quit_add_full hidden="1"
gtk_radio_action_new.label nullable="1"
gtk_radio_action_new.tooltip nullable="1"
gtk_radio_action_new.stock_id nullable="1"
+gtk_radio_action_get_group type_arguments="RadioAction"
+gtk_radio_action_set_group.group type_arguments="RadioAction"
GtkRadioActionEntry is_value_type="1"
-gtk_radio_button_new.group nullable="1"
-gtk_radio_button_new_with_label.group nullable="1"
-gtk_radio_button_new_with_mnemonic.group nullable="1"
-gtk_radio_tool_button_new.group nullable="1"
+gtk_radio_button_get_group type_arguments="RadioButton"
+gtk_radio_button_new.group nullable="1" type_arguments="RadioButton"
+gtk_radio_button_new_with_label.group nullable="1" type_arguments="RadioButton"
+gtk_radio_button_new_with_mnemonic.group nullable="1" type_arguments="RadioButton"
+gtk_radio_button_set_group.group type_arguments="RadioButton"
+gtk_radio_menu_item_get_group type_arguments="RadioMenuItem"
+gtk_radio_menu_item_new.group type_arguments="RadioMenuItem"
+gtk_radio_menu_item_new_with_label.group type_arguments="RadioMenuItem"
+gtk_radio_menu_item_new_with_mnemonic.group type_arguments="RadioMenuItem"
+gtk_radio_menu_item_set_group.group type_arguments="RadioMenuItem"
+GtkRadioToolButton:group type_arguments="RadioMenuItem"
+gtk_radio_tool_button_get_group type_arguments="RadioToolButton"
+gtk_radio_tool_button_new.group nullable="1" type_arguments="RadioToolButton"
+gtk_radio_tool_button_new_from_stock.group nullable="1" type_arguments="RadioToolButton"
+gtk_radio_tool_button_set_group.group type_arguments="RadioToolButton"
+gtk_recent_chooser_get_items transfer_ownership="1" type_arguments="RecentInfo"
+gtk_recent_chooser_list_filters transfer_ownership="1" type_arguments="unowned RecentFilter"
+gtk_recent_manager_get_items transfer_ownership="1" type_arguments="RecentInfo"
GtkRecentData is_value_type="1" has_copy_function="0" has_destroy_function="0"
GtkRecentData.display_name weak="0"
GtkRecentData.description weak="0"
@@ -390,9 +427,11 @@ gtk_selection_data_get_uris is_array="1" transfer_ownership="1" array_null_termi
gtk_selection_data_set.length hidden="1"
gtk_selection_data_set_uris.uris is_array="1" no_array_length="1"
GtkSettings.queued_settings hidden="1"
+GtkSettings:color-hash type_arguments="string,Gdk.Color"
gtk_show_about_dialog ellipsis="1"
gtk_show_about_dialog.parent nullable="1"
gtk_show_uri.screen nullable="1"
+gtk_size_group_get_widgets type_arguments="Widget"
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"
@@ -400,6 +439,7 @@ GtkStatusIcon::button_release_event.event namespace_name="Gdk" type_name="EventB
gtk_status_icon_get_geometry.area is_out="1"
gtk_status_icon_get_geometry.orientation is_out="1"
gtk_status_icon_position_menu hidden="1"
+gtk_stock_list_ids transfer_ownership="1" type_arguments="string"
GtkStockItem is_value_type="1"
GtkStyle.fg weak="0"
GtkStyle.bg weak="0"
@@ -421,10 +461,12 @@ GtkStyle.bg_pixmap weak="0"
gtk_style_lookup_color.color is_out="1"
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_new.targets is_array="1"
gtk_target_list_new.ntargets hidden="1"
gtk_text_attributes_copy transfer_ownership="1"
+gtk_text_child_anchor_get_widgets transfer_ownership="1" type_arguments="unowned Widget"
GtkTextBuffer::apply_tag has_emitter="1"
GtkTextBuffer::begin_user_action has_emitter="1"
GtkTextBuffer::end_user_action has_emitter="1"
@@ -448,6 +490,9 @@ gtk_text_buffer_get_start_iter.iter is_out="1"
gtk_text_buffer_paste_clipboard.override_location nullable="1"
gtk_text_buffer_new.table nullable="1"
GtkTextIter is_value_type="1"
+gtk_text_iter_get_marks transfer_ownership="1" type_arguments="unowned TextMark"
+gtk_text_iter_get_tags transfer_ownership="1" type_arguments="unowned TextTag"
+gtk_text_iter_get_toggled_tags transfer_ownership="1" type_arguments="unowned TextTag"
GtkTextTag::event has_emitter="1"
GtkTextView.layout hidden="1"
gtk_text_iter_backward_search.match_start is_out="1"
@@ -589,7 +634,7 @@ gtk_tree_view_get_background_area.column nullable="1"
gtk_tree_view_get_cell_area.rect is_out="1"
gtk_tree_view_get_cell_area.path nullable="1"
gtk_tree_view_get_cell_area.column nullable="1"
-gtk_tree_view_get_columns hidden="1"
+gtk_tree_view_get_columns transfer_ownership="1" type_arguments="unowned TreeViewColumn"
gtk_tree_view_get_cursor.path value_owned="1" nullable="1"
gtk_tree_view_get_cursor.focus_column nullable="1"
gtk_tree_view_get_path_at_pos.path value_owned="1" nullable="1"
@@ -629,6 +674,8 @@ gtk_tree_view_column_set_attributes ellipsis="1"
gtk_tree_view_column_set_model.model nullable="1"
GtkTreeViewSearchEqualFunc hidden="1"
gtk_true hidden="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_new_merge_id hidden="1"
gtk_viewport_new.hadjustment nullable="1"
gtk_viewport_new.vadjustment nullable="1"
@@ -652,6 +699,8 @@ gtk_widget_get_size_request.height is_out="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_mnemonic_labels transfer_ownership="1" type_arguments="unowned Widget"
gtk_widget_modify_base.color nullable="1"
gtk_widget_modify_bg.color nullable="1"
gtk_widget_modify_cursor.primary nullable="1"
@@ -690,19 +739,25 @@ GtkWidget::style_set.previous_style nullable="1"
GtkWidget::unmap has_emitter="1"
GtkWidget::unrealize has_emitter="1"
GtkWidgetClass name="pointer"
+gtk_window_get_default_icon_list transfer_ownership="1" type_arguments="unowned Gdk.Pixbuf"
gtk_window_get_default_size.width is_out="1"
gtk_window_get_default_size.height is_out="1"
+gtk_window_get_icon_list transfer_ownership="1" type_arguments="unowned Gdk.Pixbuf"
gtk_window_get_position.root_x is_out="1"
gtk_window_get_position.root_y is_out="1"
gtk_window_get_size.width is_out="1"
gtk_window_get_size.height is_out="1"
gtk_window_has_toplevel_focus hidden="1" experimental="1"
gtk_window_is_active hidden="1" experimental="1"
+gtk_window_list_toplevels transfer_ownership="1" type_arguments="unowned Window"
+gtk_window_set_default_icon_list.list type_arguments="Gdk.Pixbuf"
+gtk_window_set_icon_list.list type_arguments="Gdk.Pixbuf"
gtk_widget_new hidden="1"
GtkWindow::activate_default name="default_activated" experimental="1"
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"
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"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]