[ruby-gnome2-doc-cvs] [Ruby-GNOME2 Project Website] update - Gtk::ToolButton

Zurück zum Archiv-Index

ruby-****@sourc***** ruby-****@sourc*****
2005年 8月 31日 (水) 05:49:24 JST


-------------------------
REMOTE_ADDR = 83.76.38.169
REMOTE_HOST = 
REMOTE_USER = ruby-gnome2-hiki
        URL = /hiki.cgi?Gtk%3A%3AToolButton
-------------------------
@@ -1,4 +1,3 @@
-
 = class Gtk::ToolButton
 ((<Gtk::ToolButton>))s are ((<Gtk::ToolItem>))s containing buttons.
 
@@ -91,6 +90,16 @@
     * label_widget: A Gtk::Widget used as label, or nil
     * Returns: self
 
+--- icon_name
+    Returns the name of the themed icon for the tool button, see Gtk::ToolButton#icon_name=(icon_name). ((*Since 2.8*))
+--- icon_name=(icon_name)
+    Sets the icon for the tool button from a named themed icon. See the docs for Gtk::IconTheme for more details. The :icon-name property only has an effect if not overridden by non-nil "label", "icon-widget" and "stock-id" properties. ((*Since 2.8*))
+    * icon_name: the name of the themed icon
+    * Returns: icon_name
+--- set_icon_name=(icon_name)
+    Same as Gtk::ToolButton#icon_name=(icon_name). ((*Since 2.8*))
+    * icon_name: the name of the themed icon
+    * Returns: icon_name
+
 == Properties
 --- icon-widget: Gtk::Widget (Read/Write)
     Icon widget to display in the item ((* Since 2.4 *))
@@ -107,6 +117,19 @@
 
 --- use-underline: true or false (Read/Write)
     If set, an underline in the label property indicates that the next character should be used for the mnemonic accelerator key in the overflow menu ((* Since 2.4 *))
+
+--- icon-name: String (Read/Write)
+    The name of the themed icon displayed on the item. This property only has an effect if not overridden by "label", "icon-widget" or "stock-id" properties. Default value: nil. ((*Since 2.8*))
 
 == Signals
 --- clicked: self
@@ -121,4 +134,17 @@
 * Gtk::SeparatorToolItem - A subclass of Gtk::ToolItem that separates groups of items on a toolbar
 
 == ChangeLog
-* 2005-05-06 Added ((<Masao>))
\ No newline at end of file
+* 2005-05-06 Added ((<Masao>))





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