ruby-****@sourc*****
ruby-****@sourc*****
2014年 6月 16日 (月) 06:42:03 JST
------------------------- REMOTE_ADDR = 106.188.103.9 REMOTE_HOST = URL = http://ruby-gnome2.sourceforge.jp/ja/hiki.cgi?Gtk%3A%3AEntryCompletion ------------------------- @@ -1,4 +1,4 @@ -= class Gtk::EntryCompletion += Gtk::EntryCompletion クラス Gtk::EntryCompletion is an auxiliary object to be used in conjunction with Gtk::Entry to provide the completion functionality. It implements the Gtk::CellLayout interface, to allow the user to add extra cells to the Gtk::TreeView with completion matches. "Completion functionality" means that when the user modifies the text in the entry, Gtk::EntryCompletion checks which rows in the model match the current content of the entry, and displays a list of matches. By default, the matching is done by comparing the entry text case-insensitively against the text column of the model (see Gtk::EntryCompletion#text_column=), but this can be overridden with a custom match method (see Gtk::EntryCompletion_set_match_func). @@ -9,21 +9,24 @@ In addition to regular completion matches, which will be inserted into the entry when they are selected, Gtk::EntryCompletion also allows to display "actions" in the popup window. Their appearance is similar to menuitems, to differentiate them clearly from completion strings. When an action is selected, the ::action-activated signal is emitted. -== Object Hierarchy +== オブジェクト階層 * Object * GLib::Instantiatable * GLib::Object * Gtk::EntryCompletion -== Included Modules +== インクルードされているモジュール + +* Gtk::Buildable * Gtk::CellLayout +* GLib::Interface -== Class Methods +== クラスメソッド --- Gtk::EntryCompletion.new Creates a new Gtk::EntryCompletion object. ((* Since 2.4 *)) * Returns: A newly created GtkEntryCompletion object. -== Instance Methods +== インスタンスメソッド --- entry Gets the entry completion has been attached to. ((* Since 2.4 *)) * Returns: The entry completion has been attached to. @@ -121,7 +124,46 @@ Returns whether the completion popup window will appear even if there is only a single match. ((*Since 2.8*)) * Returns: true if the popup window will appear regardless of the number of matches. -== Properties +--- completion_prefix() + ((*要編集*)) + +--- insert_prefix() + ((*要編集*)) + +--- inline_selection=() + ((*要編集*)) + +--- set_inline_selection() + ((*要編集*)) + +--- inline_selection?() + ((*要編集*)) + +--- popup_completion=() + ((*要編集*)) + +--- set_popup_completion() + ((*要編集*)) + +--- popup_completion?() + ((*要編集*)) + +--- inline_completion=() + ((*要編集*)) + +--- set_inline_completion() + ((*要編集*)) + +--- inline_completion?() + ((*要編集*)) + +--- text_column() + ((*要編集*)) + +== プロパティ --- minimum-key-length: Integer (Read/Write) Minimum length of the search key in order to look up matches. ((* Since 2.4 *)) * Allowed values: >= -1 @@ -136,7 +175,58 @@ --- popup-single-match: true or false (Read/Write)Write Determines whether the completions popup window will be shown for a single possible completion. You probably want to set this to false if you are using inline completion. Default value: true. ((*Since 2.8*)) -== Signals +--- inline-selection: + ((*要編集*)) + +--- popup-completion: + ((*要編集*)) + +--- inline-completion: + ((*要編集*)) + +--- text-column: + ((*要編集*)) + +== シグナル --- action-activated: self, index Gets emitted when an action is activated. ((* Since 2.4 *)) * self: the object which received the signal @@ -148,3 +199,63 @@ * model: the Gtk::TreeModel containing the matches * iter: a Gtk::TreeIter positioned at the selected match * Returns: true if the signal has been handled + +--- cursor-on-match: + ((*要編集*)) + +--- insert-prefix: + ((*要編集*)) + +== 更新履歴 +* 2014-06-16 クラスのメンバで漏れていたものを追加。 - ((<きたがわ>))