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

Back to archive index

ruby-****@sourc***** ruby-****@sourc*****
2014年 6月 16日 (月) 14:54:49 JST


-------------------------
REMOTE_ADDR = 106.188.103.9
REMOTE_HOST = 
        URL = http://ruby-gnome2.sourceforge.jp/ja/hiki.cgi?Gtk%3A%3AImage
-------------------------
@@ -1,4 +1,4 @@
-= class Gtk::Image
+= Gtk::Image クラス
 The Gtk::Image widget displays an image. Various kinds of object can be displayed as an image; most typically, you would load a Gdk::Pixbuf ("pixel buffer") from a file, and then display that. There's a convenience function to do this, Gtk::Image.new, used as follows: 
 
   image = Gtk::Image.new("myfile.png")
@@ -21,7 +21,7 @@
 
 When handling events on the event box, keep in mind that coordinates in the image may be different from event box coordinates due to the alignment and padding settings on the image (see Gtk::Misc). The simplest way to solve this is to set the alignment to 0.0 (left/top), and set the padding to zero. Then the origin of the image will be the same as the origin of the event box. 
 
-== Object Hierarchy
+== オブジェクト階層
 * Object
   * GLib::Instantiatable
     * GLib::Object
@@ -30,7 +30,13 @@
           * Gtk::Misc
             * Gtk::Image
 
-== Class Methods
+== インクルードされているモジュール
+
+* Gtk::Buildable
+* Atk::Implementor
+* GLib::Interface
+
+== クラスメソッド
 --- Gtk::Image.new(value = nil)
     Creates a new Gtk::Image.
     * value
@@ -66,7 +72,13 @@
     * size: size (GtkIconSize - the constants of Gtk::IconSize)
   
 
-== Instance Methods
+== インスタンスメソッド
 --- icon_set
     Gets the icon set being displayed by the Gtk::Image. The storage type of the image must be Gtk::Image::EMPTY or Gtk::Image::ICON_SET (see Gtk::Image#storage_type).
     * Returns: the icon set (Gtk::IconSet).
@@ -248,7 +254,34 @@
     Resets the image to be empty. ((*Since 2.8*))
     * Returns: self
 
-== Constants
+--- gicon=()
+    ((*要編集*))
+
+--- set_gicon()
+    ((*要編集*))
+
+--- gicon()
+    ((*要編集*))
+
+--- icon_name=()
+    ((*要編集*))
+
+--- set_icon_name()
+    ((*要編集*))
+
+--- file()
+    ((*要編集*))
+
+== 定数
+--- GICON (Gtk::Image::Type)
+    ((*要編集*))
+
 === GtkImageType
 Describes the image data representation used by a Gtk::Image. If you want to get the image from the widget, you can only get the currently-stored representation. e.g. if the Gtk::Image#storage_type returns Gtk::Image::PIXBUF, then you can call Gtk::Image#pixbuf but not Gtk::Image#stock. For empty images, you can request any storage type (call any of the "get" functions), but they will all return nil values. 
 
@@ -268,8 +295,38 @@
     the widget contains a Gdk::PixbufAnimation.
 --- ICON_NAME
     ((*Since 2.6*))
+
+== プロパティ
+--- gicon:
+    ((*要編集*))
 
-== Properties
 --- file: String (Write)
     Filename to load and display
 
@@ -306,7 +336,39 @@
 --- pixel-size: Integer (Read/Write)
     This property can be used to specify a fixed size overriding the icon-size property for images of type Gtk::Image#ICON_NAME. Allowed values: >= -1. Default value: -1. ((*Since 2.6*))
 
-== See Also
+== 関連ページ
 Gdk::Pixbuf
 
-- ((<Masao>))
+== 更新履歴
+* 2014-06-16 クラスのメンバで漏れていたものを追加。 - ((<きたがわ>))
+* - ((<Masao>))




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