19#ifndef TERMINALCALLTIP_HPP
20#define TERMINALCALLTIP_HPP
23#include <wx/textctrl.h>
39 void PopUp(
const wxPoint& pos,
const wxString& text);
41 void Resize(
const wxSize& s);
This class represents the calltip in the terminal. The associated window will only be shown and hidde...
virtual bool AcceptsFocusFromKeyboard() const override
void Highlight(size_t start, size_t len)
Hightlight the section of the text in the calltip.
virtual bool AcceptsFocus() const override
void Resize(const wxSize &s)
Change the calltip's size.
TerminalCallTip(wxWindow *parent, const wxSize &s=wxDefaultSize)
TerminalCallTip constructor.
void Dismiss()
Remove the shown calltip.
virtual bool AcceptsFocusRecursively() const override
void PopUp(const wxPoint &pos, const wxString &text)
Show the calltip at the desired position. This function does not check, whether the calltip is acutal...
void ChangeFont(const wxFont &font)
Changes the font of the calltip.