ruby-****@sourc*****
ruby-****@sourc*****
2005年 8月 31日 (水) 04:33:49 JST
------------------------- REMOTE_ADDR = 83.76.38.169 REMOTE_HOST = REMOTE_USER = ruby-gnome2-hiki URL = /hiki.cgi?Gtk%3A%3AStock ------------------------- @@ -22,6 +22,13 @@ Retrieves a list of all known stock IDs added to a Gtk::IconFactory or registered with Gtk::Stock.add. * Returns: a list of known stock IDs +--- Gtk::Stock.set_translate_func(domain) { |path| ... } + Sets a block to be used for translating the label of a stock item. If no function is registered for a translation domain, dgettext() is used. ((*Since 2.8*)) + * domain: the translation domain for which the block shall be used (String) + * { |path| ...}: the block to be used for translation + * path: the id of the message + * Returns: nil + == Constants --- Gtk::Stock::ADD The "ADD" item. ((<URL:http://developer.gnome.org/doc/API/2.0/gtk/stock_add_24.png>)) @@ -67,6 +74,15 @@ The "Find and Replace" item. ((<URL:http://developer.gnome.org/doc/API/2.0/gtk/stock_search_replace_24.png>)) --- Gtk::Stock::FLOPPY The "Floppy" item. ((<URL:http://developer.gnome.org/doc/API/2.0/gtk/stock_save_24.png>)) +--- Gtk::Stock::FULLSCREEN + The "Fullscreen" item. ((<URL:http://developer.gnome.org/doc/API/2.0/gtk/stock_fullscreen_24.png>)) ((*Since 2.8*)) --- Gtk::Stock::GOTO_BOTTOM The "Bottom" item. ((<URL:http://developer.gnome.org/doc/API/2.0/gtk/stock_bottom_24.png>)) --- Gtk::Stock::GOTO_FIRST @@ -89,6 +98,17 @@ The "Home" item. ((<URL:http://developer.gnome.org/doc/API/2.0/gtk/stock_home_24.png>)) --- Gtk::Stock::INDEX The "Index" item. ((<URL:http://developer.gnome.org/doc/API/2.0/gtk/stock_index_24.png>)) +--- Gtk::Stock::INFO + The "Info" item. ((<URL:http://developer.gnome.org/doc/API/2.0/gtk/stock_info_24.png>)) ((*Since 2.8*)) --- Gtk::Stock::ITALIC The "Italic" item. ((<URL:http://developer.gnome.org/doc/API/2.0/gtk/stock_text_italic_24.png>)) --- Gtk::Stock::JUMP_TO @@ -101,6 +112,19 @@ The "Left" item. ((<URL:http://developer.gnome.org/doc/API/2.0/gtk/stock_align_left_24.png>)) --- Gtk::Stock::JUSTIFY_RIGHT The "Right" item. ((<URL:http://developer.gnome.org/doc/API/2.0/gtk/stock_align_right_24.png>)) +--- Gtk::Stock::LEAVE_FULLSCREEN + The "Leave fullscreent" item. ((<URL:http://developer.gnome.org/doc/API/2.0/gtk/stock_leave_fullscreen_24.png>)) ((*Since 2.8*)) --- Gtk::Stock::MISSING_IMAGE The "Missing image" icon. ((<URL:http://developer.gnome.org/doc/API/2.0/gtk/stock_broken_image_24.png>)) --- Gtk::Stock::NEW @@ -170,4 +183,16 @@ Gtk::IconFactory, Gtk::IconSet, Gtk::IconSize - ((<Masao>)) -