ruby-****@sourc*****
ruby-****@sourc*****
2005年 8月 29日 (月) 05:02:23 JST
------------------------- REMOTE_ADDR = 83.78.8.17 REMOTE_HOST = REMOTE_USER = ruby-gnome2-hiki URL = /hiki.cgi?Gtk%3A%3AWindow ------------------------- @@ -205,13 +205,14 @@ --- set_default(default_widget) Same as default=. - * default_widget : widget to be the default, or nil to unset the default widget for the toplevel. + * default_widget: widget to be the default, or nil to unset the default widget for the toplevel. * Returns: self ---- present +--- present(timestamp = nil) Presents a window to the user. This may mean raising the window in the stacking order, deiconifying it, moving it to the current desktop, and/or giving it the keyboard focus, possibly dependent on the user's platform, window manager, and preferences. If window is hidden, this method calls Gtk::Widget#show as well. This method should be used when the user tries to open a window that's already open. Say for example the preferences dialog is currently open, and the user chooses Preferences from the menu a second time; use Gtk::Window#present to move the already-open dialog where the user can see it. + * timestamp: ((*Since 2.8*)) the timestamp of the user interaction (typically a button or key press event) which triggered this call * Returns: self --- iconify @@ -349,6 +350,18 @@ * hint: the window type (((<GdkWindowTypeHint|Gdk::Window#GdkWindowTypeHint>))) * Returns: self +--- urgency_hint + Gets the value set by Gtk::Window#urgency_hint=. ((*Since 2.8*)) +--- urgency_hint=(hint) + Windows may set a hint asking the desktop environment to draw the users attention to the window. This function sets this hint. ((*Since 2.8*)) + * hint: the hint (true or false) + * returns: hint +--- set_urgency_hint(hint) + Same as urgency_hint=. ((*Since 2.8*)) + * hint: the hint (true or false) + * returns: self + --- icon Gets the value set by Gtk::Window#icon= (or if you've called Gtk::Window#icon_list=, gets the first icon in the icon list). * Returns: icon for window(Gdk::Pixbuf) @@ -559,8 +571,24 @@ --- type: Integer (Read/Write) The type of the window + --- type-hint: Integer (Read/Write) Hint to help the desktop environment understand what kind of window this is and how to treat it. + +--- urgency-hint: true or false (Read/Write) + True if the window should be brought to the user's attention. Default value: false. ((*Since 2.8*)) --- window-position: Integer (Read/Write) The initial position of the window