wxMaxima
Classes | Public Member Functions | List of all members
AutocompletePopup Class Referencefinal
Inheritance diagram for AutocompletePopup:
Inheritance graph
[legend]
Collaboration diagram for AutocompletePopup:
Collaboration graph
[legend]

Public Member Functions

void SetPosition (wxPoint pos)
 Define where the popup will appear on Create()
 
bool Create (wxWindow *parent) override
 Create popup control.
 
void OnChar (wxKeyEvent &event)
 Gets the info which keycode the current keypress results in.
 
void OnKeyDown (wxKeyEvent &event)
 Gets the info which key has been pressed with which modifier.
 
 AutocompletePopup (wxWindow *parent, EditorCell *editor, AutoComplete *autocomplete, AutoComplete::autoCompletionType type, AutocompletePopup **doneptr)
 
void UpdateResults ()
 
void OnClick (wxMouseEvent &event)
 

Constructor & Destructor Documentation

◆ AutocompletePopup()

AutocompletePopup::AutocompletePopup ( wxWindow *  parent,
EditorCell editor,
AutoComplete autocomplete,
AutoComplete::autoCompletionType  type,
AutocompletePopup **  doneptr 
)

The constructor of the autocompletion window

Parameters
parentThe parent window
editorThe cell that contains the text that is to be completed
autocompleteThe autocompletion data
typeThe type of completion needed
doneptrA pointer that will be set to NULL when the pop-up is destroyed.

The documentation for this class was generated from the following files: