[ruby-gnome2-doc-cvs] [Hiki] update - Gtk::Window

Zurück zum Archiv-Index

ruby-****@sourc***** ruby-****@sourc*****
2005年 3月 24日 (木) 23:58:21 JST


-------------------------
REMOTE_ADDR = 218.114.126.13
REMOTE_HOST = 
REMOTE_USER = ruby-gnome2-hiki        URL = http://ruby-gnome2.sourceforge.jp/cgi-bin/hiki/ja/hiki.cgi?Gtk%3A%3AWindow
-------------------------
@@ -221,10 +221,10 @@
     * 戻り値:self
 
 --- stick
-    Asks to stick window, which means that it will appear on all user desktops. Note that you shouldn't assume the window is definitely stuck afterward, because other entities (e.g. the user or window manager) could unstick it again, and some window managers do not support sticking windows. But normally the window will end up stuck. Just don't write code that crashes if not.
-    It's permitted to call this function before showing a window.
-    You can track stickiness via the "window_state_event" signal on Gtk::Widget.
-    * Returns: self
+    ウィンドウが突き出される(スティック)ことを要求します。これはウィンドウが全てのユーザーのデスクトップに表示されることを意味します。ウィンドウがこの後に確実にスティックされていることを仮定すべきではないということに注意して下さい。何故ならば他の要素(例えばユーザーやウィンドウマネージャなど)が再びスティックを解除することができたり、スティックが不可能なウィンドウマネージャがあるかもしれないからです。しかし、通常はスティックされた状態になります。そうでない場合にクラッシュするようなコードを書かないで下さい。
+    ウィンドウを表示する前にこのメソッドを呼び出すことは許されます。
+    スティックしているかどうかはGtk::Widget上で"window_state_event"シグナルによって追跡することができます。
+    * 戻り値:self
 
 --- unstick
     Asks to unstick window, which means that it will appear on only one of the user's desktops. Note that you shouldn't assume the window is definitely unstuck afterward, because other entities (e.g. the user or window manager) could stick it again. But normally the window will end up stuck. Just don't write code that crashes if not.





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