Public Member Functions | |
| QGDropDownBox (const TGWindow *p=0) | |
| Constructor. | |
| virtual | ~QGDropDownBox () |
| Destructor. | |
| void | AddEntry (const std::string &entry) |
| Add entry. | |
| void | EnableTabCompletion () |
| Enable tab completion. | |
| std::vector< std::string > | FindMatches (const std::string &s) |
| Find a match to a string. | |
| std::string | GetCommonText (const std::vector< std::string > &v) |
| Get common text. | |
| void | HandleReturnPressed () |
| Handle tab pressed. | |
| void | QGHandleEvent (Event_t *event) |
| Handle event. | |
| void | SetReturnTarget (TGTextEntry *textBox) |
| Set return target. | |
| void | TabComplete () |
| Tab complete. | |
Private Attributes | |
| std::vector< std::string > | fEntries |
| Collection of entries. | |
| TGTextEntry * | fReturnTarget |
| Text box to change to when return is pressed. | |
1.5.6