[ruby-gnome2-doc-cvs] [Ruby-GNOME2 Project Website] update - PanelApplet

Back to archive index

ruby-****@sourc***** ruby-****@sourc*****
2009年 5月 27日 (水) 05:53:22 JST


-------------------------
REMOTE_ADDR = 93.192.186.180
REMOTE_HOST = 
        URL = http://ruby-gnome2.sourceforge.jp/hiki.cgi?PanelApplet
-------------------------
@@ -62,6 +62,21 @@
         PanelApplet::ORIENT_LEFT
         PanelApplet::ORIENT_RIGHT
 
+--- get_flags()
+
+    The ((<Flags>)) associated with the applet are boolean flags which the panel may read in order to
+    figure out how to handle the applet.
+    
+    Returns: the requested flags
+
+
+--- set_flags(flags)
+
+    Set the flags to the PanelApplet
+
+    * flags: the flags to set
+    * Returns: self
+
 --- control
 
     Gets the bonobo contol of the applet.
@@ -199,8 +214,27 @@
 == Constants
 
 === Flags
+
+    PanelApplet::FLAGS_NONE No flags are to be associated with the applet.
+    PanelApplet::EXPAND_MAJOR The applet should expand horizontally on an horizontal panel and vertically on a vertical panel.
+    PanelApplet::EXPAND_MINOR The applet should expand vertically on an horizontal panel and horizontally on a vertical panel.
+    PanelApplet::HAS_HANDLE The panel should draw a grab handle on one side of the applet.
 
-Flags used to influence something.
 
 --- FOOBLA
 




ruby-gnome2-cvs メーリングリストの案内
Back to archive index