X11Popup Class Reference
X11 implementation of
OSPopup.
More...
|
Public Member Functions |
| | X11Popup (intf_thread_t *pIntf, X11Display &) |
| virtual | ~X11Popup () |
| virtual void | show (int xPos, int yPos) |
| | Show the popup menu at the given (absolute) corrdinates.
|
| virtual void | hide () |
| | Hide the popup menu.
|
| virtual void | addItem (const string &rLabel, int pos) |
| | Append a new menu item with the given label to the popup menu.
|
| virtual void | addSeparator (int pos) |
| | Create a dummy menu item to separate sections.
|
| virtual int | getPosFromId (int id) const |
| | Return the position of the item identified by the given id.
|
Detailed Description
X11 implementation of
OSPopup.
Constructor & Destructor Documentation
| virtual X11Popup::~X11Popup |
( |
|
) |
[virtual] |
Member Function Documentation
| virtual void X11Popup::show |
( |
int |
xPos, |
|
|
int |
yPos | |
|
) |
| | [virtual] |
Show the popup menu at the given (absolute) corrdinates.
Implements OSPopup.
| virtual void X11Popup::hide |
( |
|
) |
[virtual] |
Hide the popup menu.
Implements OSPopup.
| virtual void X11Popup::addItem |
( |
const string & |
rLabel, |
|
|
int |
pos | |
|
) |
| | [virtual] |
Append a new menu item with the given label to the popup menu.
Implements OSPopup.
| virtual void X11Popup::addSeparator |
( |
int |
pos |
) |
[virtual] |
Create a dummy menu item to separate sections.
Implements OSPopup.
| virtual int X11Popup::getPosFromId |
( |
int |
id |
) |
const [virtual] |
Return the position of the item identified by the given id.
Implements OSPopup.
The documentation for this class was generated from the following file: