#include <popup_menu.hpp>
|
| | PopupMenu ()=default |
| void | add_item (int id, const std::string &label, bool enabled=true, bool checked=false) |
| void | add_separator () |
| const std::vector< Item > & | items () const |
| std::optional< int > | show (float x, float y) const |
| std::optional< int > | show_at_view (void *native_view_handle) const |
◆ PopupMenu()
| pulp::platform::PopupMenu::PopupMenu |
( |
| ) |
|
|
default |
◆ add_item()
| void pulp::platform::PopupMenu::add_item |
( |
int | id, |
|
|
const std::string & | label, |
|
|
bool | enabled = true, |
|
|
bool | checked = false ) |
|
inline |
◆ add_separator()
| void pulp::platform::PopupMenu::add_separator |
( |
| ) |
|
|
inline |
◆ items()
| const std::vector< Item > & pulp::platform::PopupMenu::items |
( |
| ) |
const |
|
inline |
◆ show()
| std::optional< int > pulp::platform::PopupMenu::show |
( |
float | x, |
|
|
float | y ) const |
◆ show_at_view()
| std::optional< int > pulp::platform::PopupMenu::show_at_view |
( |
void * | native_view_handle | ) |
const |
The documentation for this class was generated from the following file:
- /home/runner/work/pulp/pulp/core/platform/include/pulp/platform/popup_menu.hpp