ruby-****@sourc*****
ruby-****@sourc*****
2014年 6月 16日 (月) 19:48:12 JST
------------------------- REMOTE_ADDR = 106.188.103.9 REMOTE_HOST = URL = http://ruby-gnome2.sourceforge.jp/ja/hiki.cgi?Gtk%3A%3AWindow ------------------------- @@ -1,6 +1,6 @@ -= class Gtk::Window += Gtk::Window クラス -== Object Hierarchy +== オブジェクト階層 * Object * GLib::Instantiatable * GLib::Object @@ -10,6 +10,12 @@ * Gtk::Bin * Gtk::Window +== インクルードされているモジュール + +* Gtk::Buildable +* Atk::Implementor +* GLib::Interface + == クラスメソッド --- Gtk::Window.new(type = Gtk::Window::TOPLEVEL) 他のウィジェットを含むことのできる新しいトップレベルのGtk::Windowを作成します。通常は常にウィンドウはGtk::Window::TOPLEVEL型です(そして"Gtk::Window.new"のような引数は省略されます)。もしポップアップメニューのようなものをスクラッチから実装したいと考えたなら(その用途に適したGtk::Menuが使えますからこれは良くないアイデアです)Gtk::Window::POPUPを使うことができます。他のいくつかのツールキットではダイアログが"ポップアップ"によって呼ばれますが、Gtk::Window::POPUPはダイアログを呼び出すためのものではありません。GTK+において、Gtk::Window::POPUPはポップアップメニューかポップアップツールチップを意味します。X11の場合、ポップアップウィンドウはウィンドウマネージャによって制御されません。 @@ -34,6 +40,30 @@ * icon_list:Gdk::Pixbufの配列 * 戻り値:self +--- Gtk::Window.auto_startup_notification=() + ((*要編集*)) + +--- Gtk::Window.default_icon_name=() + ((*要編集*)) + +--- Gtk::Window.default_icon=() + ((*要編集*)) + +--- Gtk::Window.set_auto_startup_notification() + ((*要編集*)) + +--- Gtk::Window.set_default_icon_name() + ((*要編集*)) + +--- Gtk::Window.set_default_icon() + ((*要編集*)) + == インスタンスメソッド --- title Gtk::Windowのタイトルを取得します。 @@ -186,6 +210,32 @@ * 戻り値:現在フォーカスされているウィジェット --- focus=(focus) + ((*上位クラス(ancestors)のページに要移動?*)) + focusが現在のフォーカスウィジェットではなく、フォーカス可能であればウィンドウに対してフォーカスウィジェットを設定します。focusがnilならばフォーカスウィジェットを設定しません。トップレベルでの特殊なウィジェットへのフォーカスの設定は、通常このメソッドの代わりにGtk::Widget#grab_focusを使用した方がより便利です。 * focus:新しくフォーカスウィジェットにするGtk::Widget。トップレベルウィンドウに対するフォーカスウィジェットを解除する場合にはnil * 戻り値:focus @@ -476,7 +502,165 @@ * width: Sets the default width of the window * Returns: self -== Constants +--- keep_below=() + ((*要編集*)) + +--- keep_above=() + ((*要編集*)) + +--- group() + ((*要編集*)) + +--- set_keep_below() + ((*要編集*)) + +--- set_keep_above() + ((*要編集*)) + +--- unfullscreen() + ((*要編集*)) + +--- fullscreen() + ((*要編集*)) + +--- mnemonics_visible=() + ((*要編集*)) + +--- set_mnemonics_visible() + ((*要編集*)) + +--- mnemonics_visible?() + ((*要編集*)) + +--- startup_id=() + ((*要編集*)) + +--- set_startup_id() + ((*要編集*)) + +--- has_toplevel_focus?() + ((*要編集*)) + +--- active?() + ((*要編集*)) + +--- opacity=() + ((*要編集*)) + +--- set_opacity() + ((*要編集*)) + +--- opacity() + ((*要編集*)) + +--- deletable=() + ((*要編集*)) + +--- set_deletable() + ((*要編集*)) + +--- deletable?() + ((*要編集*)) + +--- focus_on_map=() + ((*要編集*)) + +--- set_focus_on_map() + ((*要編集*)) + +--- focus_on_map?() + ((*要編集*)) + +--- accept_focus=() + ((*要編集*)) + +--- set_accept_focus() + ((*要編集*)) + +--- accept_focus?() + ((*要編集*)) + +--- urgency_hint=() + ((*要編集*)) + +--- set_urgency_hint() + ((*要編集*)) + +--- urgency_hint?() + ((*要編集*)) + +--- skip_pager_hint=() + ((*要編集*)) + +--- set_skip_pager_hint() + ((*要編集*)) + +--- skip_pager_hint?() + ((*要編集*)) + +--- skip_taskbar_hint=() + ((*要編集*)) + +--- set_skip_taskbar_hint() + ((*要編集*)) + +--- skip_taskbar_hint?() + ((*要編集*)) + +--- screen=() + ((*要編集*)) + +--- set_screen() + ((*要編集*)) + +--- screen() + ((*要編集*)) + +--- icon_name=() + ((*要編集*)) + +--- set_icon_name() + ((*要編集*)) + +--- icon_name() + ((*要編集*)) + +--- type() + ((*要編集*)) + +--- activate_default() + ((*要編集*)) + +--- activate_focus() + ((*要編集*)) + +== 定数 === GtkWindowPosition Window placement can be influenced using these constants. --- POS_NONE @@ -507,7 +665,165 @@ --- POPUP A special window such as a tooltip. -== Properties +== プロパティ --- allow-grow: true or false (Read/Write) If true, users can expand the window beyond its minimum size @@ -559,7 +717,201 @@ --- window-position: Integer (Read/Write) The initial position of the window -== Signals +--- mnemonics-visible: + ((*要編集*)) + +--- startup-id: + ((*要編集*)) + +--- opacity: + ((*要編集*)) + +--- transient-for: + ((*要編集*)) + +--- gravity: + ((*要編集*)) + +--- deletable: + ((*要編集*)) + +--- decorated: + ((*要編集*)) + +--- focus-on-map: + ((*要編集*)) + +--- accept-focus: + ((*要編集*)) + +--- urgency-hint: + ((*要編集*)) + +--- icon-name: + ((*要編集*)) + +--- role: + ((*要編集*)) + +== シグナル --- activate-default: self * self: Gtk::Window --- activate-focus: self @@ -570,10 +764,208 @@ --- keys-changed: self * self: Gtk::Window --- move-focus: self, dir_type + ((*上位クラス(ancestors)のページに要移動?*)) + * self: Gtk::Window * dir_type: ((<GtkDirectionType|Gtk#GtkDirectionType>)) --- set-focus: self, widget * self: Gtk::Window * widget: Gtk::Widget -- ((<Masao>)) +== 更新履歴 +* 2014-06-16 クラスのメンバ項目の存在チェック("存在しない?"or"上位クラスのページに要移動?"とマーク)。リストから漏れているものを追加。 - ((<きたがわ>)) +* - ((<Masao>))