[vala] gtk+-3.0: update to 3.5.5
- From: Evan Nemerson <evann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] gtk+-3.0: update to 3.5.5
- Date: Fri, 8 Jun 2012 02:11:06 +0000 (UTC)
commit c23ea88f55e50679926d7a1bb080365c8a8dec84
Author: Evan Nemerson <evan coeus-group com>
Date: Thu Jun 7 19:09:58 2012 -0700
gtk+-3.0: update to 3.5.5
Fixes bug 674090.
vapi/gtk+-3.0.vapi | 67 ++++++++--
vapi/packages/gtk+-3.0/gtk+-3.0.gi | 217 +++++++++++++++++++++++++-----
vapi/packages/gtk+-3.0/gtk+-3.0.metadata | 2 +
3 files changed, 241 insertions(+), 45 deletions(-)
---
diff --git a/vapi/gtk+-3.0.vapi b/vapi/gtk+-3.0.vapi
index e554b6f..5b42555 100644
--- a/vapi/gtk+-3.0.vapi
+++ b/vapi/gtk+-3.0.vapi
@@ -571,9 +571,9 @@ 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 bool end_session (Gtk.ApplicationEndSessionStyle style, bool request_confirmation);
public unowned GLib.MenuModel get_app_menu ();
public unowned GLib.MenuModel get_menubar ();
+ public unowned Gtk.Window get_window_by_id (uint id);
public unowned GLib.List<weak Gtk.Window> get_windows ();
public uint inhibit (Gtk.Window window, Gtk.ApplicationInhibitFlags flags, string reason);
public bool is_inhibited (Gtk.ApplicationInhibitFlags flags);
@@ -586,7 +586,6 @@ namespace Gtk {
public GLib.MenuModel menubar { get; set; }
[NoAccessorMethod]
public bool register_session { get; set; }
- public virtual signal void quit ();
public virtual signal void window_added (Gtk.Window window);
public virtual signal void window_removed (Gtk.Window window);
}
@@ -594,6 +593,7 @@ namespace Gtk {
public class ApplicationWindow : Gtk.Window, Atk.Implementor, Gtk.Buildable, GLib.ActionGroup, GLib.ActionMap {
[CCode (has_construct_function = false, type = "GtkWidget*")]
public ApplicationWindow (Gtk.Application application);
+ public uint get_id ();
public bool get_show_menubar ();
public void set_show_menubar (bool show_menubar);
public bool show_menubar { get; set construct; }
@@ -749,6 +749,7 @@ namespace Gtk {
[CCode (has_construct_function = false, type = "GtkWidget*")]
public Button.from_stock (string stock_id);
public void get_alignment (out float xalign, out float yalign);
+ public bool get_always_show_image ();
public unowned Gdk.Window get_event_window ();
public bool get_focus_on_click ();
public unowned Gtk.Widget get_image ();
@@ -758,6 +759,7 @@ namespace Gtk {
public bool get_use_stock ();
public bool get_use_underline ();
public void set_alignment (float xalign, float yalign);
+ public void set_always_show_image (bool always_show);
public void set_focus_on_click (bool focus_on_click);
public void set_image (Gtk.Widget image);
public void set_image_position (Gtk.PositionType position);
@@ -769,6 +771,7 @@ namespace Gtk {
public Button.with_label (string label);
[CCode (has_construct_function = false, type = "GtkWidget*")]
public Button.with_mnemonic (string label);
+ public bool always_show_image { get; set construct; }
public bool focus_on_click { get; set; }
public Gtk.Widget image { get; set; }
public Gtk.PositionType image_position { get; set; }
@@ -1149,6 +1152,8 @@ namespace Gtk {
[NoAccessorMethod]
public int max_width_chars { get; set; }
[NoAccessorMethod]
+ public string placeholder_text { owned get; set; }
+ [NoAccessorMethod]
public int rise { get; set; }
[NoAccessorMethod]
public bool rise_set { get; set; }
@@ -1326,17 +1331,15 @@ namespace Gtk {
public virtual signal void owner_change (Gdk.Event p0);
}
[CCode (cheader_filename = "gtk/gtk.h")]
- public class ColorButton : Gtk.Button, Atk.Implementor, Gtk.Buildable, Gtk.Actionable, Gtk.Activatable {
+ public class ColorButton : Gtk.Button, Atk.Implementor, Gtk.Buildable, Gtk.Actionable, Gtk.Activatable, Gtk.ColorChooser {
[CCode (has_construct_function = false, type = "GtkWidget*")]
public ColorButton ();
public uint16 get_alpha ();
public void get_color (out Gdk.Color color);
- public Gdk.RGBA get_rgba ();
public unowned string get_title ();
public bool get_use_alpha ();
public void set_alpha (uint16 alpha);
public void set_color (Gdk.Color color);
- public void set_rgba (Gdk.RGBA rgba);
public void set_title (string title);
public void set_use_alpha (bool use_alpha);
[CCode (has_construct_function = false, type = "GtkWidget*")]
@@ -1351,6 +1354,20 @@ namespace Gtk {
public virtual signal void color_set ();
}
[CCode (cheader_filename = "gtk/gtk.h")]
+ public class ColorChooserDialog : Gtk.Dialog, Atk.Implementor, Gtk.Buildable, Gtk.ColorChooser {
+ [CCode (has_construct_function = false, type = "GtkWidget*")]
+ public ColorChooserDialog (string title, Gtk.Window parent);
+ [NoAccessorMethod]
+ public bool show_editor { get; set; }
+ }
+ [CCode (cheader_filename = "gtk/gtk.h")]
+ public class ColorChooserWidget : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.Orientable, Gtk.ColorChooser {
+ [CCode (has_construct_function = false, type = "GtkWidget*")]
+ public ColorChooserWidget ();
+ [NoAccessorMethod]
+ public bool show_editor { get; set; }
+ }
+ [CCode (cheader_filename = "gtk/gtk.h")]
public class ColorSelection : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
[CCode (has_construct_function = false, type = "GtkWidget*")]
public ColorSelection ();
@@ -3569,8 +3586,10 @@ namespace Gtk {
[CCode (has_construct_function = false, type = "GtkWidget*")]
public ScrolledWindow (Gtk.Adjustment? hadjustment, Gtk.Adjustment? vadjustment);
public void add_with_viewport (Gtk.Widget child);
+ public bool get_capture_button_press ();
public unowned Gtk.Adjustment get_hadjustment ();
public unowned Gtk.Widget get_hscrollbar ();
+ public bool get_kinetic_scrolling ();
public int get_min_content_height ();
public int get_min_content_width ();
public Gtk.CornerType get_placement ();
@@ -3578,7 +3597,9 @@ namespace Gtk {
public Gtk.ShadowType get_shadow_type ();
public unowned Gtk.Adjustment get_vadjustment ();
public unowned Gtk.Widget get_vscrollbar ();
+ public void set_capture_button_press (bool capture_button_press);
public void set_hadjustment (Gtk.Adjustment hadjustment);
+ public void set_kinetic_scrolling (bool kinetic_scrolling);
public void set_min_content_height (int height);
public void set_min_content_width (int width);
public void set_placement (Gtk.CornerType window_placement);
@@ -3589,6 +3610,7 @@ namespace Gtk {
public Gtk.Adjustment hadjustment { get; set construct; }
[NoAccessorMethod]
public Gtk.PolicyType hscrollbar_policy { get; set; }
+ public bool kinetic_scrolling { get; set; }
public int min_content_height { get; set; }
public int min_content_width { get; set; }
public Gtk.ShadowType shadow_type { get; set; }
@@ -3704,6 +3726,8 @@ namespace Gtk {
[NoAccessorMethod]
public bool gtk_enable_mnemonics { get; set; }
[NoAccessorMethod]
+ public bool gtk_enable_primary_paste { get; set; }
+ [NoAccessorMethod]
public bool gtk_enable_tooltips { get; set; }
[NoAccessorMethod]
public uint gtk_entry_password_hint_timeout { get; set; }
@@ -5743,6 +5767,7 @@ namespace Gtk {
public virtual signal void state_flags_changed (Gtk.StateFlags previous_state_flags);
public virtual signal void style_set (Gtk.Style? previous_style);
public virtual signal void style_updated ();
+ public virtual signal bool touch_event (Gdk.Event event);
[HasEmitter]
public virtual signal void unmap ();
public virtual signal bool unmap_event (Gdk.EventAny event);
@@ -6042,6 +6067,17 @@ namespace Gtk {
public abstract void set_cell_data_func (Gtk.CellRenderer cell, owned Gtk.CellLayoutDataFunc func);
}
[CCode (cheader_filename = "gtk/gtk.h")]
+ public interface ColorChooser : GLib.Object {
+ public abstract void add_palette (Gtk.Orientation orientation, int colors_per_line, int n_colors, Gdk.RGBA colors);
+ public abstract Gdk.RGBA get_rgba ();
+ public bool get_use_alpha ();
+ public abstract void set_rgba (Gdk.RGBA color);
+ public void set_use_alpha (bool use_alpha);
+ public Gdk.RGBA rgba { get; set; }
+ public bool use_alpha { get; set; }
+ public signal void color_activated (Gdk.RGBA color);
+ }
+ [CCode (cheader_filename = "gtk/gtk.h")]
public interface Editable {
public void copy_clipboard ();
public void cut_clipboard ();
@@ -6553,12 +6589,6 @@ namespace Gtk {
END,
CENTER
}
- [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_APPLICATION_")]
- public enum ApplicationEndSessionStyle {
- LOGOUT,
- REBOOT,
- SHUTDOWN
- }
[CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_APPLICATION_INHIBIT_")]
[Flags]
public enum ApplicationInhibitFlags {
@@ -6700,7 +6730,8 @@ namespace Gtk {
ICONTHEME,
PRINTING,
BUILDER,
- SIZE_REQUEST
+ SIZE_REQUEST,
+ NO_CSS_CACHE
}
[CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_DELETE_")]
public enum DeleteType {
@@ -7360,7 +7391,7 @@ namespace Gtk {
}
[CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_UNIT_")]
public enum Unit {
- PIXEL,
+ NONE,
POINTS,
INCH,
MM
@@ -7563,8 +7594,12 @@ namespace Gtk {
[CCode (cheader_filename = "gtk/gtk.h")]
public const string PRINT_SETTINGS_ORIENTATION;
[CCode (cheader_filename = "gtk/gtk.h")]
+ public const string PRINT_SETTINGS_OUTPUT_BASENAME;
+ [CCode (cheader_filename = "gtk/gtk.h")]
public const string PRINT_SETTINGS_OUTPUT_BIN;
[CCode (cheader_filename = "gtk/gtk.h")]
+ public const string PRINT_SETTINGS_OUTPUT_DIR;
+ [CCode (cheader_filename = "gtk/gtk.h")]
public const string PRINT_SETTINGS_OUTPUT_FILE_FORMAT;
[CCode (cheader_filename = "gtk/gtk.h")]
public const string PRINT_SETTINGS_OUTPUT_URI;
@@ -7940,6 +7975,8 @@ namespace Gtk {
[CCode (cheader_filename = "gtk/gtk.h")]
public const string STYLE_CLASS_DEFAULT;
[CCode (cheader_filename = "gtk/gtk.h")]
+ public const string STYLE_CLASS_DIM_LABEL;
+ [CCode (cheader_filename = "gtk/gtk.h")]
public const string STYLE_CLASS_DND;
[CCode (cheader_filename = "gtk/gtk.h")]
public const string STYLE_CLASS_DOCK;
@@ -7980,6 +8017,8 @@ namespace Gtk {
[CCode (cheader_filename = "gtk/gtk.h")]
public const string STYLE_CLASS_NOTEBOOK;
[CCode (cheader_filename = "gtk/gtk.h")]
+ public const string STYLE_CLASS_OSD;
+ [CCode (cheader_filename = "gtk/gtk.h")]
public const string STYLE_CLASS_PANE_SEPARATOR;
[CCode (cheader_filename = "gtk/gtk.h")]
public const string STYLE_CLASS_PRIMARY_TOOLBAR;
@@ -8006,6 +8045,8 @@ namespace Gtk {
[CCode (cheader_filename = "gtk/gtk.h")]
public const string STYLE_CLASS_SCROLLBAR;
[CCode (cheader_filename = "gtk/gtk.h")]
+ public const string STYLE_CLASS_SCROLLBARS_JUNCTION;
+ [CCode (cheader_filename = "gtk/gtk.h")]
public const string STYLE_CLASS_SEPARATOR;
[CCode (cheader_filename = "gtk/gtk.h")]
public const string STYLE_CLASS_SIDEBAR;
diff --git a/vapi/packages/gtk+-3.0/gtk+-3.0.gi b/vapi/packages/gtk+-3.0/gtk+-3.0.gi
index 612b7ab..74d870c 100644
--- a/vapi/packages/gtk+-3.0/gtk+-3.0.gi
+++ b/vapi/packages/gtk+-3.0/gtk+-3.0.gi
@@ -4529,11 +4529,6 @@
<member name="GTK_ALIGN_END" value="2"/>
<member name="GTK_ALIGN_CENTER" value="3"/>
</enum>
- <enum name="GtkApplicationEndSessionStyle" type-name="GtkApplicationEndSessionStyle" get-type="gtk_application_end_session_style_get_type">
- <member name="GTK_APPLICATION_LOGOUT" value="0"/>
- <member name="GTK_APPLICATION_REBOOT" value="1"/>
- <member name="GTK_APPLICATION_SHUTDOWN" value="2"/>
- </enum>
<enum name="GtkArrowPlacement" type-name="GtkArrowPlacement" get-type="gtk_arrow_placement_get_type">
<member name="GTK_ARROWS_BOTH" value="0"/>
<member name="GTK_ARROWS_START" value="1"/>
@@ -5085,7 +5080,7 @@
<member name="GTK_TREE_VIEW_GRID_LINES_BOTH" value="3"/>
</enum>
<enum name="GtkUnit" type-name="GtkUnit" get-type="gtk_unit_get_type">
- <member name="GTK_UNIT_PIXEL" value="0"/>
+ <member name="GTK_UNIT_NONE" value="0"/>
<member name="GTK_UNIT_POINTS" value="1"/>
<member name="GTK_UNIT_INCH" value="2"/>
<member name="GTK_UNIT_MM" value="3"/>
@@ -5157,6 +5152,7 @@
<member name="GTK_DEBUG_PRINTING" value="1024"/>
<member name="GTK_DEBUG_BUILDER" value="2048"/>
<member name="GTK_DEBUG_SIZE_REQUEST" value="4096"/>
+ <member name="GTK_DEBUG_NO_CSS_CACHE" value="8192"/>
</flags>
<flags name="GtkDestDefaults" type-name="GtkDestDefaults" get-type="gtk_dest_defaults_get_type">
<member name="GTK_DEST_DEFAULT_MOTION" value="1"/>
@@ -6793,24 +6789,23 @@
<parameter name="window" type="GtkWindow*"/>
</parameters>
</method>
- <method name="end_session" symbol="gtk_application_end_session">
- <return-type type="gboolean"/>
+ <method name="get_app_menu" symbol="gtk_application_get_app_menu">
+ <return-type type="GMenuModel*"/>
<parameters>
<parameter name="application" type="GtkApplication*"/>
- <parameter name="style" type="GtkApplicationEndSessionStyle"/>
- <parameter name="request_confirmation" type="gboolean"/>
</parameters>
</method>
- <method name="get_app_menu" symbol="gtk_application_get_app_menu">
+ <method name="get_menubar" symbol="gtk_application_get_menubar">
<return-type type="GMenuModel*"/>
<parameters>
<parameter name="application" type="GtkApplication*"/>
</parameters>
</method>
- <method name="get_menubar" symbol="gtk_application_get_menubar">
- <return-type type="GMenuModel*"/>
+ <method name="get_window_by_id" symbol="gtk_application_get_window_by_id">
+ <return-type type="GtkWindow*"/>
<parameters>
<parameter name="application" type="GtkApplication*"/>
+ <parameter name="id" type="guint"/>
</parameters>
</method>
<method name="get_windows" symbol="gtk_application_get_windows">
@@ -6881,12 +6876,6 @@
<property name="app-menu" type="GMenuModel*" readable="1" writable="1" construct="0" construct-only="0"/>
<property name="menubar" type="GMenuModel*" readable="1" writable="1" construct="0" construct-only="0"/>
<property name="register-session" type="gboolean" readable="1" writable="1" construct="0" construct-only="0"/>
- <signal name="quit" when="FIRST">
- <return-type type="void"/>
- <parameters>
- <parameter name="application" type="GtkApplication*"/>
- </parameters>
- </signal>
<signal name="window-added" when="FIRST">
<return-type type="void"/>
<parameters>
@@ -6909,6 +6898,12 @@
<interface name="GActionGroup"/>
<interface name="GActionMap"/>
</implements>
+ <method name="get_id" symbol="gtk_application_window_get_id">
+ <return-type type="guint"/>
+ <parameters>
+ <parameter name="window" type="GtkApplicationWindow*"/>
+ </parameters>
+ </method>
<method name="get_show_menubar" symbol="gtk_application_window_get_show_menubar">
<return-type type="gboolean"/>
<parameters>
@@ -7462,6 +7457,12 @@
<parameter name="yalign" type="gfloat*"/>
</parameters>
</method>
+ <method name="get_always_show_image" symbol="gtk_button_get_always_show_image">
+ <return-type type="gboolean"/>
+ <parameters>
+ <parameter name="button" type="GtkButton*"/>
+ </parameters>
+ </method>
<method name="get_event_window" symbol="gtk_button_get_event_window">
<return-type type="GdkWindow*"/>
<parameters>
@@ -7557,6 +7558,13 @@
<parameter name="yalign" type="gfloat"/>
</parameters>
</method>
+ <method name="set_always_show_image" symbol="gtk_button_set_always_show_image">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="button" type="GtkButton*"/>
+ <parameter name="always_show" type="gboolean"/>
+ </parameters>
+ </method>
<method name="set_focus_on_click" symbol="gtk_button_set_focus_on_click">
<return-type type="void"/>
<parameters>
@@ -7606,6 +7614,7 @@
<parameter name="use_underline" type="gboolean"/>
</parameters>
</method>
+ <property name="always-show-image" type="gboolean" readable="1" writable="1" construct="1" construct-only="0"/>
<property name="focus-on-click" type="gboolean" readable="1" writable="1" construct="0" construct-only="0"/>
<property name="image" type="GtkWidget*" readable="1" writable="1" construct="0" construct-only="0"/>
<property name="image-position" type="GtkPositionType" readable="1" writable="1" construct="0" construct-only="0"/>
@@ -9086,6 +9095,7 @@
<property name="language-set" type="gboolean" readable="1" writable="1" construct="0" construct-only="0"/>
<property name="markup" type="char*" readable="0" writable="1" construct="0" construct-only="0"/>
<property name="max-width-chars" type="gint" readable="1" writable="1" construct="0" construct-only="0"/>
+ <property name="placeholder-text" type="char*" readable="1" writable="1" construct="0" construct-only="0"/>
<property name="rise" type="gint" readable="1" writable="1" construct="0" construct-only="0"/>
<property name="rise-set" type="gboolean" readable="1" writable="1" construct="0" construct-only="0"/>
<property name="scale" type="gdouble" readable="1" writable="1" construct="0" construct-only="0"/>
@@ -9628,37 +9638,38 @@
<interface name="GtkBuildable"/>
<interface name="GtkActionable"/>
<interface name="GtkActivatable"/>
+ <interface name="GtkColorChooser"/>
</implements>
<method name="get_alpha" symbol="gtk_color_button_get_alpha">
<return-type type="guint16"/>
<parameters>
- <parameter name="color_button" type="GtkColorButton*"/>
+ <parameter name="button" type="GtkColorButton*"/>
</parameters>
</method>
<method name="get_color" symbol="gtk_color_button_get_color">
<return-type type="void"/>
<parameters>
- <parameter name="color_button" type="GtkColorButton*"/>
+ <parameter name="button" type="GtkColorButton*"/>
<parameter name="color" type="GdkColor*"/>
</parameters>
</method>
<method name="get_rgba" symbol="gtk_color_button_get_rgba">
<return-type type="void"/>
<parameters>
- <parameter name="color_button" type="GtkColorButton*"/>
+ <parameter name="button" type="GtkColorButton*"/>
<parameter name="rgba" type="GdkRGBA*"/>
</parameters>
</method>
<method name="get_title" symbol="gtk_color_button_get_title">
<return-type type="gchar*"/>
<parameters>
- <parameter name="color_button" type="GtkColorButton*"/>
+ <parameter name="button" type="GtkColorButton*"/>
</parameters>
</method>
<method name="get_use_alpha" symbol="gtk_color_button_get_use_alpha">
<return-type type="gboolean"/>
<parameters>
- <parameter name="color_button" type="GtkColorButton*"/>
+ <parameter name="button" type="GtkColorButton*"/>
</parameters>
</method>
<constructor name="new" symbol="gtk_color_button_new">
@@ -9679,35 +9690,35 @@
<method name="set_alpha" symbol="gtk_color_button_set_alpha">
<return-type type="void"/>
<parameters>
- <parameter name="color_button" type="GtkColorButton*"/>
+ <parameter name="button" type="GtkColorButton*"/>
<parameter name="alpha" type="guint16"/>
</parameters>
</method>
<method name="set_color" symbol="gtk_color_button_set_color">
<return-type type="void"/>
<parameters>
- <parameter name="color_button" type="GtkColorButton*"/>
+ <parameter name="button" type="GtkColorButton*"/>
<parameter name="color" type="GdkColor*"/>
</parameters>
</method>
<method name="set_rgba" symbol="gtk_color_button_set_rgba">
<return-type type="void"/>
<parameters>
- <parameter name="color_button" type="GtkColorButton*"/>
+ <parameter name="button" type="GtkColorButton*"/>
<parameter name="rgba" type="GdkRGBA*"/>
</parameters>
</method>
<method name="set_title" symbol="gtk_color_button_set_title">
<return-type type="void"/>
<parameters>
- <parameter name="color_button" type="GtkColorButton*"/>
+ <parameter name="button" type="GtkColorButton*"/>
<parameter name="title" type="gchar*"/>
</parameters>
</method>
<method name="set_use_alpha" symbol="gtk_color_button_set_use_alpha">
<return-type type="void"/>
<parameters>
- <parameter name="color_button" type="GtkColorButton*"/>
+ <parameter name="button" type="GtkColorButton*"/>
<parameter name="use_alpha" type="gboolean"/>
</parameters>
</method>
@@ -9723,6 +9734,33 @@
</parameters>
</signal>
</object>
+ <object name="GtkColorChooserDialog" parent="GtkDialog" type-name="GtkColorChooserDialog" get-type="gtk_color_chooser_dialog_get_type">
+ <implements>
+ <interface name="AtkImplementor"/>
+ <interface name="GtkBuildable"/>
+ <interface name="GtkColorChooser"/>
+ </implements>
+ <constructor name="new" symbol="gtk_color_chooser_dialog_new">
+ <return-type type="GtkWidget*"/>
+ <parameters>
+ <parameter name="title" type="gchar*"/>
+ <parameter name="parent" type="GtkWindow*"/>
+ </parameters>
+ </constructor>
+ <property name="show-editor" type="gboolean" readable="1" writable="1" construct="0" construct-only="0"/>
+ </object>
+ <object name="GtkColorChooserWidget" parent="GtkBox" type-name="GtkColorChooserWidget" get-type="gtk_color_chooser_widget_get_type">
+ <implements>
+ <interface name="AtkImplementor"/>
+ <interface name="GtkBuildable"/>
+ <interface name="GtkOrientable"/>
+ <interface name="GtkColorChooser"/>
+ </implements>
+ <constructor name="new" symbol="gtk_color_chooser_widget_new">
+ <return-type type="GtkWidget*"/>
+ </constructor>
+ <property name="show-editor" type="gboolean" readable="1" writable="1" construct="0" construct-only="0"/>
+ </object>
<object name="GtkColorSelection" parent="GtkBox" type-name="GtkColorSelection" get-type="gtk_color_selection_get_type">
<implements>
<interface name="AtkImplementor"/>
@@ -18676,6 +18714,12 @@
<parameter name="child" type="GtkWidget*"/>
</parameters>
</method>
+ <method name="get_capture_button_press" symbol="gtk_scrolled_window_get_capture_button_press">
+ <return-type type="gboolean"/>
+ <parameters>
+ <parameter name="scrolled_window" type="GtkScrolledWindow*"/>
+ </parameters>
+ </method>
<method name="get_hadjustment" symbol="gtk_scrolled_window_get_hadjustment">
<return-type type="GtkAdjustment*"/>
<parameters>
@@ -18688,6 +18732,12 @@
<parameter name="scrolled_window" type="GtkScrolledWindow*"/>
</parameters>
</method>
+ <method name="get_kinetic_scrolling" symbol="gtk_scrolled_window_get_kinetic_scrolling">
+ <return-type type="gboolean"/>
+ <parameters>
+ <parameter name="scrolled_window" type="GtkScrolledWindow*"/>
+ </parameters>
+ </method>
<method name="get_min_content_height" symbol="gtk_scrolled_window_get_min_content_height">
<return-type type="gint"/>
<parameters>
@@ -18739,6 +18789,13 @@
<parameter name="vadjustment" type="GtkAdjustment*"/>
</parameters>
</constructor>
+ <method name="set_capture_button_press" symbol="gtk_scrolled_window_set_capture_button_press">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="scrolled_window" type="GtkScrolledWindow*"/>
+ <parameter name="capture_button_press" type="gboolean"/>
+ </parameters>
+ </method>
<method name="set_hadjustment" symbol="gtk_scrolled_window_set_hadjustment">
<return-type type="void"/>
<parameters>
@@ -18746,6 +18803,13 @@
<parameter name="hadjustment" type="GtkAdjustment*"/>
</parameters>
</method>
+ <method name="set_kinetic_scrolling" symbol="gtk_scrolled_window_set_kinetic_scrolling">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="scrolled_window" type="GtkScrolledWindow*"/>
+ <parameter name="kinetic_scrolling" type="gboolean"/>
+ </parameters>
+ </method>
<method name="set_min_content_height" symbol="gtk_scrolled_window_set_min_content_height">
<return-type type="void"/>
<parameters>
@@ -18797,6 +18861,7 @@
</method>
<property name="hadjustment" type="GtkAdjustment*" readable="1" writable="1" construct="1" construct-only="0"/>
<property name="hscrollbar-policy" type="GtkPolicyType" readable="1" writable="1" construct="0" construct-only="0"/>
+ <property name="kinetic-scrolling" type="gboolean" readable="1" writable="1" construct="0" construct-only="0"/>
<property name="min-content-height" type="gint" readable="1" writable="1" construct="0" construct-only="0"/>
<property name="min-content-width" type="gint" readable="1" writable="1" construct="0" construct-only="0"/>
<property name="shadow-type" type="GtkShadowType" readable="1" writable="1" construct="0" construct-only="0"/>
@@ -18951,6 +19016,7 @@
<property name="gtk-enable-event-sounds" type="gboolean" readable="1" writable="1" construct="0" construct-only="0"/>
<property name="gtk-enable-input-feedback-sounds" type="gboolean" readable="1" writable="1" construct="0" construct-only="0"/>
<property name="gtk-enable-mnemonics" type="gboolean" readable="1" writable="1" construct="0" construct-only="0"/>
+ <property name="gtk-enable-primary-paste" type="gboolean" readable="1" writable="1" construct="0" construct-only="0"/>
<property name="gtk-enable-tooltips" type="gboolean" readable="1" writable="1" construct="0" construct-only="0"/>
<property name="gtk-entry-password-hint-timeout" type="guint" readable="1" writable="1" construct="0" construct-only="0"/>
<property name="gtk-entry-select-on-focus" type="gboolean" readable="1" writable="1" construct="0" construct-only="0"/>
@@ -27688,6 +27754,13 @@
<parameter name="widget" type="GtkWidget*"/>
</parameters>
</signal>
+ <signal name="touch-event" when="LAST">
+ <return-type type="gboolean"/>
+ <parameters>
+ <parameter name="widget" type="GtkWidget*"/>
+ <parameter name="event" type="GdkEvent*"/>
+ </parameters>
+ </signal>
<signal name="unmap" when="FIRST">
<return-type type="void"/>
<parameters>
@@ -29187,6 +29260,81 @@
</parameters>
</vfunc>
</interface>
+ <interface name="GtkColorChooser" type-name="GtkColorChooser" get-type="gtk_color_chooser_get_type">
+ <requires>
+ <interface name="GObject"/>
+ </requires>
+ <method name="add_palette" symbol="gtk_color_chooser_add_palette">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="chooser" type="GtkColorChooser*"/>
+ <parameter name="orientation" type="GtkOrientation"/>
+ <parameter name="colors_per_line" type="gint"/>
+ <parameter name="n_colors" type="gint"/>
+ <parameter name="colors" type="GdkRGBA*"/>
+ </parameters>
+ </method>
+ <method name="get_rgba" symbol="gtk_color_chooser_get_rgba">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="chooser" type="GtkColorChooser*"/>
+ <parameter name="color" type="GdkRGBA*"/>
+ </parameters>
+ </method>
+ <method name="get_use_alpha" symbol="gtk_color_chooser_get_use_alpha">
+ <return-type type="gboolean"/>
+ <parameters>
+ <parameter name="chooser" type="GtkColorChooser*"/>
+ </parameters>
+ </method>
+ <method name="set_rgba" symbol="gtk_color_chooser_set_rgba">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="chooser" type="GtkColorChooser*"/>
+ <parameter name="color" type="GdkRGBA*"/>
+ </parameters>
+ </method>
+ <method name="set_use_alpha" symbol="gtk_color_chooser_set_use_alpha">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="chooser" type="GtkColorChooser*"/>
+ <parameter name="use_alpha" type="gboolean"/>
+ </parameters>
+ </method>
+ <property name="rgba" type="GdkRGBA*" readable="1" writable="1" construct="0" construct-only="0"/>
+ <property name="use-alpha" type="gboolean" readable="1" writable="1" construct="0" construct-only="0"/>
+ <signal name="color-activated" when="FIRST">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="chooser" type="GtkColorChooser*"/>
+ <parameter name="color" type="GdkRGBA*"/>
+ </parameters>
+ </signal>
+ <vfunc name="add_palette">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="chooser" type="GtkColorChooser*"/>
+ <parameter name="orientation" type="GtkOrientation"/>
+ <parameter name="colors_per_line" type="gint"/>
+ <parameter name="n_colors" type="gint"/>
+ <parameter name="colors" type="GdkRGBA*"/>
+ </parameters>
+ </vfunc>
+ <vfunc name="get_rgba">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="chooser" type="GtkColorChooser*"/>
+ <parameter name="color" type="GdkRGBA*"/>
+ </parameters>
+ </vfunc>
+ <vfunc name="set_rgba">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="chooser" type="GtkColorChooser*"/>
+ <parameter name="color" type="GdkRGBA*"/>
+ </parameters>
+ </vfunc>
+ </interface>
<interface name="GtkEditable" type-name="GtkEditable" get-type="gtk_editable_get_type">
<method name="copy_clipboard" symbol="gtk_editable_copy_clipboard">
<return-type type="void"/>
@@ -31064,13 +31212,13 @@
</parameters>
</vfunc>
</interface>
- <constant name="GTK_BINARY_AGE" type="int" value="315"/>
+ <constant name="GTK_BINARY_AGE" type="int" value="505"/>
<constant name="GTK_INPUT_ERROR" type="int" value="-1"/>
<constant name="GTK_INTERFACE_AGE" type="int" value="0"/>
<constant name="GTK_MAJOR_VERSION" type="int" value="3"/>
<constant name="GTK_MAX_COMPOSE_LEN" type="int" value="7"/>
- <constant name="GTK_MICRO_VERSION" type="int" value="15"/>
- <constant name="GTK_MINOR_VERSION" type="int" value="3"/>
+ <constant name="GTK_MICRO_VERSION" type="int" value="5"/>
+ <constant name="GTK_MINOR_VERSION" type="int" value="5"/>
<constant name="GTK_PAPER_NAME_A3" type="char*" value="iso_a3"/>
<constant name="GTK_PAPER_NAME_A4" type="char*" value="iso_a4"/>
<constant name="GTK_PAPER_NAME_A5" type="char*" value="iso_a5"/>
@@ -31089,7 +31237,9 @@
<constant name="GTK_PRINT_SETTINGS_NUMBER_UP_LAYOUT" type="char*" value="number-up-layout"/>
<constant name="GTK_PRINT_SETTINGS_N_COPIES" type="char*" value="n-copies"/>
<constant name="GTK_PRINT_SETTINGS_ORIENTATION" type="char*" value="orientation"/>
+ <constant name="GTK_PRINT_SETTINGS_OUTPUT_BASENAME" type="char*" value="output-basename"/>
<constant name="GTK_PRINT_SETTINGS_OUTPUT_BIN" type="char*" value="output-bin"/>
+ <constant name="GTK_PRINT_SETTINGS_OUTPUT_DIR" type="char*" value="output-dir"/>
<constant name="GTK_PRINT_SETTINGS_OUTPUT_FILE_FORMAT" type="char*" value="output-file-format"/>
<constant name="GTK_PRINT_SETTINGS_OUTPUT_URI" type="char*" value="output-uri"/>
<constant name="GTK_PRINT_SETTINGS_PAGE_RANGES" type="char*" value="page-ranges"/>
@@ -31225,6 +31375,7 @@
<constant name="GTK_STYLE_CLASS_CHECK" type="char*" value="check"/>
<constant name="GTK_STYLE_CLASS_COMBOBOX_ENTRY" type="char*" value="combobox-entry"/>
<constant name="GTK_STYLE_CLASS_DEFAULT" type="char*" value="default"/>
+ <constant name="GTK_STYLE_CLASS_DIM_LABEL" type="char*" value="dim-label"/>
<constant name="GTK_STYLE_CLASS_DND" type="char*" value="dnd"/>
<constant name="GTK_STYLE_CLASS_DOCK" type="char*" value="dock"/>
<constant name="GTK_STYLE_CLASS_ENTRY" type="char*" value="entry"/>
@@ -31245,6 +31396,7 @@
<constant name="GTK_STYLE_CLASS_MENUBAR" type="char*" value="menubar"/>
<constant name="GTK_STYLE_CLASS_MENUITEM" type="char*" value="menuitem"/>
<constant name="GTK_STYLE_CLASS_NOTEBOOK" type="char*" value="notebook"/>
+ <constant name="GTK_STYLE_CLASS_OSD" type="char*" value="osd"/>
<constant name="GTK_STYLE_CLASS_PANE_SEPARATOR" type="char*" value="pane-separator"/>
<constant name="GTK_STYLE_CLASS_PRIMARY_TOOLBAR" type="char*" value="primary-toolbar"/>
<constant name="GTK_STYLE_CLASS_PROGRESSBAR" type="char*" value="progressbar"/>
@@ -31258,6 +31410,7 @@
<constant name="GTK_STYLE_CLASS_SCALE_HAS_MARKS_ABOVE" type="char*" value="scale-has-marks-above"/>
<constant name="GTK_STYLE_CLASS_SCALE_HAS_MARKS_BELOW" type="char*" value="scale-has-marks-below"/>
<constant name="GTK_STYLE_CLASS_SCROLLBAR" type="char*" value="scrollbar"/>
+ <constant name="GTK_STYLE_CLASS_SCROLLBARS_JUNCTION" type="char*" value="scrollbars-junction"/>
<constant name="GTK_STYLE_CLASS_SEPARATOR" type="char*" value="separator"/>
<constant name="GTK_STYLE_CLASS_SIDEBAR" type="char*" value="sidebar"/>
<constant name="GTK_STYLE_CLASS_SLIDER" type="char*" value="slider"/>
diff --git a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
index 24b4684..cddff3a 100644
--- a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
+++ b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
@@ -186,6 +186,8 @@ GtkClipboardURIReceivedFunc.uris is_array="1" no_array_length"1" array_null_term
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"
gtk_color_selection_get_current_color.color is_out="1"
gtk_color_selection_get_previous_color.color is_out="1"
gtk_combo_box_get_active_iter.iter is_out="1"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]