[vala] gtk+-3.0: mark deprecated symbols as such
- From: Evan Nemerson <evann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] gtk+-3.0: mark deprecated symbols as such
- Date: Wed, 5 Sep 2012 03:50:49 +0000 (UTC)
commit 25366323f0d2b9d8a07c2bf1974ae8a0a629c49e
Author: Evan Nemerson <evan coeus-group com>
Date: Tue Sep 4 20:36:08 2012 -0700
gtk+-3.0: mark deprecated symbols as such
vapi/gtk+-3.0.vapi | 93 ++++++++++++++++++++++++
vapi/packages/gtk+-3.0/gtk+-3.0-custom.vala | 1 +
vapi/packages/gtk+-3.0/gtk+-3.0.metadata | 102 +++++++++++++++++++++++++--
3 files changed, 191 insertions(+), 5 deletions(-)
---
diff --git a/vapi/gtk+-3.0.vapi b/vapi/gtk+-3.0.vapi
index 9662b6b..777e539 100644
--- a/vapi/gtk+-3.0.vapi
+++ b/vapi/gtk+-3.0.vapi
@@ -346,6 +346,7 @@ namespace Gtk {
public class Accessible : Atk.Object {
[CCode (has_construct_function = false)]
protected Accessible ();
+ [Deprecated (replacement = "Accessible.set_widget", since = "3.4")]
public virtual void connect_widget_destroyed ();
public unowned Gtk.Widget get_widget ();
public void set_widget (Gtk.Widget widget);
@@ -633,7 +634,9 @@ namespace Gtk {
public int get_n_pages ();
public unowned Gtk.Widget get_nth_page (int page_num);
public bool get_page_complete (Gtk.Widget page);
+ [Deprecated (since = "3.2")]
public unowned Gdk.Pixbuf get_page_header_image (Gtk.Widget page);
+ [Deprecated (since = "3.2")]
public unowned Gdk.Pixbuf get_page_side_image (Gtk.Widget page);
public unowned string get_page_title (Gtk.Widget page);
public Gtk.AssistantPageType get_page_type (Gtk.Widget page);
@@ -646,7 +649,9 @@ namespace Gtk {
public void set_current_page (int page_num);
public void set_forward_page_func (owned Gtk.AssistantPageFunc page_func);
public void set_page_complete (Gtk.Widget page, bool complete);
+ [Deprecated (since = "3.2")]
public void set_page_header_image (Gtk.Widget page, Gdk.Pixbuf pixbuf);
+ [Deprecated (since = "3.2")]
public void set_page_side_image (Gtk.Widget page, Gdk.Pixbuf pixbuf);
public void set_page_title (Gtk.Widget page, string title);
public void set_page_type (Gtk.Widget page, Gtk.AssistantPageType type);
@@ -691,6 +696,7 @@ namespace Gtk {
[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 find (string set_name);
@@ -786,12 +792,16 @@ namespace Gtk {
public virtual signal void activate ();
[HasEmitter]
public virtual signal void clicked ();
+ [Deprecated (replacement = "Gtk.Widget.enter_notify_event", since = "2.8")]
[HasEmitter]
public virtual signal void enter ();
+ [Deprecated (replacement = "Gtk.Widget.leave_notify_event", since = "2.8")]
[HasEmitter]
public virtual signal void leave ();
+ [Deprecated (replacement = "Gtk.Widget.button_press_event", since = "2.8")]
[HasEmitter]
public virtual signal void pressed ();
+ [Deprecated (replacement = "Gtk.Widget.button_release_event", since = "2.8")]
[HasEmitter]
public virtual signal void released ();
}
@@ -965,6 +975,7 @@ namespace Gtk {
public virtual void get_preferred_width_for_height (Gtk.Widget widget, int height, out int minimum_width, out int natural_width);
public virtual Gtk.SizeRequestMode get_request_mode ();
public bool get_sensitive ();
+ [Deprecated (replacement = "get_preferred_size", since = "3.0")]
public abstract void get_size (Gtk.Widget widget, Gdk.Rectangle? cell_area, out int x_offset, out int y_offset, out int width, out int height);
public Gtk.StateFlags get_state (Gtk.Widget widget, Gtk.CellRendererState cell_state);
public bool get_visible ();
@@ -979,6 +990,7 @@ namespace Gtk {
public void stop_editing (bool canceled);
[NoAccessorMethod]
public string cell_background { set; }
+ [Deprecated (replacement = "Gtk.CellRenderer.cell_background_rgba", since = "3.4")]
[NoAccessorMethod]
public Gdk.Color cell_background_gdk { get; set; }
[NoAccessorMethod]
@@ -1113,6 +1125,7 @@ namespace Gtk {
public Pango.AttrList attributes { owned get; set; }
[NoAccessorMethod]
public string background { set; }
+ [Deprecated (replacement = "background_rgba", since = "3.4")]
[NoAccessorMethod]
public Gdk.Color background_gdk { get; set; }
[NoAccessorMethod]
@@ -1137,6 +1150,7 @@ namespace Gtk {
public Pango.FontDescription font_desc { owned get; set; }
[NoAccessorMethod]
public string foreground { set; }
+ [Deprecated (replacement = "foreground_rgba", since = "3.4")]
[NoAccessorMethod]
public Gdk.Color foreground_gdk { get; set; }
[NoAccessorMethod]
@@ -1231,6 +1245,7 @@ namespace Gtk {
public bool get_fit_model ();
public unowned Gtk.TreeModel get_model ();
public bool get_size_of_row (Gtk.TreePath path, out Gtk.Requisition requisition);
+ [Deprecated (replacement = "set_background_rgba", since = "3.4")]
public void set_background_color (Gdk.Color color);
public void set_background_rgba (Gdk.RGBA rgba);
public void set_displayed_row (Gtk.TreePath path);
@@ -1247,6 +1262,7 @@ namespace Gtk {
public CellView.with_text (string text);
[NoAccessorMethod]
public string background { set; }
+ [Deprecated (replacement = "background_rgba", since = "3.4")]
[NoAccessorMethod]
public Gdk.Color background_gdk { get; set; }
[NoAccessorMethod]
@@ -1347,6 +1363,7 @@ namespace Gtk {
[CCode (has_construct_function = false, type = "GtkWidget*")]
public ColorButton.with_rgba (Gdk.RGBA rgba);
public uint alpha { get; set; }
+ [Deprecated (replacement = "rgba", since = "3.4")]
public Gdk.Color color { get; set; }
public Gdk.RGBA rgba { get; set; }
public string title { get; set; }
@@ -1372,6 +1389,7 @@ namespace Gtk {
[CCode (has_construct_function = false, type = "GtkWidget*")]
public ColorSelection ();
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 bool get_has_opacity_control ();
@@ -1384,6 +1402,7 @@ namespace Gtk {
public static unowned 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")]
public void set_current_color (Gdk.Color color);
public void set_current_rgba (Gdk.RGBA rgba);
public void set_has_opacity_control (bool has_opacity);
@@ -1674,6 +1693,7 @@ namespace Gtk {
public void set_icon_sensitive (Gtk.EntryIconPosition icon_pos, bool sensitive);
public void set_icon_tooltip_markup (Gtk.EntryIconPosition icon_pos, string? tooltip);
public void set_icon_tooltip_text (Gtk.EntryIconPosition icon_pos, string? tooltip);
+ [Deprecated (since = "3.4")]
public void set_inner_border (Gtk.Border border);
public void set_invisible_char (unichar ch);
public void set_max_length (int max);
@@ -1700,6 +1720,7 @@ namespace Gtk {
public bool has_frame { get; set; }
[NoAccessorMethod]
public string im_module { owned get; set; }
+ [Deprecated (since = "3.4")]
public Gtk.Border inner_border { get; set; }
public uint invisible_char { get; set; }
[NoAccessorMethod]
@@ -2004,6 +2025,7 @@ namespace Gtk {
public string preview_text { get; set; }
}
[CCode (cheader_filename = "gtk/gtk.h")]
+ [Deprecated (replacement = "FontChooserDialog", since = "3.2")]
public class FontSelectionDialog : Gtk.Dialog, Atk.Implementor, Gtk.Buildable {
[CCode (has_construct_function = false, type = "GtkWidget*")]
public FontSelectionDialog (string title);
@@ -2073,6 +2095,7 @@ namespace Gtk {
public int row_spacing { get; set; }
}
[CCode (cheader_filename = "gtk/gtk.h")]
+ [Deprecated (replacement = "Grid", since = "3.2")]
public class HBox : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
[CCode (has_construct_function = false, type = "GtkWidget*")]
public HBox (bool homogeneous, int spacing);
@@ -2083,6 +2106,7 @@ namespace Gtk {
public HButtonBox ();
}
[CCode (cheader_filename = "gtk/gtk.h")]
+ [Deprecated (replacement = "Paned", since = "3.2")]
public class HPaned : Gtk.Paned, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
[CCode (has_construct_function = false, type = "GtkWidget*")]
public HPaned ();
@@ -2101,6 +2125,7 @@ namespace Gtk {
public virtual signal void move (Gtk.DirectionType type);
}
[CCode (cheader_filename = "gtk/gtk.h")]
+ [Deprecated (since = "3.2")]
public class HScale : Gtk.Scale, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
[CCode (has_construct_function = false, type = "GtkWidget*")]
public HScale (Gtk.Adjustment? adjustment);
@@ -2108,16 +2133,19 @@ namespace Gtk {
public HScale.with_range (double min, double max, double step);
}
[CCode (cheader_filename = "gtk/gtk.h")]
+ [Deprecated (since = "3.2")]
public class HScrollbar : Gtk.Scrollbar, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
[CCode (has_construct_function = false, type = "GtkWidget*")]
public HScrollbar (Gtk.Adjustment? adjustment);
}
[CCode (cheader_filename = "gtk/gtk.h")]
+ [Deprecated (replacement = "Separator", since = "3.2")]
public class HSeparator : Gtk.Separator, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
[CCode (has_construct_function = false, type = "GtkWidget*")]
public HSeparator ();
}
[CCode (cheader_filename = "gtk/gtk.h")]
+ [Deprecated (since = "3.4")]
public class HandleBox : Gtk.Bin, Atk.Implementor, Gtk.Buildable {
[CCode (has_construct_function = false, type = "GtkWidget*")]
public HandleBox ();
@@ -2197,6 +2225,7 @@ namespace Gtk {
public Gdk.Pixbuf load_icon () throws GLib.Error;
public Gdk.Pixbuf load_symbolic (Gdk.RGBA fg, Gdk.RGBA? success_color = null, Gdk.RGBA? warning_color = null, Gdk.RGBA? error_color = null, out bool was_symbolic = null) throws GLib.Error;
public Gdk.Pixbuf load_symbolic_for_context (Gtk.StyleContext context, out bool was_symbolic = null) throws GLib.Error;
+ [Deprecated (replacement = "load_symbolic_for_context", since = "3.0")]
public unowned Gdk.Pixbuf load_symbolic_for_style (Gtk.Style style, Gtk.StateType state, bool was_symbolic) throws GLib.Error;
public void set_raw_coordinates (bool raw_coordinates);
}
@@ -2210,6 +2239,7 @@ namespace Gtk {
[CCode (has_construct_function = false)]
public IconSet.from_pixbuf (Gdk.Pixbuf pixbuf);
public void get_sizes (Gtk.IconSize[] sizes);
+ [Deprecated (replacement = "set_render_icon_pixbuf", since = "3.0")]
public unowned Gdk.Pixbuf render_icon (Gtk.Style style, Gtk.TextDirection direction, Gtk.StateType state, Gtk.IconSize size, Gtk.Widget widget, string detail);
public unowned Gdk.Pixbuf render_icon_pixbuf (Gtk.StyleContext context, Gtk.IconSize size);
}
@@ -2744,12 +2774,14 @@ namespace Gtk {
public unowned string get_accel_path ();
public virtual unowned string get_label ();
public bool get_reserve_indicator ();
+ [Deprecated (replacement = "Widget.get_hexpand and Widget.get_halign", since = "3.2")]
public bool get_right_justified ();
public unowned Gtk.Widget get_submenu ();
public bool get_use_underline ();
public void set_accel_path (string accel_path);
public virtual void set_label (string label);
public void set_reserve_indicator (bool reserve);
+ [Deprecated (replacement = "Widget.set_hexpand and Widget.set_halign", since = "3.2")]
public void set_right_justified (bool right_justified);
public void set_submenu (Gtk.Widget submenu);
public void set_use_underline (bool setting);
@@ -2892,11 +2924,13 @@ namespace Gtk {
public bool get_show_border ();
public bool get_show_tabs ();
public bool get_tab_detachable (Gtk.Widget child);
+ [Deprecated (since = "3.4")]
public uint16 get_tab_hborder ();
public unowned Gtk.Widget get_tab_label (Gtk.Widget child);
public unowned string get_tab_label_text (Gtk.Widget child);
public Gtk.PositionType get_tab_pos ();
public bool get_tab_reorderable (Gtk.Widget child);
+ [Deprecated (since = "3.4")]
public uint16 get_tab_vborder ();
public int insert_page (Gtk.Widget child, Gtk.Widget? tab_label, int position);
[CCode (vfunc_name = "insert_page")]
@@ -3414,6 +3448,7 @@ namespace Gtk {
public static bool parse_requisition (GLib.ParamSpec pspec, GLib.StringBuilder gstring, GLib.Value property_value);
}
[CCode (cheader_filename = "gtk/gtk.h")]
+ [Deprecated (replacement = "CssProvider", since = "3.0")]
public class RcStyle : GLib.Object {
[CCode (array_length = false)]
public weak Gdk.Color[] @base;
@@ -3859,6 +3894,7 @@ namespace Gtk {
public int gtk_tooltip_browse_timeout { get; set; }
[NoAccessorMethod]
public int gtk_tooltip_timeout { get; set; }
+ [Deprecated (replacement = "Gdk.Event.get_source_device", since = "3.4")]
[NoAccessorMethod]
public bool gtk_touchscreen_mode { get; set; }
[NoAccessorMethod]
@@ -4043,6 +4079,7 @@ namespace Gtk {
public virtual signal void text_pushed (uint context_id, string text);
}
[CCode (cheader_filename = "gtk/gtk.h")]
+ [Deprecated (replacement = "StyleContext", since = "3.0")]
public class Style : GLib.Object {
public int attach_count;
[CCode (array_length = false)]
@@ -4277,6 +4314,7 @@ namespace Gtk {
public SymbolicColor.win32 (string theme_class, int id);
}
[CCode (cheader_filename = "gtk/gtk.h")]
+ [Deprecated (replacement = "Grid", since = "3.4")]
public class Table : Gtk.Container, Atk.Implementor, Gtk.Buildable {
[CCode (has_construct_function = false, type = "GtkWidget*")]
public Table (uint rows, uint columns, bool homogeneous);
@@ -4348,6 +4386,7 @@ namespace Gtk {
public void remove (Gdk.Atom target);
}
[CCode (cheader_filename = "gtk/gtk.h")]
+ [Deprecated (since = "3.4")]
public class TearoffMenuItem : Gtk.MenuItem, Atk.Implementor, Gtk.Buildable, Gtk.Activatable {
[CCode (has_construct_function = false, type = "GtkWidget*")]
public TearoffMenuItem ();
@@ -4535,6 +4574,7 @@ namespace Gtk {
public bool background_full_height { get; set; }
[NoAccessorMethod]
public bool background_full_height_set { get; set; }
+ [Deprecated (replacement = "background_rgba", since = "3.4")]
[NoAccessorMethod]
public Gdk.Color background_gdk { get; set; }
[NoAccessorMethod]
@@ -4557,6 +4597,7 @@ namespace Gtk {
public Pango.FontDescription font_desc { owned get; set; }
[NoAccessorMethod]
public string foreground { set; }
+ [Deprecated (replacement = "foreground_rgba", since = "3.4")]
[NoAccessorMethod]
public Gdk.Color foreground_gdk { get; set; }
[NoAccessorMethod]
@@ -4587,6 +4628,7 @@ namespace Gtk {
public string name { owned get; construct; }
[NoAccessorMethod]
public string paragraph_background { set; }
+ [Deprecated (replacement = "paragraph_background_rgba", since = "3.4")]
[NoAccessorMethod]
public Gdk.Color paragraph_background_gdk { get; set; }
[NoAccessorMethod]
@@ -4831,6 +4873,7 @@ namespace Gtk {
public virtual void render_option (Cairo.Context cr, double x, double y, double width, double height);
[NoWrapper]
public virtual void render_slider (Cairo.Context cr, double x, double y, double width, double height, Gtk.Orientation orientation);
+ [Deprecated (since = "3.6")]
public bool state_is_running (Gtk.StateType state, out double progress);
[NoAccessorMethod]
public string name { owned get; construct; }
@@ -5403,6 +5446,7 @@ namespace Gtk {
public unowned Gtk.AccelGroup get_accel_group ();
public virtual unowned Gtk.Action get_action (string path);
public unowned GLib.List<Gtk.ActionGroup> get_action_groups ();
+ [Deprecated (since = "3.4")]
public bool get_add_tearoffs ();
public GLib.SList<weak Gtk.Widget> get_toplevels (Gtk.UIManagerItemType types);
public unowned string get_ui ();
@@ -5411,7 +5455,9 @@ namespace Gtk {
public uint new_merge_id ();
public void remove_action_group (Gtk.ActionGroup action_group);
public void remove_ui (uint merge_id);
+ [Deprecated (since = "3.4")]
public void set_add_tearoffs (bool add_tearoffs);
+ [Deprecated (since = "3.4")]
public bool add_tearoffs { get; set; }
public string ui { get; }
public virtual signal void actions_changed ();
@@ -5422,6 +5468,7 @@ namespace Gtk {
public virtual signal void pre_activate (Gtk.Action action);
}
[CCode (cheader_filename = "gtk/gtk.h")]
+ [Deprecated (replacement = "Box", since = "3.2")]
public class VBox : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
[CCode (has_construct_function = false, type = "GtkWidget*")]
public VBox (bool homogeneous, int spacing);
@@ -5432,11 +5479,13 @@ namespace Gtk {
public VButtonBox ();
}
[CCode (cheader_filename = "gtk/gtk.h")]
+ [Deprecated (replacement = "Paned", since = "3.2")]
public class VPaned : Gtk.Paned, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
[CCode (has_construct_function = false, type = "GtkWidget*")]
public VPaned ();
}
[CCode (cheader_filename = "gtk/gtk.h")]
+ [Deprecated (replacement = "Scale", since = "3.2")]
public class VScale : Gtk.Scale, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
[CCode (has_construct_function = false, type = "GtkWidget*")]
public VScale (Gtk.Adjustment? adjustment);
@@ -5444,6 +5493,7 @@ namespace Gtk {
public VScale.with_range (double min, double max, double step);
}
[CCode (cheader_filename = "gtk/gtk.h")]
+ [Deprecated (replacement = "Scrollbar", since = "3.2")]
public class VScrollbar : Gtk.Scrollbar, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
[CCode (has_construct_function = false, type = "GtkWidget*")]
public VScrollbar (Gtk.Adjustment? adjustment);
@@ -5489,6 +5539,7 @@ namespace Gtk {
[NoWrapper]
public virtual void adjust_size_request (Gtk.Orientation orientation, ref int minimum_size, ref int natural_size);
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 virtual bool compute_expand (Gtk.Orientation orientation);
[CCode (vfunc_name = "compute_expand")]
@@ -5513,11 +5564,13 @@ namespace Gtk {
public bool get_app_paintable ();
public bool get_can_default ();
public bool get_can_focus ();
+ [Deprecated (replacement = "get_preferred_size", since = "3.0")]
public void get_child_requisition (out Gtk.Requisition requisition);
public bool get_child_visible ();
public unowned Gtk.Clipboard get_clipboard (Gdk.Atom selection);
public unowned 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 ();
public bool get_device_enabled (Gdk.Device device);
public Gdk.EventMask get_device_events (Gdk.Device device);
@@ -5536,12 +5589,14 @@ namespace Gtk {
public int get_margin_right ();
public int get_margin_top ();
public Gdk.ModifierType get_modifier_mask (Gdk.ModifierIntent intent);
+ [Deprecated (replacement = "StyleContext with a custom StyleProvider", since = "3.0")]
public unowned Gtk.RcStyle get_modifier_style ();
public bool get_no_show_all ();
public unowned Pango.Context get_pango_context ();
public unowned Gtk.Widget get_parent ();
public unowned Gdk.Window get_parent_window ();
public unowned Gtk.WidgetPath get_path ();
+ [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_for_width (int width, out int minimum_height, out int natural_height);
@@ -5569,8 +5624,10 @@ namespace Gtk {
public bool get_sensitive ();
public unowned Gtk.Settings get_settings ();
public void get_size_request (out int width, out int height);
+ [Deprecated (replacement = "get_state_flags", since = "3.0")]
public Gtk.StateType get_state ();
public Gtk.StateFlags get_state_flags ();
+ [Deprecated (replacement = "StyleContext", since = "3.0")]
public unowned Gtk.Style get_style ();
public unowned Gtk.StyleContext get_style_context ();
public bool get_support_multidevice ();
@@ -5585,6 +5642,7 @@ namespace Gtk {
public unowned Gdk.Visual get_visual ();
public unowned Gdk.Window get_window ();
public void grab_default ();
+ [Deprecated (replacement = "StyleContext", since = "3,0")]
public bool has_rc_style ();
public bool has_screen ();
public bool has_visible_focus ();
@@ -5604,18 +5662,26 @@ namespace Gtk {
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);
+ [Deprecated (replacement = "override_background_color", since = "3.0")]
public void modify_base (Gtk.StateType state, Gdk.Color? color);
+ [Deprecated (replacement = "override_background_color", since = "3.0")]
public void modify_bg (Gtk.StateType state, Gdk.Color? color);
+ [Deprecated (replacement = "override_cursor", since = "3.0")]
public void modify_cursor (Gdk.Color? primary, Gdk.Color? secondary);
+ [Deprecated (replacement = "override_color", since = "3.0")]
public void modify_fg (Gtk.StateType state, Gdk.Color? color);
+ [Deprecated (replacement = "override_font", since = "3.0")]
public void modify_font (Pango.FontDescription? font_desc);
+ [Deprecated (replacement = "StyleContext with a custom StyleProvider", since = "3.0")]
public void modify_style (Gtk.RcStyle style);
+ [Deprecated (replacement = "override_color", since = "3.0")]
public void modify_text (Gtk.StateType state, Gdk.Color? color);
public void override_background_color (Gtk.StateFlags state, Gdk.RGBA? color);
public void override_color (Gtk.StateFlags state, Gdk.RGBA? color);
public void override_cursor (Gdk.RGBA? cursor, Gdk.RGBA? secondary_cursor);
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 static void pop_composite_child ();
public static void push_composite_child ();
@@ -5631,6 +5697,7 @@ namespace Gtk {
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 void reparent (Gtk.Widget new_parent);
+ [Deprecated (replacement = "reset_style", since = "3.0")]
public void reset_rc_styles ();
public void reset_style ();
public int send_expose (Gdk.Event event);
@@ -5670,8 +5737,10 @@ namespace Gtk {
public void set_redraw_on_allocate (bool redraw_on_allocate);
public void set_sensitive (bool sensitive);
public void set_size_request (int width, int height);
+ [Deprecated (replacement = "set_state_flags", since = "3.0")]
public void set_state (Gtk.StateType state);
public void set_state_flags (Gtk.StateFlags flags, bool clear);
+ [Deprecated (replacement = "StyleContext", since = "3.0")]
public void set_style (Gtk.Style? style);
public void set_support_multidevice (bool support_multidevice);
public void set_tooltip_markup (string markup);
@@ -5686,6 +5755,7 @@ namespace Gtk {
public void shape_combine_region (Cairo.Region region);
public virtual void show_all ();
public void show_now ();
+ [Deprecated (replacement = "StyleContext", since = "3.0")]
public void style_attach ();
public void style_get (...);
public void style_get_property (string property_name, ref GLib.Value value);
@@ -8282,6 +8352,7 @@ namespace Gtk {
[CCode (cheader_filename = "gtk/gtk.h")]
public static void drag_unhighlight (Gtk.Widget widget);
[CCode (cheader_filename = "gtk/gtk.h")]
+ [Deprecated (replacement = "render_insertion_cursor", since = "3.4")]
public static void draw_insertion_cursor (Gtk.Widget widget, Cairo.Context cr, Gdk.Rectangle location, bool is_primary, Gtk.TextDirection direction, bool draw_arrow);
[CCode (cheader_filename = "gtk/gtk.h")]
public static bool events_pending ();
@@ -8336,8 +8407,10 @@ namespace Gtk {
[CCode (cheader_filename = "gtk/gtk.h")]
public static bool init_with_args ([CCode (array_length_pos = 0.9)] ref unowned string[] argv, string parameter_string, [CCode (array_length = false)] GLib.OptionEntry[] entries, string? translation_domain) throws GLib.Error;
[CCode (cheader_filename = "gtk/gtk.h")]
+ [Deprecated (since = "3.4")]
public static uint key_snooper_install (Gtk.KeySnoopFunc snooper, void* func_data);
[CCode (cheader_filename = "gtk/gtk.h")]
+ [Deprecated (since = "3.4")]
public static void key_snooper_remove (uint snooper_handler_id);
[CCode (cheader_filename = "gtk/gtk.h")]
public static void main ();
@@ -8352,44 +8425,64 @@ namespace Gtk {
[CCode (cheader_filename = "gtk/gtk.h")]
public static void main_quit ();
[CCode (cheader_filename = "gtk/gtk.h")]
+ [Deprecated (since = "3.0")]
public static void paint_arrow (Gtk.Style style, Cairo.Context cr, Gtk.StateType state_type, Gtk.ShadowType shadow_type, Gtk.Widget? widget, string? detail, Gtk.ArrowType arrow_type, bool fill, int x, int y, int width, int height);
[CCode (cheader_filename = "gtk/gtk.h")]
+ [Deprecated (replacement = "render_background", since = "3.0")]
public static void paint_box (Gtk.Style style, Cairo.Context cr, Gtk.StateType state_type, Gtk.ShadowType shadow_type, Gtk.Widget? widget, string? detail, int x, int y, int width, int height);
[CCode (cheader_filename = "gtk/gtk.h")]
+ [Deprecated (replacement = "render_frame_gap", since = "3.0")]
public static void paint_box_gap (Gtk.Style style, Cairo.Context cr, Gtk.StateType state_type, Gtk.ShadowType shadow_type, Gtk.Widget? widget, string? detail, int x, int y, int width, int height, Gtk.PositionType gap_side, int gap_x, int gap_width);
[CCode (cheader_filename = "gtk/gtk.h")]
+ [Deprecated (since = "3.0")]
public static void paint_check (Gtk.Style style, Cairo.Context cr, Gtk.StateType state_type, Gtk.ShadowType shadow_type, Gtk.Widget? widget, string? detail, int x, int y, int width, int height);
[CCode (cheader_filename = "gtk/gtk.h")]
+ [Deprecated (since = "3.0")]
public static void paint_diamond (Gtk.Style style, Cairo.Context cr, Gtk.StateType state_type, Gtk.ShadowType shadow_type, Gtk.Widget? widget, string? detail, int x, int y, int width, int height);
[CCode (cheader_filename = "gtk/gtk.h")]
+ [Deprecated (replacement = "render_expander", since = "3.0")]
public static void paint_expander (Gtk.Style style, Cairo.Context cr, Gtk.StateType state_type, Gtk.Widget? widget, string? detail, int x, int y, Gtk.ExpanderStyle expander_style);
[CCode (cheader_filename = "gtk/gtk.h")]
+ [Deprecated (replacement = "render_frame and render_background", since = "3.0")]
public static void paint_extension (Gtk.Style style, Cairo.Context cr, Gtk.StateType state_type, Gtk.ShadowType shadow_type, Gtk.Widget? widget, string? detail, int x, int y, int width, int height, Gtk.PositionType gap_side);
[CCode (cheader_filename = "gtk/gtk.h")]
+ [Deprecated (since = "3.0")]
public static void paint_flat_box (Gtk.Style style, Cairo.Context cr, Gtk.StateType state_type, Gtk.ShadowType shadow_type, Gtk.Widget? widget, string? detail, int x, int y, int width, int height);
[CCode (cheader_filename = "gtk/gtk.h")]
+ [Deprecated (since = "3.0")]
public static void paint_focus (Gtk.Style style, Cairo.Context cr, Gtk.StateType state_type, Gtk.Widget? widget, string? detail, int x, int y, int width, int height);
[CCode (cheader_filename = "gtk/gtk.h")]
+ [Deprecated (since = "3.0")]
public static void paint_handle (Gtk.Style style, Cairo.Context cr, Gtk.StateType state_type, Gtk.ShadowType shadow_type, Gtk.Widget? widget, string? detail, int x, int y, int width, int height, Gtk.Orientation orientation);
[CCode (cheader_filename = "gtk/gtk.h")]
+ [Deprecated (since = "3.0")]
public static void paint_hline (Gtk.Style style, Cairo.Context cr, Gtk.StateType state_type, Gtk.Widget? widget, string? detail, int x1, int x2, int y);
[CCode (cheader_filename = "gtk/gtk.h")]
+ [Deprecated (since = "3.0")]
public static void paint_layout (Gtk.Style style, Cairo.Context cr, Gtk.StateType state_type, bool use_text, Gtk.Widget? widget, string? detail, int x, int y, Pango.Layout layout);
[CCode (cheader_filename = "gtk/gtk.h")]
+ [Deprecated (since = "3.0")]
public static void paint_option (Gtk.Style style, Cairo.Context cr, Gtk.StateType state_type, Gtk.ShadowType shadow_type, Gtk.Widget? widget, string? detail, int x, int y, int width, int height);
[CCode (cheader_filename = "gtk/gtk.h")]
+ [Deprecated (replacement = "render_handle", since = "3.0")]
public static void paint_resize_grip (Gtk.Style style, Cairo.Context cr, Gtk.StateType state_type, Gtk.Widget? widget, string? detail, Gdk.WindowEdge edge, int x, int y, int width, int height);
[CCode (cheader_filename = "gtk/gtk.h")]
+ [Deprecated (since = "3.0")]
public static void paint_shadow (Gtk.Style style, Cairo.Context cr, Gtk.StateType state_type, Gtk.ShadowType shadow_type, Gtk.Widget? widget, string? detail, int x, int y, int width, int height);
[CCode (cheader_filename = "gtk/gtk.h")]
+ [Deprecated (replacement = "render_frame", since = "3.0")]
public static void paint_shadow_gap (Gtk.Style style, Cairo.Context cr, Gtk.StateType state_type, Gtk.ShadowType shadow_type, Gtk.Widget? widget, string? detail, int x, int y, int width, int height, Gtk.PositionType gap_side, int gap_x, int gap_width);
[CCode (cheader_filename = "gtk/gtk.h")]
+ [Deprecated (since = "3.0")]
public static void paint_slider (Gtk.Style style, Cairo.Context cr, Gtk.StateType state_type, Gtk.ShadowType shadow_type, Gtk.Widget? widget, string? detail, int x, int y, int width, int height, Gtk.Orientation orientation);
[CCode (cheader_filename = "gtk/gtk.h")]
+ [Deprecated (replacement = "render_activity", since = "3.0")]
public static void paint_spinner (Gtk.Style style, Cairo.Context cr, Gtk.StateType state_type, Gtk.Widget widget, string detail, uint step, int x, int y, int width, int height);
[CCode (cheader_filename = "gtk/gtk.h")]
+ [Deprecated (since = "3.0")]
public static void paint_tab (Gtk.Style style, Cairo.Context cr, Gtk.StateType state_type, Gtk.ShadowType shadow_type, Gtk.Widget? widget, string? detail, int x, int y, int width, int height);
[CCode (cheader_filename = "gtk/gtk.h")]
+ [Deprecated (since = "3.0")]
public static void paint_vline (Gtk.Style style, Cairo.Context cr, Gtk.StateType state_type, Gtk.Widget? widget, string? detail, int y1_, int y2_, int x);
[CCode (cheader_filename = "gtk/gtk.h")]
public static bool parse_args (int argc, string[] argv);
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 e370fb9..9dbb4e0 100644
--- a/vapi/packages/gtk+-3.0/gtk+-3.0-custom.vala
+++ b/vapi/packages/gtk+-3.0/gtk+-3.0-custom.vala
@@ -101,6 +101,7 @@ namespace Gtk {
UNSORTED
}
+ [Deprecated (since = "3.0", replacement = "StyleContext")]
[CCode (cheader_filename = "gtk/gtk.h")]
public class Style {
[NoWrapper]
diff --git a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
index b871951..f6063de 100644
--- a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
+++ b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
@@ -20,6 +20,7 @@ gtk_accel_label_set_accel_closure.accel_closure type_name="AccelGroupActivate" t
gtk_accel_map_lookup_entry.key is_out="1"
gtk_accelerator_parse.accelerator_key is_out="1"
gtk_accelerator_parse.accelerator_mods is_out="1"
+gtk_accessible_connect_widget_destroyed deprecated_since="3.4" replacement="Accessible.set_widget"
gtk_action_get_proxies type_arguments="Widget"
gtk_action_new.label nullable="1"
gtk_action_new.tooltip nullable="1"
@@ -54,13 +55,18 @@ GtkArg.d hidden="1"
GtkAssistant.apply hidden="1"
GtkAssistant.cancel hidden="1"
GtkAssistant.close hidden="1"
+gtk_assistant_get_page_header_image deprecated_since="3.2"
+gtk_assistant_get_page_side_image deprecated_since="3.2"
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"
+gtk_assistant_set_page_header_image deprecated_since="3.2"
+gtk_assistant_set_page_side_image deprecated_since="3.2"
GtkBindingArg is_value_type="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_add_path deprecated_since="3.0"
GtkBindingSet.class_branch_pspecs hidden="1"
GtkBindingSet.widget_class_pspecs hidden="1"
GtkBindingSet.widget_path_pspecs hidden="1"
@@ -96,10 +102,10 @@ gtk_button_get_alignment.xalign is_out="1"
gtk_button_get_alignment.yalign is_out="1"
gtk_button_set_label.label nullable="1"
GtkButton::clicked has_emitter="1"
-GtkButton::enter has_emitter="1"
-GtkButton::leave has_emitter="1"
-GtkButton::pressed has_emitter="1"
-GtkButton::released has_emitter="1"
+GtkButton::enter has_emitter="1" deprecated_since="2.8" replacement="Gtk.Widget.enter_notify_event"
+GtkButton::leave has_emitter="1" deprecated_since="2.8" replacement="Gtk.Widget.leave_notify_event"
+GtkButton::pressed has_emitter="1" deprecated_since="2.8" replacement="Gtk.Widget.button_press_event"
+GtkButton::released has_emitter="1" deprecated_since="2.8" replacement="Gtk.Widget.button_release_event"
gtk_calendar_get_date.year is_out="1"
gtk_calendar_get_date.month is_out="1"
gtk_calendar_get_date.day is_out="1"
@@ -135,6 +141,7 @@ 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"
gtk_cell_layout_set_cell_data_func.destroy hidden="1"
+GtkCellRenderer:cell-background-gdk deprecated_since="3.4" replacement="Gtk.CellRenderer.cell_background_rgba"
gtk_cell_renderer_get_aligned_area type_name="Gdk.Rectangle"
gtk_cell_renderer_get_aligned_area.aligned_area hidden="1"
gtk_cell_renderer_get_alignment.xalign is_out="1"
@@ -153,7 +160,7 @@ gtk_cell_renderer_get_preferred_width.minimum_size is_out="1"
gtk_cell_renderer_get_preferred_width.natural_size is_out="1"
gtk_cell_renderer_get_preferred_width_for_height.minimum_width is_out="1"
gtk_cell_renderer_get_preferred_width_for_height.natural_width is_out="1"
-gtk_cell_renderer_get_size abstract="1"
+gtk_cell_renderer_get_size abstract="1" deprecated_since="3.0" replacement="get_preferred_size"
gtk_cell_renderer_get_size.cell_area nullable="1"
gtk_cell_renderer_get_size.x_offset is_out="1"
gtk_cell_renderer_get_size.y_offset is_out="1"
@@ -162,7 +169,11 @@ gtk_cell_renderer_get_size.height is_out="1"
gtk_cell_renderer_render abstract="1"
GtkCellRenderer abstract="1"
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_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"
GtkCheckMenuItem::toggled has_emitter="1"
GtkCList::select_all has_emitter="1"
@@ -184,13 +195,17 @@ GtkClipboardTargetsReceivedFunc.n_atoms hidden="1"
GtkClipboardRichTextReceivedFunc.text type_name="uint8" is_array="1" array_length_type="gsize"
GtkClipboardRichTextReceivedFunc.length hidden="1"
GtkClipboardURIReceivedFunc.uris is_array="1" no_array_length"1" array_null_terminated="1"
+GtkColorButton:color deprecated_since="3.4" replacement="rgba"
gtk_color_button_get_color.color is_out="1"
gtk_color_button_get_rgba type_name="Gdk.RGBA"
gtk_color_button_get_rgba.rgba hidden="1"
gtk_color_chooser_get_rgba type_name="Gdk.RGBA"
gtk_color_chooser_get_rgba.color hidden="1"
+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_previous_color.color is_out="1"
+gtk_color_selection_set_current_color deprecated_since="3.4" replacement="set_current_rgba"
gtk_combo_box_get_active_iter.iter is_out="1"
gtk_combo_box_set_model.model nullable="1"
gtk_combo_box_set_row_separator_func.func transfer_ownership="1"
@@ -215,6 +230,7 @@ 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_draw_insertion_cursor deprecated_since="3.4" replacement="render_insertion_cursor"
GtkDialog::response has_emitter="1"
GtkDialog.vbox type_name="VBox"
GtkDialog.action_area type_name="HButtonBox"
@@ -225,6 +241,12 @@ 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"
gtk_editable_set_selection_bounds hidden="1"
+GtkEntry:inner-border deprecated_since="3.4"
+GtkEntry:progress-border deprecated_since="3.4"
+gtk_entry_get_inner_border deprecated_since="3.4"
+gtk_entry_set_inner_border deprecated_since="3.4"
+gtk_entry_get_progress_border deprecated_since="3.4"
+gtk_entry_set_progress_border deprecated_since="3.4"
gtk_entry_buffer_new.initial_chars type_name="uint8"
gtk_entry_buffer_emit_inserted_text.chars type_name="uint8"
gtk_entry_buffer_insert_text.chars type_name="uint8"
@@ -274,6 +296,7 @@ GtkFixed.children type_arguments="Widget"
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"
+GtkFontSelectionDialog deprecated_since="3.2" replacement="FontChooserDialog"
gtk_frame_new.label nullable="1"
GtkHandleBox.child_detached hidden="1"
GtkHandleBox::child_detached hidden="1"
@@ -282,7 +305,13 @@ GtkInfoBar::response has_emitter="1"
gtk_get_current_event transfer_ownership="1"
gtk_get_current_event_state.state is_out="1"
gtk_get_option_group transfer_ownership="1"
+GtkHandleBox deprecated_since="3.4"
+GtkHBox deprecated_since="3.2" replacement="Grid"
+GtkHPaned deprecated_since="3.2" replacement="Paned"
+GtkHScale deprecated_since="3.2" replacment="Scale"
+GtkHScrollbar deprecated_since="3.2" replacment="Scrollbar"
gtk_hscrollbar_new.adjustment nullable="1"
+GtkHSeparator deprecated_since="3.2" replacement="Separator"
gtk_hsv_to_rgb.r is_out="1"
gtk_hsv_to_rgb.g is_out="1"
gtk_hsv_to_rgb.b is_out="1"
@@ -296,6 +325,7 @@ gtk_icon_info_load_symbolic.error_color nullable="1" default_value="null"
gtk_icon_info_load_symbolic.was_symbolic is_out="1" default_value="null"
gtk_icon_info_load_symbolic_for_context transfer_ownership="1"
gtk_icon_info_load_symbolic_for_context.was_symbolic is_out="1" default_value="null"
+gtk_icon_info_load_symbolic_for_style deprecated_since="3.0" replacement="load_symbolic_for_context"
gtk_icon_view_get_cursor.path transfer_ownership="1"
gtk_icon_view_get_tooltip_context.iter is_out="1"
gtk_icon_view_get_tooltip_context.x is_out="1"
@@ -304,6 +334,7 @@ gtk_icon_view_get_selected_items transfer_ownership="1" type_arguments="TreePath
gtk_icon_view_get_cell_rect.cell nullable="1"
gtk_icon_view_get_cell_rect.rect is_out="1"
gtk_icon_set_copy transfer_ownership="1"
+gtk_icon_set_render_icon deprecated_since="3.0" replacement="set_render_icon_pixbuf"
gtk_icon_source_copy 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"
@@ -338,6 +369,10 @@ 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.cursor_index is_out="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"
+GtkInfoBar:content-area-border deprecated_since="3.6" replacement="Container.set_border_width"
+GtkInfoBar:content-area-spacing deprecated_since="3.6" replacement="Container.set_spacing"
gtk_init.argc hidden="1"
gtk_init.argv is_array="1" is_ref="1" array_length_pos="0.9"
gtk_init_add.data hidden="1"
@@ -352,6 +387,7 @@ gtk_init_with_args.translation_domain nullable="1"
GtkItem::deselect has_emitter="1"
GtkItem::select has_emitter="1"
GtkItem::toggle has_emitter="1"
+gtk_key_snooper_* deprecated_since="3.4"
GtkLabel.text hidden="1"
gtk_label_new.str nullable="1"
gtk_label_get_layout_offsets.x is_out="1"
@@ -401,6 +437,8 @@ gtk_menu_popup.parent_menu_shell nullable="1"
gtk_menu_popup.parent_menu_item nullable="1"
GtkMenuPositionFunc hidden="1"
gtk_menu_item_deselect hidden="1"
+gtk_menu_item_set_right_justified deprecated_since="3.2" replacement="Widget.set_hexpand and Widget.set_halign"
+gtk_menu_item_get_right_justified deprecated_since="3.2" replacement="Widget.get_hexpand and Widget.get_halign"
gtk_menu_item_select hidden="1"
GtkMenuItem::activate has_emitter="1"
GtkMenuItem::toggle_size_allocate has_emitter="1"
@@ -430,6 +468,8 @@ GtkNotebook.focus_tab hidden="1"
gtk_notebook_append_page.tab_label nullable="1" default_value="null"
gtk_notebook_append_page_menu.tab_label nullable="1"
gtk_notebook_append_page_menu.menu_label nullable="1"
+gtk_notebook_get_tab_hborder deprecated_since="3.4"
+gtk_notebook_get_tab_vborder deprecated_since="3.4"
gtk_notebook_prepend_page.tab_label nullable="1" default_value="null"
gtk_notebook_prepend_page_menu.tab_label nullable="1"
gtk_notebook_prepend_page_menu.menu_label nullable="1"
@@ -450,12 +490,15 @@ gtk_notebook_set_group.group nullable="1"
gtk_notebook_page_num hidden="1"
gtk_page_setup_copy transfer_ownership="1"
gtk_parse_args.argv is_array="1"
+gtk_paint_* deprecated_since="3.0"
gtk_paint_arrow.area nullable="1"
gtk_paint_arrow.widget nullable="1"
gtk_paint_arrow.detail nullable="1"
+gtk_paint_box deprecated_since="3.0" replacement="render_background"
gtk_paint_box.area nullable="1"
gtk_paint_box.widget nullable="1"
gtk_paint_box.detail nullable="1"
+gtk_paint_box_gap deprecated_since="3.0" replacement="render_frame_gap"
gtk_paint_box_gap.area nullable="1"
gtk_paint_box_gap.widget nullable="1"
gtk_paint_box_gap.detail nullable="1"
@@ -465,12 +508,15 @@ gtk_paint_check.detail nullable="1"
gtk_paint_diamond.area nullable="1"
gtk_paint_diamond.widget nullable="1"
gtk_paint_diamond.detail nullable="1"
+gtk_paint_expander deprecated_since="3.0" replacement="render_expander"
gtk_paint_expander.area nullable="1"
gtk_paint_expander.widget nullable="1"
gtk_paint_expander.detail nullable="1"
+gtk_paint_extension deprecated_since="3.0" replacement="render_extension"
gtk_paint_extension.area nullable="1"
gtk_paint_extension.widget nullable="1"
gtk_paint_extension.detail nullable="1"
+gtk_paint_extension deprecated_since="3.0" replacement="render_frame and render_background"
gtk_paint_flat_box.area nullable="1"
gtk_paint_flat_box.widget nullable="1"
gtk_paint_flat_box.detail nullable="1"
@@ -492,18 +538,21 @@ gtk_paint_option.detail nullable="1"
gtk_paint_polygon.area nullable="1"
gtk_paint_polygon.widget nullable="1"
gtk_paint_polygon.detail nullable="1"
+gtk_paint_resize_grip deprecated_since="3.0" replacement="render_handle"
gtk_paint_resize_grip.area nullable="1"
gtk_paint_resize_grip.widget nullable="1"
gtk_paint_resize_grip.detail nullable="1"
gtk_paint_shadow.area nullable="1"
gtk_paint_shadow.widget nullable="1"
gtk_paint_shadow.detail nullable="1"
+gtk_paint_shadow_gap deprecated_since="3.0" replacement="render_frame"
gtk_paint_shadow_gap.area nullable="1"
gtk_paint_shadow_gap.widget nullable="1"
gtk_paint_shadow_gap.detail nullable="1"
gtk_paint_slider.area nullable="1"
gtk_paint_slider.widget nullable="1"
gtk_paint_slider.detail nullable="1"
+gtk_paint_spinner deprecated_since="3.0" replacement="render_activity"
gtk_paint_tab.area nullable="1"
gtk_paint_tab.widget nullable="1"
gtk_paint_tab.detail nullable="1"
@@ -531,6 +580,7 @@ gtk_radio_action_get_group type_arguments="RadioAction"
gtk_radio_action_set_group.group type_arguments="RadioAction"
GtkRadioActionEntry is_value_type="1"
GtkRadioButton:group accessor_method="0"
+GtkRcStyle deprecated_since="3.0" replacement="CssProvider"
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"
@@ -606,6 +656,7 @@ 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"
+GtkSettings:gtk-touchscreen-mode deprecated_since="3.4" replacement="Gdk.Event.get_source_device"
gtk_show_about_dialog ellipsis="1"
gtk_show_about_dialog.parent nullable="1"
gtk_show_uri.screen nullable="1"
@@ -668,6 +719,7 @@ 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"
GtkStyleProviderPrivate hidden="1"
+GtkTable deprecated_since="3.4" replacement="Grid"
GtkTable:row-spacing accessor_method="0"
GtkTargetEntry is_value_type="1"
GtkTargetList.list type_arguments="TargetPair"
@@ -677,6 +729,7 @@ 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"
gtk_target_table_new_from_list.n_targets hidden="1"
+GtkTearoffMenuItem deprecated_since="3.4"
gtk_test_init ellipsis="1"
gtk_test_init.argcp hidden="1"
gtk_test_init.argvp is_array="1" is_ref="1" array_length_pos="0.9"
@@ -696,6 +749,9 @@ gtk_text_buffer_get_serialize_formats is_array="1" transfer_ownership="1"
gtk_text_buffer_get_serialize_formats.n_formats hidden="1"
gtk_text_buffer_set_text.len default_value="-1"
gtk_text_child_anchor_get_widgets transfer_ownership="1" type_arguments="unowned Widget"
+GtkTextTag:background-gdk deprecated_since="3.4" replacement="background_rgba"
+GtkTextTag:foreground-gdk deprecated_since="3.4" replacement="foreground_rgba"
+GtkTextTag:paragraph-background-gdk deprecated_since="3.4" replacement="paragraph_background_rgba"
gtk_text_tag_new.name nullable="1" default_value="null"
gtk_text_tag_table_foreach.data hidden="1"
GtkTextBuffer::apply_tag has_emitter="1"
@@ -778,6 +834,7 @@ gtk_theming_engine_get_padding.padding hidden="1"
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_property type_name="GLib.Value"
gtk_theming_engine_get_style_property.value hidden="1"
gtk_theming_engine_lookup_color.color is_out="1"
@@ -793,6 +850,8 @@ GtkToggleActionEntry.callback type_name="ActionCallback" ctype="GCallback" no_de
GtkToggleButton::toggled has_emitter="1"
GtkToolbar.GtkTooltips hidden="1"
GtkToolbar.gpointer hidden="1"
+GtkToolbar:internal-padding deprecated_since="3.6"
+GtkToolbar:shadow-type deprecated_since="3.6"
gtk_tool_button_new.icon_widget nullable="1"
gtk_tool_button_new.label nullable="1"
gtk_tool_item_toolbar_reconfigured hidden="1"
@@ -969,13 +1028,20 @@ 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:add-tearoffs deprecated_since="3.4"
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_new_merge_id hidden="1"
+gtk_ui_manager_set_add_tearoffs deprecated_since="3.4"
+GtkVBox deprecated_since="3.2" replacement="Box"
gtk_viewport_new.hadjustment nullable="1"
gtk_viewport_new.vadjustment nullable="1"
+GtkVPaned deprecated_since="3.2" replacement="Paned"
+GtkVScale deprecated_since="3.2" replacement="Scale"
gtk_vscale_new.adjustment nullable="1"
+GtkVScrollbar deprecated_since="3.2" replacement="Scrollbar"
gtk_vscrollbar_new.adjustment nullable="1"
gtk_widget_adjust_size_allocation.minimum_size is_ref="1"
gtk_widget_adjust_size_allocation.natural_size is_ref="1"
@@ -985,6 +1051,9 @@ gtk_widget_adjust_size_request.minimum_size is_ref="1"
gtk_widget_adjust_size_request.natural_size is_ref="1"
GtkWidget::can_activate_accel has_emitter="1"
GtkWidget:can-focus accessor_method="0"
+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"
@@ -994,26 +1063,42 @@ 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"
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_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"
gtk_widget_get_requisition.requisition hidden="1"
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_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_has_rc_style deprecated_since="3,0" replacement="StyleContext"
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 deprecated_since="3.0" replacement="override_background_color"
gtk_widget_modify_base.color nullable="1"
+gtk_widget_modify_bg deprecated_since="3.0" replacement="override_background_color"
gtk_widget_modify_bg.color nullable="1"
+gtk_widget_modify_cursor deprecated_since="3.0" replacement="override_cursor"
gtk_widget_modify_cursor.primary nullable="1"
gtk_widget_modify_cursor.secondary nullable="1"
+gtk_widget_modify_fg deprecated_since="3.0" replacement="override_color"
gtk_widget_modify_fg.color nullable="1"
+gtk_widget_modify_font deprecated_since="3.0" replacement="override_font"
gtk_widget_modify_font.font_desc nullable="1"
+gtk_widget_modify_style deprecated_since="3.0" replacement="StyleContext with a custom StyleProvider"
+gtk_widget_modify_text deprecated_since="3.0" replacement="override_color"
gtk_widget_modify_text.color nullable="1"
gtk_widget_override_background_color.color nullable="1"
gtk_widget_override_color.color nullable="1"
@@ -1021,17 +1106,24 @@ gtk_widget_override_cursor.cursor nullable="1"
gtk_widget_override_cursor.secondary_cursor nullable="1"
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_iter_has_region.flags is_out="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_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"
+gtk_widget_set_state deprecated_since="3.0" replacement="set_state_flags"
+gtk_widget_set_style deprecated_since="3.0" replacement="StyleContext"
gtk_widget_set_style.style nullable="1"
gtk_widget_shape_combine_mask.shape_mask 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_translate_coordinates.dest_x is_out="1"
gtk_widget_translate_coordinates.dest_y is_out="1"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]