[vala] gdl-1.0: update to 2.30.0



commit 49ce7b20a9f2cc7719ce9519ab0d2d41c462e679
Author: Nicolas Joseph <nicolas joseph valaide org>
Date:   Sat May 15 19:50:10 2010 -0700

    gdl-1.0: update to 2.30.0
    
    Fixes bug 615397.

 vapi/gdl-1.0.vapi                         |   28 ++++++++++++++++++++++------
 vapi/packages/gdl-1.0/gdl-1.0-custom.vala |   21 +++++++++++++++++++++
 vapi/packages/gdl-1.0/gdl-1.0.gi          |   24 ++++++++++++++++++------
 3 files changed, 61 insertions(+), 12 deletions(-)
---
diff --git a/vapi/gdl-1.0.vapi b/vapi/gdl-1.0.vapi
index 3b30d7e..767d689 100644
--- a/vapi/gdl-1.0.vapi
+++ b/vapi/gdl-1.0.vapi
@@ -3,7 +3,7 @@
 [CCode (cprefix = "Gdl", lower_case_cprefix = "gdl_")]
 namespace Gdl {
 	[CCode (cheader_filename = "gdl/gdl.h")]
-	public class Dock : Gdl.DockObject, Gtk.Buildable, Atk.Implementor {
+	public class Dock : Gdl.DockObject, Atk.Implementor, Gtk.Buildable {
 		public weak Gdl.DockObject root;
 		[CCode (type = "GtkWidget*", has_construct_function = false)]
 		public Dock ();
@@ -31,7 +31,7 @@ namespace Gdl {
 		public virtual signal void layout_changed ();
 	}
 	[CCode (cheader_filename = "gdl/gdl.h")]
-	public class DockBar : Gtk.Box, Gtk.Buildable, Atk.Implementor, Gtk.Orientable {
+	public class DockBar : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
 		public weak Gdl.Dock dock;
 		[CCode (type = "GtkWidget*", has_construct_function = false)]
 		public DockBar (Gdl.Dock dock);
@@ -45,7 +45,7 @@ namespace Gdl {
 		public Gdl.DockMaster master { owned get; set; }
 	}
 	[CCode (cheader_filename = "gdl/gdl.h")]
-	public class DockItem : Gdl.DockObject, Gtk.Buildable, Atk.Implementor {
+	public class DockItem : Gdl.DockObject, Atk.Implementor, Gtk.Buildable {
 		public weak Gtk.Widget child;
 		public int dragoff_x;
 		public int dragoff_y;
@@ -59,6 +59,7 @@ namespace Gdl {
 		public void hide_item ();
 		public void iconify_item ();
 		public void @lock ();
+		public void notify_selected ();
 		public void preferred_size (Gtk.Requisition req);
 		public void set_default_position (Gdl.DockObject reference);
 		public virtual void set_orientation (Gtk.Orientation orientation);
@@ -84,9 +85,10 @@ namespace Gdl {
 		public virtual signal void dock_drag_begin ();
 		public virtual signal void dock_drag_end (bool cancelled);
 		public virtual signal void dock_drag_motion (int x, int y);
+		public virtual signal void selected ();
 	}
 	[CCode (cheader_filename = "gdl/gdl.h")]
-	public class DockItemGrip : Gtk.Container, Gtk.Buildable, Atk.Implementor {
+	public class DockItemGrip : Gtk.Container, Atk.Implementor, Gtk.Buildable {
 		public weak Gdk.Window title_window;
 		[CCode (type = "GtkWidget*", has_construct_function = false)]
 		public DockItemGrip (Gdl.DockItem item);
@@ -138,7 +140,7 @@ namespace Gdl {
 		public virtual signal void layout_changed ();
 	}
 	[CCode (cheader_filename = "gdl/gdl.h")]
-	public class DockObject : Gtk.Container, Gtk.Buildable, Atk.Implementor {
+	public class DockObject : Gtk.Container, Atk.Implementor, Gtk.Buildable {
 		public Gdl.DockObjectFlags flags;
 		public int freeze_count;
 		public bool reduce_pending;
@@ -150,8 +152,22 @@ namespace Gdl {
 		public void freeze ();
 		public unowned Gdl.DockObject get_parent_object ();
 		public unowned Gdl.Dock get_toplevel ();
+		[CCode (cname = "GDL_DOCK_OBJECT_ATTACHED")]
+		public bool is_attached ();
+		[CCode (cname = "GDL_DOCK_OBJECT_AUTOMATIC")]
+		public bool is_automatic ();
 		public bool is_bound ();
 		public bool is_compound ();
+		[CCode (cname = "GDL_DOCK_OBJECT_FROZEN")]
+		public bool is_frozen ();
+		[CCode (cname = "GDL_DOCK_OBJECT_IN_DETACH")]
+		public bool is_in_detach ();
+		[CCode (cname = "GDL_DOCK_OBJECT_IN_REFLOW")]
+		public bool is_in_reflow ();
+		[CCode (cname = "GDL_DOCK_OBJECT_SET_FLAGS")]
+		public bool is_set_flags (Gdl.DockObjectFlags flags);
+		[CCode (cname = "GDL_DOCK_OBJECT_UNSET_FLAGS")]
+		public bool is_unset_flags (Gdl.DockObjectFlags flags);
 		public static unowned string nick_from_type (GLib.Type type);
 		public virtual void present (Gdl.DockObject child);
 		public virtual void reduce ();
@@ -172,7 +188,7 @@ namespace Gdl {
 		public virtual signal void docked (Gdl.DockObject requestor, Gdl.DockPlacement position, GLib.Value other_data);
 	}
 	[CCode (cheader_filename = "gdl/gdl.h")]
-	public class DockPlaceholder : Gdl.DockObject, Gtk.Buildable, Atk.Implementor {
+	public class DockPlaceholder : Gdl.DockObject, Atk.Implementor, Gtk.Buildable {
 		[CCode (type = "GtkWidget*", has_construct_function = false)]
 		public DockPlaceholder (string name, Gdl.DockObject object, Gdl.DockPlacement position, bool sticky);
 		public void attach (Gdl.DockObject object);
diff --git a/vapi/packages/gdl-1.0/gdl-1.0-custom.vala b/vapi/packages/gdl-1.0/gdl-1.0-custom.vala
new file mode 100644
index 0000000..fc15645
--- /dev/null
+++ b/vapi/packages/gdl-1.0/gdl-1.0-custom.vala
@@ -0,0 +1,21 @@
+namespace Gdl
+{
+  public class DockObject
+  {
+    [CCode (cname = "GDL_DOCK_OBJECT_AUTOMATIC")]
+    public bool is_automatic ();
+    [CCode (cname = "GDL_DOCK_OBJECT_ATTACHED")]
+    public bool is_attached ();
+    [CCode (cname = "GDL_DOCK_OBJECT_IN_REFLOW")]
+    public bool is_in_reflow ();
+    [CCode (cname = "GDL_DOCK_OBJECT_IN_DETACH")]
+    public bool is_in_detach ();
+    [CCode (cname = "GDL_DOCK_OBJECT_SET_FLAGS")]
+    public bool is_set_flags (DockObjectFlags flags);
+    [CCode (cname = "GDL_DOCK_OBJECT_UNSET_FLAGS")]
+    public bool is_unset_flags (DockObjectFlags flags);
+    [CCode (cname = "GDL_DOCK_OBJECT_FROZEN")]
+    public bool is_frozen ();
+  }
+}
+
diff --git a/vapi/packages/gdl-1.0/gdl-1.0.gi b/vapi/packages/gdl-1.0/gdl-1.0.gi
index b92f169..57ead03 100644
--- a/vapi/packages/gdl-1.0/gdl-1.0.gi
+++ b/vapi/packages/gdl-1.0/gdl-1.0.gi
@@ -69,8 +69,8 @@
 		</flags>
 		<object name="GdlDock" parent="GdlDockObject" type-name="GdlDock" get-type="gdl_dock_get_type">
 			<implements>
-				<interface name="GtkBuildable"/>
 				<interface name="AtkImplementor"/>
+				<interface name="GtkBuildable"/>
 			</implements>
 			<method name="add_floating_item" symbol="gdl_dock_add_floating_item">
 				<return-type type="void"/>
@@ -147,8 +147,8 @@
 		</object>
 		<object name="GdlDockBar" parent="GtkBox" type-name="GdlDockBar" get-type="gdl_dock_bar_get_type">
 			<implements>
-				<interface name="GtkBuildable"/>
 				<interface name="AtkImplementor"/>
+				<interface name="GtkBuildable"/>
 				<interface name="GtkOrientable"/>
 			</implements>
 			<method name="get_orientation" symbol="gdl_dock_bar_get_orientation">
@@ -189,8 +189,8 @@
 		</object>
 		<object name="GdlDockItem" parent="GdlDockObject" type-name="GdlDockItem" get-type="gdl_dock_item_get_type">
 			<implements>
-				<interface name="GtkBuildable"/>
 				<interface name="AtkImplementor"/>
+				<interface name="GtkBuildable"/>
 			</implements>
 			<method name="bind" symbol="gdl_dock_item_bind">
 				<return-type type="void"/>
@@ -261,6 +261,12 @@
 					<parameter name="behavior" type="GdlDockItemBehavior"/>
 				</parameters>
 			</constructor>
+			<method name="notify_selected" symbol="gdl_dock_item_notify_selected">
+				<return-type type="void"/>
+				<parameters>
+					<parameter name="item" type="GdlDockItem*"/>
+				</parameters>
+			</method>
 			<method name="preferred_size" symbol="gdl_dock_item_preferred_size">
 				<return-type type="void"/>
 				<parameters>
@@ -340,6 +346,12 @@
 					<parameter name="y" type="gint"/>
 				</parameters>
 			</signal>
+			<signal name="selected" when="FIRST">
+				<return-type type="void"/>
+				<parameters>
+					<parameter name="object" type="GdlDockItem*"/>
+				</parameters>
+			</signal>
 			<vfunc name="set_orientation">
 				<return-type type="void"/>
 				<parameters>
@@ -356,8 +368,8 @@
 		</object>
 		<object name="GdlDockItemGrip" parent="GtkContainer" type-name="GdlDockItemGrip" get-type="gdl_dock_item_grip_get_type">
 			<implements>
-				<interface name="GtkBuildable"/>
 				<interface name="AtkImplementor"/>
+				<interface name="GtkBuildable"/>
 			</implements>
 			<method name="hide_handle" symbol="gdl_dock_item_grip_hide_handle">
 				<return-type type="void"/>
@@ -547,8 +559,8 @@
 		</object>
 		<object name="GdlDockObject" parent="GtkContainer" type-name="GdlDockObject" get-type="gdl_dock_object_get_type">
 			<implements>
-				<interface name="GtkBuildable"/>
 				<interface name="AtkImplementor"/>
+				<interface name="GtkBuildable"/>
 			</implements>
 			<method name="bind" symbol="gdl_dock_object_bind">
 				<return-type type="void"/>
@@ -742,8 +754,8 @@
 		</object>
 		<object name="GdlDockPlaceholder" parent="GdlDockObject" type-name="GdlDockPlaceholder" get-type="gdl_dock_placeholder_get_type">
 			<implements>
-				<interface name="GtkBuildable"/>
 				<interface name="AtkImplementor"/>
+				<interface name="GtkBuildable"/>
 			</implements>
 			<method name="attach" symbol="gdl_dock_placeholder_attach">
 				<return-type type="void"/>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]