|
Public Types |
typedef sigc::slot< bool,
const Glib::ustring &, const
TreeModel::const_iterator& > | SlotMatch |
| For example, bool on_match(const Glib::ustring& key, const TreeModel::const_iterator& iter);.
|
Public Member Functions |
virtual | ~EntryCompletion () |
GtkEntryCompletion* | gobj () |
| Provides access to the underlying C GObject.
|
const GtkEntryCompletion* | gobj () const |
| Provides access to the underlying C GObject.
|
GtkEntryCompletion* | gobj_copy () |
| Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.
|
Entry* | get_entry () |
| Gets the entry completion has been attached to.
|
const Entry* | get_entry () const |
| Gets the entry completion has been attached to.
|
void | set_model (const Glib::RefPtr<TreeModel>& model) |
| Sets the model for a Gtk::EntryCompletion.
|
Glib::RefPtr<TreeModel> | get_model () |
| Returns the model the Gtk::EntryCompletion is using as data source.
|
Glib::RefPtr<const TreeModel> | get_model () const |
| Returns the model the Gtk::EntryCompletion is using as data source.
|
void | set_match_func (const SlotMatch& slot) |
void | set_minimum_key_length (int length) |
| Requires the length of the search key for completion to be at least length .
|
int | get_minimum_key_length () const |
| Returns the minimum key length as set for completion .
|
void | complete () |
| Requests a completion operation, or in other words a refiltering of the current list with completions, using the current key.
|
void | insert_action_text (const Glib::ustring& text, int index) |
void | prepend_action_text (const Glib::ustring& text) |
void | insert_action_markup (const Glib::ustring& markup, int index) |
void | prepend_action_markup (const Glib::ustring& markup) |
void | delete_action (int index=0) |
| Deletes the action at index from completion 's action list.
|
void | set_text_column (const TreeModelColumnBase& column) |
| Conviencefunction for setting up the most used case of this code: a completion list with just strings.
|
void | set_text_column (int column) |
| Conviencefunction for setting up the most used case of this code: a completion list with just strings.
|
Glib::SignalProxy1< void,
int > | signal_action_activated () |
Glib::SignalProxy1< bool,
const TreeModel::iterator& > | signal_match_selected () |
Static Public Member Functions |
Glib::RefPtr<EntryCompletion> | create () |
Protected Member Functions |
virtual bool | on_match_selected (const TreeModel::iterator& iter) |
virtual void | on_action_activated (int index) |
Related Functions |
(Note that these are not member functions.)
|
Glib::RefPtr<Gtk::EntryCompletion> | wrap (GtkEntryCompletion* object, bool take_copy=false) |