ruby-****@sourc*****
ruby-****@sourc*****
2014年 6月 16日 (月) 16:39:32 JST
------------------------- REMOTE_ADDR = 106.188.103.9 REMOTE_HOST = URL = http://ruby-gnome2.sourceforge.jp/ja/hiki.cgi?Gtk%3A%3AObject ------------------------- @@ -1,15 +1,19 @@ -= class Gtk::Object += Gtk::Object クラス Gtk::Object is the base class for all widgets, and for a few non-widget objects such as Gtk::Adjustment. Gtk::Object predates GLib::Object; non-widgets that derive from Gtk::Object rather than GLib::Object do so for backward compatibility reasons. In Ruby/GTK, one of the difference between Gtk::Object and GLib::Object is the "destroy" signal, emitted by the Gtk::Object#destroy method. The "destroy" signal asks all code owning a reference to an object to release said reference. So, for example, if you call Gtk::Object#destroy on a Gtk::Window, Ruby/GTK will release it; if you call Gtk::Object#destroy on a Gtk::Button, then the button will be removed from its parent container and the parent container will release its reference to the button. -== Object Hierarchy +== オブジェクト階層 * Object * GLib::Instantiatable * GLib::Object * Gtk::Object -== Instance Methods +== クラスメソッド +--- Gtk::Object.binding_set() + ((*要編集*)) + +== インスタンスメソッド --- destroy Emits the "destroy" signal notifying all reference holders that they should release the Gtk::Object. --- flags @@ -28,8 +32,18 @@ Unsets the ((<GtkObjectFlags|Gtk::Object#GtkObjectFlags>)) for an object without directly accessing. * flags: ((<GtkObjectFlags|Gtk::Object#GtkObjectFlags>)) * Returns: self + +--- bindings_activate() + ((*要編集*)) + +--- type_name() + ((*要編集*)) -== Constants +== 定数 === GtkObjectFlags --- FLOATING the object is orphaned. @@ -40,15 +50,27 @@ --- RESERVED_2 reserved for future use -== Properties +== プロパティ --- user-data: GLib::Pointer (Read/Write) Anonymous User Data Pointer. You can't use this from ruby. -== Signals +== シグナル --- destroy: self * self: Gtk::Object -== See Also +== 関連ページ GLib::Object -((<Masao>)) +== 更新履歴 +* 2014-06-16 クラスのメンバで漏れていたものを追加。 - ((<きたがわ>)) +* ((<Masao>))