[gdlmm] Add missing parameter to DockItem::dock_drag_signal



commit 9462fe48162fa0ccf346c4574cbe13ae8c546ae0
Author: Fabien Parent <f-parent ti com>
Date:   Mon Feb 18 14:39:37 2013 +0100

    Add missing parameter to DockItem::dock_drag_signal

 codegen/m4/convert_gdl.m4 |    1 +
 gdl/src/dockitem.hg       |    2 +-
 gdl/src/gdl_extra.defs    |   56 +++++++++++++++++++++++++++++++++++++++++++-
 3 files changed, 56 insertions(+), 3 deletions(-)
---
diff --git a/codegen/m4/convert_gdl.m4 b/codegen/m4/convert_gdl.m4
index 9190afd..31978bd 100644
--- a/codegen/m4/convert_gdl.m4
+++ b/codegen/m4/convert_gdl.m4
@@ -8,6 +8,7 @@ _CONVERSION(`Gtk::Requisition&', `GtkRequisition*', &$3)
 _CONVERSION(`const DockObject&', `GdlDockObject*', $3.gobj())
 _CONVERSION(`GdlDockObject*', `DockObject&', `*Glib::wrap($3)')
 _CONVERSION(`GObject*', `Glib::RefPtr<DockMaster>', Glib::wrap(GDL_DOCK_MASTER($3), true))
+_CONVERSION(`GdkDevice*', `const Glib::RefPtr<Gdk::Device>&', Glib::wrap($3))
 
 _CONVERSION(`GList*',`Glib::ListHandle<Glib::ustring>',__FL2H_SHALLOW)
 _CONVERSION(`GList*',`Glib::ListHandle<DockItem*>',__FL2H_SHALLOW)
diff --git a/gdl/src/dockitem.hg b/gdl/src/dockitem.hg
index c3f7d69..7451bab 100644
--- a/gdl/src/dockitem.hg
+++ b/gdl/src/dockitem.hg
@@ -96,7 +96,7 @@ public:
   
   _WRAP_SIGNAL(void dock_drag_end(bool cancel), "dock-drag-end")
   
-  _WRAP_SIGNAL(void dock_drag_motion(int x, int y), "dock-drag-motion")
+  _WRAP_SIGNAL(void dock_drag_motion(const Glib::RefPtr<Gdk::Device>& device, int x, int y), 
"dock-drag-motion")
   
   _WRAP_SIGNAL(void selected(), "selected", no_default_handler)
 };
diff --git a/gdl/src/gdl_extra.defs b/gdl/src/gdl_extra.defs
index 656958c..9c4764e 100644
--- a/gdl/src/gdl_extra.defs
+++ b/gdl/src/gdl_extra.defs
@@ -60,6 +60,15 @@
   (construct-only #f)
 )
 
+(define-property skip-taskbar
+  (of-object "GdlDock")
+  (prop-type "GParamBoolean")
+  (docs "Whether or not to prevent a floating dock window from appearing in the taskbar")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
 ;; From GdlDockBar
 
 (define-property master
@@ -93,8 +102,9 @@
   (return-type "void")
   (when "first")
   (parameters
-    '("gint" "p0")
+    '("GdkDevice*" "p0")
     '("gint" "p1")
+    '("gint" "p2")
   )
 )
 
@@ -113,6 +123,21 @@
   (when "first")
 )
 
+(define-signal move-focus-child
+  (of-object "GdlDockItem")
+  (return-type "void")
+  (when "last")
+  (parameters
+    '("GtkDirectionType" "p0")
+  )
+)
+
+(define-signal deselected
+  (of-object "GdlDockItem")
+  (return-type "void")
+  (when "first")
+)
+
 (define-property orientation
   (of-object "GdlDockItem")
   (prop-type "GParamEnum")
@@ -167,12 +192,30 @@
   (construct-only #f)
 )
 
+(define-property iconified
+  (of-object "GdlDockItem")
+  (prop-type "GParamBoolean")
+  (docs "If set, the dock item is hidden but it has a corresponding icon in the dock bar allowing to show it 
again.")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-property closed
+  (of-object "GdlDockItem")
+  (prop-type "GParamBoolean")
+  (docs "Whether the widget is closed.")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
 ;; From GdlDockLayout
 
 (define-property master
   (of-object "GdlDockLayout")
   (prop-type "GParamObject")
-  (docs "GdlDockMaster object which the layout object is attached to")
+  (docs "GdlDockMaster or GdlDockObject object which the layout object is attached to")
   (readable #t)
   (writable #t)
   (construct-only #f)
@@ -271,6 +314,15 @@
   (construct-only #f)
 )
 
+(define-property pixbuf-icon
+  (of-object "GdlDockObject")
+  (prop-type "GParamPointer")
+  (docs "Pixbuf icon for the dock object")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
 (define-property master
   (of-object "GdlDockObject")
   (prop-type "GParamObject")


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