A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/auto__complete__combo_8hpp_source.html below:

NCBI C++ ToolKit: include/gui/widgets/wx/auto_complete_combo.hpp Source File

1 #ifndef GUI_WIDGETS_WX___AUTO_COMPLETE_COMBO__HPP 2 #define GUI_WIDGETS_WX___AUTO_COMPLETE_COMBO__HPP 41 #include <wx/combobox.h> 49 #define DICTIONARY_MAX_SIZE 50 62  const

wxString&

value

,

65  const

wxArrayString& choices,

67  const

wxValidator& validator = wxDefaultValidator,

68  const

wxString& name =

wxT

(

"auto complete combo"

)

77  const

wxString&

value

,

80  const

wxArrayString& choices,

81  long

style = wxCB_DROPDOWN,

82  const

wxValidator& validator = wxDefaultValidator,

83  const

wxString& name =

wxT

(

"auto complete combo"

)

88

m_Provider = provider;

94  void SetFiltered

(

bool

fFiltered ){ m_Filtered = fFiltered; }

96  void SetAutoOff

(

bool

fAutoOff =

true

){ m_AutoOff = fAutoOff; }

98  void

SetBaseItems(

const

wxArrayString& choices );

99  void

GetBaseItems( wxArrayString& choices );

103  void

OnTextChanged( wxCommandEvent& event );

104  void

OnItemSelected( wxCommandEvent& event );

105  void

OnKeyDown( wxKeyEvent &event );

106  void

OnIdle( wxIdleEvent &event );

109  void

x_AutoComplete();

111  void

x_OnTimer( wxTimerEvent& event );

115  virtual

wxArrayString ProvideItems(

const

wxString& pattern );

116

wxArrayString GetFilteredItems(

const

wxString& 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