[vala] gtk+-3.0: Update to 3.21.5
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] gtk+-3.0: Update to 3.21.5
- Date: Tue, 30 Aug 2016 16:30:38 +0000 (UTC)
commit 274dbc6e52088cbebb604d1ecd4ae0bc988291cd
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Tue Aug 30 18:30:08 2016 +0200
gtk+-3.0: Update to 3.21.5
vapi/gtk+-3.0.vapi | 25 +++++++++++++++
vapi/packages/gtk+-3.0/gtk+-3.0.gi | 49 ++++++++++++++++++++++++++++-
vapi/packages/gtk+-3.0/gtk+-3.0.metadata | 2 +
3 files changed, 74 insertions(+), 2 deletions(-)
---
diff --git a/vapi/gtk+-3.0.vapi b/vapi/gtk+-3.0.vapi
index 2da41f4..6b720ac 100644
--- a/vapi/gtk+-3.0.vapi
+++ b/vapi/gtk+-3.0.vapi
@@ -3692,6 +3692,17 @@ namespace Gtk {
public void set_overlay_pass_through (Gtk.Widget widget, bool pass_through);
public virtual signal bool get_child_position (Gtk.Widget widget, out Gdk.Rectangle
allocation);
}
+ [CCode (cheader_filename = "gtk/gtk.h")]
+ public class PadController : Gtk.EventController {
+ [CCode (has_construct_function = false)]
+ public PadController (Gtk.Window window, GLib.ActionGroup group, Gdk.Device pad);
+ public void set_action (Gtk.PadActionType type, int index, int mode, string label, string
action_name);
+ public void set_action_entries (Gtk.PadActionEntry[] entries);
+ [NoAccessorMethod]
+ public GLib.ActionGroup action_group { owned get; construct; }
+ [NoAccessorMethod]
+ public Gdk.Device pad { owned get; construct; }
+ }
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_page_setup_get_type ()")]
public class PageSetup : GLib.Object {
[CCode (has_construct_function = false)]
@@ -7694,6 +7705,14 @@ namespace Gtk {
public weak string default_locales;
}
[CCode (cheader_filename = "gtk/gtk.h")]
+ public struct PadActionEntry {
+ public Gtk.PadActionType type;
+ public int index;
+ public int mode;
+ public weak string label;
+ public weak string action_name;
+ }
+ [CCode (cheader_filename = "gtk/gtk.h")]
public struct PageRange {
public int start;
public int end;
@@ -8332,6 +8351,12 @@ namespace Gtk {
START,
END
}
+ [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_PAD_ACTION_")]
+ public enum PadActionType {
+ BUTTON,
+ RING,
+ STRIP
+ }
[CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_PAGE_ORIENTATION_")]
public enum PageOrientation {
PORTRAIT,
diff --git a/vapi/packages/gtk+-3.0/gtk+-3.0.gi b/vapi/packages/gtk+-3.0/gtk+-3.0.gi
index 82350b0..5ed403f 100644
--- a/vapi/packages/gtk+-3.0/gtk+-3.0.gi
+++ b/vapi/packages/gtk+-3.0/gtk+-3.0.gi
@@ -2264,6 +2264,15 @@
</struct>
<struct name="GtkLabelSelectionInfo">
</struct>
+ <struct name="GtkPadActionEntry">
+ <field name="type" type="GtkPadActionType"/>
+ <field name="index" type="gint"/>
+ <field name="mode" type="gint"/>
+ <field name="label" type="gchar*"/>
+ <field name="action_name" type="gchar*"/>
+ </struct>
+ <struct name="GtkPadControllerClass">
+ </struct>
<struct name="GtkPageRange">
<field name="start" type="gint"/>
<field name="end" type="gint"/>
@@ -4970,6 +4979,11 @@
<member name="GTK_PACK_START" value="0"/>
<member name="GTK_PACK_END" value="1"/>
</enum>
+ <enum name="GtkPadActionType" type-name="GtkPadActionType"
get-type="gtk_pad_action_type_get_type">
+ <member name="GTK_PAD_ACTION_BUTTON" value="0"/>
+ <member name="GTK_PAD_ACTION_RING" value="1"/>
+ <member name="GTK_PAD_ACTION_STRIP" value="2"/>
+ </enum>
<enum name="GtkPageOrientation" type-name="GtkPageOrientation"
get-type="gtk_page_orientation_get_type">
<member name="GTK_PAGE_ORIENTATION_PORTRAIT" value="0"/>
<member name="GTK_PAGE_ORIENTATION_LANDSCAPE" value="1"/>
@@ -19532,6 +19546,37 @@
</parameters>
</signal>
</object>
+ <object name="GtkPadController" parent="GtkEventController" type-name="GtkPadController"
get-type="gtk_pad_controller_get_type">
+ <constructor name="new" symbol="gtk_pad_controller_new">
+ <return-type type="GtkPadController*"/>
+ <parameters>
+ <parameter name="window" type="GtkWindow*"/>
+ <parameter name="group" type="GActionGroup*"/>
+ <parameter name="pad" type="GdkDevice*"/>
+ </parameters>
+ </constructor>
+ <method name="set_action" symbol="gtk_pad_controller_set_action">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="controller" type="GtkPadController*"/>
+ <parameter name="type" type="GtkPadActionType"/>
+ <parameter name="index" type="gint"/>
+ <parameter name="mode" type="gint"/>
+ <parameter name="label" type="gchar*"/>
+ <parameter name="action_name" type="gchar*"/>
+ </parameters>
+ </method>
+ <method name="set_action_entries" symbol="gtk_pad_controller_set_action_entries">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="controller" type="GtkPadController*"/>
+ <parameter name="entries" type="GtkPadActionEntry*"/>
+ <parameter name="n_entries" type="gint"/>
+ </parameters>
+ </method>
+ <property name="action-group" type="GActionGroup*" readable="1" writable="1"
construct="0" construct-only="1"/>
+ <property name="pad" type="GdkDevice*" readable="1" writable="1" construct="0"
construct-only="1"/>
+ </object>
<object name="GtkPageSetup" parent="GObject" type-name="GtkPageSetup"
get-type="gtk_page_setup_get_type">
<method name="copy" symbol="gtk_page_setup_copy">
<return-type type="GtkPageSetup*"/>
@@ -36417,7 +36462,7 @@
</parameters>
</vfunc>
</interface>
- <constant name="GTK_BINARY_AGE" type="int" value="2104"/>
+ <constant name="GTK_BINARY_AGE" type="int" value="2105"/>
<constant name="GTK_INPUT_ERROR" type="int" value="-1"/>
<constant name="GTK_INTERFACE_AGE" type="int" value="0"/>
<constant name="GTK_LEVEL_BAR_OFFSET_FULL" type="char*" value="full"/>
@@ -36425,7 +36470,7 @@
<constant name="GTK_LEVEL_BAR_OFFSET_LOW" type="char*" value="low"/>
<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="4"/>
+ <constant name="GTK_MICRO_VERSION" type="int" value="5"/>
<constant name="GTK_MINOR_VERSION" type="int" value="21"/>
<constant name="GTK_PAPER_NAME_A3" type="char*" value="iso_a3"/>
<constant name="GTK_PAPER_NAME_A4" type="char*" value="iso_a4"/>
diff --git a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
index 0a6daa9..99cbfcf 100644
--- a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
+++ b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
@@ -903,6 +903,8 @@ gtk_numerable_icon_set_label.label nullable="1"
gtk_offscreen_window_get_pixbuf transfer_ownership="1" nullable="1"
gtk_offscreen_window_get_surface nullable="1"
GtkOverlay::get_child_position.allocation is_out="1"
+GtkPadActionEntry is_value_type="1"
+GtkPadControllerClass hidden="1"
gtk_page_setup_copy transfer_ownership="1"
gtk_page_setup_new_from_key_file.group_name nullable="1"
gtk_page_setup_load_key_file.group_name nullable="1"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]