ruby-****@sourc*****
ruby-****@sourc*****
2005年 9月 12日 (月) 00:53:14 JST
------------------------- REMOTE_ADDR = 81.62.195.160 REMOTE_HOST = REMOTE_USER = ruby-gnome2-hiki URL = /hiki.cgi?Gtk%3A%3AEntryCompletion ------------------------- @@ -93,6 +93,34 @@ * column: The column(Integer) in the model of completion to get strings from. * Returns: self +--- popup_set_width=(popup_set_width) + Sets whether the completion popup window will be resized to be the same width as the entry. ((*Since 2.8*)) + * popup_set_width: true to make the width of the popup the same as the entry + * Returns: popup_set_width + +--- set_popup_set_width(popup_set_width) + Same as popup_set_width=. ((*Since 2.8*)) + * popup_set_width: true to make the width of the popup the same as the entry + * Returns: self + +--- popup_set_width? + Returns whether the completion popup window will be resized to the width of the entry. ((*Since 2.8*)) + * Returns: true if the popup window will be resized to the width of the entry + +--- popup_single_match=(popup_single_match) + Sets whether the completion popup window will appear even if there is only a single match. You may want to set this to false if you are using inline completion. ((*Since 2.8*)) + * popup_single_match: true if the popup should appear even for a single match + * Returns: popup_single_match + +--- set_popup_single_match(popup_single_match) + Same as popup_single_match=. ((*Since 2.8*)) + * popup_single_match: true if the popup should appear even for a single match + * Returns: self + +--- popup_single_match? + 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 --- minimum-key-length: Integer (Read/Write) Minimum length of the search key in order to look up matches. ((* Since 2.4 *)) @@ -101,6 +129,40 @@ --- model: Gtk::TreeModel (Read/Write) The model to find matches in. ((* Since 2.4 *)) + +--- popup-set-width: true or false (Read/Write) + Determines whether the completions popup window will be resized to the width of the entry. Default value: true. ((*Since 2.8*)) + +--- 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 --- action-activated: self, index @@ -113,4 +147,38 @@ * self: the object which received the signal * model: the Gtk::TreeModel containing the matches * iter: a Gtk::TreeIter positioned at the selected match - * Returns: true if the signal has been handled + * Returns: true if the signal has been handled