neoGFX
Cross-platform C++ app/game engine
Loading...
Searching...
No Matches
neogfx::context_menu Class Reference

#include <context_menu.hpp>

Public Member Functions

 context_menu (const point &aPosition, window_style aStyle=popup_menu::DEFAULT_STYLE|window_style::DismissOnParentClick)
 
 context_menu (i_widget &aParent, const point &aPosition, window_style aStyle=popup_menu::DEFAULT_STYLE|window_style::DismissOnParentClick)
 
 ~context_menu ()
 
i_menumenu ()
 
popup_menuroot_widget ()
 
void exec ()
 

Detailed Description

Definition at line 27 of file context_menu.hpp.

Constructor & Destructor Documentation

◆ context_menu() [1/2]

neogfx::context_menu::context_menu ( const point aPosition,
window_style  aStyle = popup_menu::DEFAULT_STYLE|window_style::DismissOnParentClick 
)

◆ context_menu() [2/2]

neogfx::context_menu::context_menu ( i_widget aParent,
const point aPosition,
window_style  aStyle = popup_menu::DEFAULT_STYLE|window_style::DismissOnParentClick 
)

◆ ~context_menu()

neogfx::context_menu::~context_menu ( )

Member Function Documentation

◆ exec()

void neogfx::context_menu::exec ( )

◆ menu()

i_menu & neogfx::context_menu::menu ( )

◆ root_widget()

popup_menu & neogfx::context_menu::root_widget ( )

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