wxString&
value,
65 constwxArrayString& choices,
67 constwxValidator& validator = wxDefaultValidator,
68 constwxString& name =
wxT(
"auto complete combo")
77 constwxString&
value,
80 constwxArrayString& choices,
81 longstyle = wxCB_DROPDOWN,
82 constwxValidator& validator = wxDefaultValidator,
83 constwxString& name =
wxT(
"auto complete combo")
88m_Provider = provider;
94 void SetFiltered(
boolfFiltered ){ m_Filtered = fFiltered; }
96 void SetAutoOff(
boolfAutoOff =
true){ m_AutoOff = fAutoOff; }
98 voidSetBaseItems(
constwxArrayString& choices );
99 voidGetBaseItems( wxArrayString& choices );
103 voidOnTextChanged( wxCommandEvent& event );
104 voidOnItemSelected( wxCommandEvent& event );
105 voidOnKeyDown( wxKeyEvent &event );
106 voidOnIdle( wxIdleEvent &event );
109 voidx_AutoComplete();
111 voidx_OnTimer( wxTimerEvent& event );
115 virtualwxArrayString ProvideItems(
constwxString& pattern );
116wxArrayString GetFilteredItems(
constwxString& pattern );
void SetMatchedOnly(bool fMatchedOnly)
wxArrayString m_PrevArray
wxArrayString m_BaseChoices
bool m_BlockTextChangedEvents
bool m_IgnoreNextTextChangedEvent
void SetFiltered(bool fFiltered)
void SetIgnoreCase(bool fIgnore)
void SetItemsProvider(CIRef< IFilterItems > &provider)
void SetAutoOff(bool fAutoOff=true)
CIRef< IFilterItems > m_Provider
CMRUList< string > & m_List
CMRUItemsProvider(CMRUList< string > &aList)
virtual void GetItems(const string &, vector< string > &result)
const string ToString(const T &item)
CMRUItemsProvider(CMRUList< T > &aList)
virtual void GetItems(const string &pattern, vector< string > &result)
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
#define NCBI_GUIWIDGETS_WX_EXPORT
const struct ncbi::grid::netcache::search::fields::SIZE size
const GenericPointer< typename T::ValueType > T2 value
Portable reference counted smart and weak pointers using CWeakRef, CRef, CObject and CObjectEx.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4