[ruby-gnome2-doc-cvs] [Ruby-GNOME2 Project Website] update - Gdk::Window

Back to archive index

ruby-****@sourc***** ruby-****@sourc*****
2008年 4月 9日 (水) 17:22:26 JST


-------------------------
REMOTE_ADDR = 62.2.77.204
REMOTE_HOST = 
        URL = http://ruby-gnome2.sourceforge.jp/hiki.cgi?Gdk%3A%3AWindow
-------------------------
@@ -203,6 +203,10 @@
     Registers a window as a potential drop destination.
     * Returns: self
 
+--- beep
+    Emits a short beep associated to the window in the appropriate display, if supported. Otherwise, emits a short beep on the display just as Gdk::Display#beep. ((*Since 2.12*))
+    * Returns: self
+
 --- begin_resize_drag(edge, button, root_x, root_y, timestamp)
     Begins a window resize operation (for a toplevel window). You might use this method to implement a "window resize grip," for example; in fact Gtk::Statusbar uses it. The method works best with window managers that support the Extended Window Manager Hints spec (see ((<URL:http://www.freedesktop.org>))), but has a fallback implementation for other window managers.
     * edge: the edge or corner from which the drag is started (((<GdkWindowEdge|Gdk::Window#GdkWindowEdge>)))
@@ -452,6 +456,40 @@
     Same as Gdk::Window##urgency_hint=. ((*Since 2.8*))
     * urgent: true if the window is urgent, false otherwise
     * Returns: urgency_hint
+
+--- composited=(composited)
+    Sets the window as composited, or unsets it. Composited windows do not automatically have their contents drawn to the screen. Drawing is redirected to an offscreen buffer and an expose event is emitted on the parent of the composited window. It is the responsibility of the parent's expose handler to manually merge the off-screen content onto the screen in whatever way it sees fit. See gtk/sample/misc/composited-windows.rb or an example. It only makes sense for child windows to be composited; see Gdk::Window#opacity= if you need translucent toplevel windows. An additional effect of this call is that the area of this window is no longer clipped from regions marked for invalidation on its parent. Draws done on the parent window are also no longer clipped by the child. This call is only supported on some systems (currently, only X11 with new enough Xcomposite and Xdamage extensions). You must call Gdk::Display#supports_composite? to check if setting a window as composited is supported before attempting to do so. ((*Since 2.12*))
+    * composited: true to set the window as composited 
+    * Returns: composited
+
+--- set_composited(composited)
+    Same as Gdk::Window#composited=. ((*Since 2.12*))
+    * composited: true to set the window as composited 
+    * Returns: self
+
+--- opacity=(opacity)
+    Request the windowing system to make the window partially transparent, with opacity 0 being fully transparent and 1 fully opaque. (Values of the opacity parameter are clamped to the [0,1] range.) On X11, this works only on X screens with a compositing manager running. For setting up per-pixel alpha, see Gdk::Screen#rgba_colormap. For making non-toplevel windows translucent, see Gdk::Window#composited=. ((*Since 2.12*))
+    * opacity: opacity (Float in the [0,1] range)
+    * Returns: opacity
+
+--- set_opacity(opacity)
+    Same as Gdk::Window#opacity=. ((*Since 2.12*))
+    * opacity: opacity (Float in the [0,1] range)
+    * Returns: self
+
+--- startup_id=(startup_id)
+    When using GTK+, typically you should use Gtk::Window#startup_id= instead of this low-level function. ((*Since 2.12*))
+    * startup_id: a String with startup-notification identifier
+    * Returns: startup_id
+
+--- set_startup_id(startup_id)
+    Same as Gdk::Window#startup_id=. ((*Since 2.12*))
+    * startup_id: a String with startup-notification identifier
+    * Returns: startup_id
 
 --- position
     Obtains the position of the window as reported in the most-recently-processed Gdk::EventConfigure. Contrast with Gdk::Window#geometry which queries the X server for the current window position, regardless of which events have been received or processed. 




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