![]() |
Ardour
9.0-pre0-1320-gf48fe3f740
|
#include <string_completion.h>
Classes | |
class | CompletionRecord |
Public Member Functions | |
StringCompletion () | |
StringCompletion (std::vector< Glib::ustring > strVector, bool norepeat=true) | |
virtual | ~StringCompletion () |
void | add_string (Glib::ustring str, bool norepeat=true) |
void | clear_strings () |
void | delete_string (Glib::ustring str) |
void | insert_vector (std::vector< Glib::ustring > strVector, bool norepeat=true) |
void | set_match_anywhere () |
void | set_case_fold (bool) |
![]() | |
virtual | ~EntryCompletion () |
GtkEntryCompletion * | gobj () |
Provides access to the underlying C GObject. More... | |
const GtkEntryCompletion * | gobj () const |
Provides access to the underlying C GObject. More... | |
GtkEntryCompletion * | gobj_copy () |
Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. More... | |
Entry * | get_entry () |
const Entry * | get_entry () const |
void | set_model (const Glib::RefPtr< TreeModel > &model) |
Glib::RefPtr< TreeModel > | get_model () |
Glib::RefPtr< const TreeModel > | get_model () const |
void | unset_model () |
void | set_match_func (const SlotMatch &slot) |
void | set_minimum_key_length (int length) |
int | get_minimum_key_length () const |
void | complete () |
void | insert_prefix () |
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) |
void | set_inline_completion (bool inline_completion=true) |
bool | get_inline_completion () const |
void | set_inline_selection (bool inline_selection=true) |
bool | get_inline_selection () const |
void | set_popup_completion (bool popup_completion=true) |
bool | get_popup_completion () const |
void | set_popup_set_width (bool popup_set_width=true) |
bool | get_popup_set_width () const |
void | set_popup_single_width (bool popup_single_match=true) |
void | set_popup_single_match (bool popup_single_match=true) |
bool | get_popup_single_match () const |
Glib::ustring | get_completion_prefix () const |
void | set_text_column (const TreeModelColumnBase &column) |
void | set_text_column (int column) |
int | get_text_column () |
int | get_text_column () const |
Glib::SignalProxy1< void, int > | signal_action_activated () |
Glib::SignalProxy1< bool, const TreeModel::iterator & > | signal_match_selected () |
Glib::SignalProxy1< bool, const TreeModel::iterator & > | signal_cursor_on_match () |
Glib::SignalProxy1< bool, const Glib::ustring & > | signal_insert_prefix () |
Glib::PropertyProxy< Glib::RefPtr< Gtk::TreeModel > > | property_model () |
Glib::PropertyProxy_ReadOnly< Glib::RefPtr< Gtk::TreeModel > > | property_model () const |
Glib::PropertyProxy< int > | property_minimum_key_length () |
Glib::PropertyProxy_ReadOnly< int > | property_minimum_key_length () const |
Glib::PropertyProxy< int > | property_text_column () |
Glib::PropertyProxy_ReadOnly< int > | property_text_column () const |
Glib::PropertyProxy< bool > | property_inline_completion () |
Glib::PropertyProxy_ReadOnly< bool > | property_inline_completion () const |
Glib::PropertyProxy< bool > | property_popup_completion () |
Glib::PropertyProxy_ReadOnly< bool > | property_popup_completion () const |
Glib::PropertyProxy< bool > | property_popup_set_width () |
Glib::PropertyProxy_ReadOnly< bool > | property_popup_set_width () const |
Glib::PropertyProxy< bool > | property_popup_single_match () |
Glib::PropertyProxy_ReadOnly< bool > | property_popup_single_match () const |
Glib::PropertyProxy< bool > | property_inline_selection () |
Glib::PropertyProxy_ReadOnly< bool > | property_inline_selection () const |
Static Public Member Functions | |
static Glib::RefPtr< StringCompletion > | create () |
static Glib::RefPtr< StringCompletion > | create (std::vector< Glib::ustring > strVector, bool norepeat=true) |
![]() | |
static GType | get_type () G_GNUC_CONST |
static Glib::RefPtr< EntryCompletion > | create () |
Protected Member Functions | |
bool | _delete_string (const Gtk::TreeModel::iterator &iter, const Glib::ustring &str) |
bool | _string_exists (const Glib::ustring &str) |
bool | match_anywhere (Glib::ustring const &str, Gtk::TreeModel::const_iterator const &iter) |
void | init () |
![]() | |
EntryCompletion () | |
virtual bool | on_match_selected (const TreeModel::iterator &iter) |
virtual void | on_action_activated (int index) |
This is a default handler for the signal signal_action_activated(). More... | |
Protected Attributes | |
Glib::RefPtr< Gtk::ListStore > | m_refCompletionModel |
bool | case_fold |
CompletionRecord | m_completionRecord |
Additional Inherited Members | |
![]() | |
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);. More... | |
![]() | |
Glib::RefPtr< Gtk::EntryCompletion > | wrap (GtkEntryCompletion *object, bool take_copy=false) |
Definition at line 28 of file string_completion.h.
Gtkmm2ext::StringCompletion::StringCompletion | ( | ) |
Gtkmm2ext::StringCompletion::StringCompletion | ( | std::vector< Glib::ustring > | strVector, |
bool | norepeat = true |
||
) |
|
virtual |
|
protected |
|
protected |
void Gtkmm2ext::StringCompletion::add_string | ( | Glib::ustring | str, |
bool | norepeat = true |
||
) |
void Gtkmm2ext::StringCompletion::clear_strings | ( | ) |
|
static |
|
static |
void Gtkmm2ext::StringCompletion::delete_string | ( | Glib::ustring | str | ) |
|
protected |
void Gtkmm2ext::StringCompletion::insert_vector | ( | std::vector< Glib::ustring > | strVector, |
bool | norepeat = true |
||
) |
|
protected |
void Gtkmm2ext::StringCompletion::set_case_fold | ( | bool | ) |
void Gtkmm2ext::StringCompletion::set_match_anywhere | ( | ) |
|
protected |
Definition at line 49 of file string_completion.h.
|
protected |
Definition at line 61 of file string_completion.h.
|
protected |
Definition at line 48 of file string_completion.h.