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

Zurück zum Archiv-Index

ruby-****@sourc***** ruby-****@sourc*****
2009年 5月 27日 (水) 06:07:13 JST


-------------------------
REMOTE_ADDR = 93.192.186.180
REMOTE_HOST = 
        URL = http://ruby-gnome2.sourceforge.jp/hiki.cgi?PanelApplet
-------------------------
@@ -43,28 +43,27 @@
     Gets the panels background type and its background.
 
     * Returns: an array with two values, with the current PanelApplet::BackgroundType at first. The second value comes after this rules:
-        PanelApplet::BackgroundType::NO_BACKGROUND => nil
-        PanelApplet::BackgroundType::COLOR_BACKGROUND => a Gdk::Color which contains the panels background color
-        PanelApplet::BackgroundType::PIXMAP_BACKGROUND => a Gdk::Pixmap with a copy of the area, the applet covers in the panel
 
+    PanelApplet::BackgroundType::NO_BACKGROUND => nil
+
+    PanelApplet::BackgroundType::COLOR_BACKGROUND => a Gdk::Color which contains the panels background color
+
+    PanelApplet::BackgroundType::PIXMAP_BACKGROUND => a Gdk::Pixmap with a copy of the area, the applet covers in the panel
+
 --- size
 
     Returns a size hint for the applet. From the Gtk+ docs this methode is mostly useless.
 
 --- orient
 
-    Gets the current orientation of the applet.
+    Gets the current ((<orientation|PanelApplet#Orientation>)) of the applet.
     
     * Returns: depending on the direction, the panel expands to one of the following values.
 
-        PanelApplet::ORIENT_UP
-        PanelApplet::ORIENT_DOWN
-        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
+    The ((<Flags|PanelApplet#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
@@ -72,7 +71,6 @@
 
 --- set_flags(flags)
 
-    Set the flags to the PanelApplet
+    Set the ((<Flags|PanelApplet#Flags>)) to the PanelApplet
 
     * flags: the flags to set
     * Returns: self
@@ -210,24 +209,35 @@
     Returns: the configuration value if the key is found, otherwise nil
 
 
-
 == Constants
 
-=== Flags
+--- PanelApplet::BackgroundType::NO_BACKGROUND
+    no background is set to the panel
+--- PanelApplet::BackgroundType::COLOR_BACKGROUND
+    the background of the panel is colored
+--- PanelApplet::BackgroundType::PIXMAP_BACKGROUND
+    the panel has a Gdk::Pixmap as background
 
-    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.
+==== Orientation
 
+--- PanelApplet::ORIENT_UP
+--- PanelApplet::ORIENT_DOWN
+--- PanelApplet::ORIENT_LEFT
+--- PanelApplet::ORIENT_RIGHT
 
---- FOOBLA
 
-    Call PanelApplet#foobla(true).
+=== 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.
 
 == See Also
-
+Gtk::StatusIcon
 == ChangeLog
 
 * 2009-05-26 Create this page. - Detlef




ruby-gnome2-cvs メーリングリストの案内
Zurück zum Archiv-Index