[Xfce4-commits] r30175 - pyxfce/branches/4.6/netk
Danny Milosavljevic
dannym at xfce.org
Fri Jul 3 00:28:12 CEST 2009
Author: dannym
Date: 2009-07-02 22:28:12 +0000 (Thu, 02 Jul 2009)
New Revision: 30175
Modified:
pyxfce/branches/4.6/netk/window.defs
Log:
pyxfce 4.6: netk/window: add 'demands-attention', 'or_transient_demands_attention', 'set_fullscreen', 'get_icon_geometry'.
Modified: pyxfce/branches/4.6/netk/window.defs
===================================================================
--- pyxfce/branches/4.6/netk/window.defs 2009-07-02 22:26:57 UTC (rev 30174)
+++ pyxfce/branches/4.6/netk/window.defs 2009-07-02 22:28:12 UTC (rev 30175)
@@ -24,6 +24,7 @@
'("hidden" "NETK_WINDOW_STATE_HIDDEN")
'("fullscreen" "NETK_WINDOW_STATE_FULLSCREEN")
'("urgent" "NETK_WINDOW_STATE_URGENT")
+ '("demands-attention" "NETK_WINDOW_STATE_DEMANDS_ATTENTION")
)
)
@@ -69,7 +70,7 @@
)
-;; From /usr/local/include/xfce4/libxfcegui4/netk-window.h
+;; From netk-window.h
(define-function window_get_type
(c-name "netk_window_get_type")
@@ -216,6 +217,24 @@
(return-type "gboolean")
)
+(define-method is_fullscreen
+ (of-object "NetkWindow")
+ (c-name "netk_window_is_fullscreen")
+ (return-type "gboolean")
+)
+
+(define-method demands_attention
+ (of-object "NetkWindow")
+ (c-name "netk_window_demands_attention")
+ (return-type "gboolean")
+)
+
+(define-method or_transient_demands_attention
+ (of-object "NetkWindow")
+ (c-name "netk_window_or_transient_demands_attention")
+ (return-type "gboolean")
+)
+
(define-method set_skip_pager
(of-object "NetkWindow")
(c-name "netk_window_set_skip_pager")
@@ -234,6 +253,15 @@
)
)
+(define-method set_fullscreen
+ (of-object "NetkWindow")
+ (c-name "netk_window_set_fullscreen")
+ (return-type "none")
+ (parameters
+ '("gboolean" "fullscreen")
+ )
+)
+
(define-method close
(of-object "NetkWindow")
(c-name "netk_window_close")
@@ -405,6 +433,18 @@
)
)
+(define-method get_icon_geometry
+ (of-object "NetkWindow")
+ (c-name "netk_window_get_icon_geometry")
+ (return-type "gboolean")
+ (parameters
+ '("int*" "xp")
+ '("int*" "yp")
+ '("int*" "widthp")
+ '("int*" "heightp")
+ )
+)
+
(define-method get_actions
(of-object "NetkWindow")
(c-name "netk_window_get_actions")
More information about the Xfce4-commits
mailing list