7#include <xtd/drawing/point>
8#include <xtd/iclonable>
45 explicit context_menu(
const std::vector<menu_item_ref>& menu_items);
49 explicit context_menu(
const std::initializer_list<const_menu_item_ref>& menu_items);
79 void on_item_removed(
size_t pos,
menu_item_ref item)
override;
84 bool on_item_click(
intptr menu_id);
Represents an ordered pair of integer x- and y-coordinates that defines a point in a two-dimensional ...
Definition point.hpp:54
Supports cloning, which creates a new instance of a class with the same value as an existing instance...
Definition iclonable.hpp:21
#define forms_export_
Define shared library export.
Definition forms_export.hpp:13
std::unique_ptr< type_t > uptr
The xtd::uptr object is a unique pointer.
Definition uptr.hpp:25
intmax_t intptr
Represent a pointer or a handle.
Definition intptr.hpp:23
@ control
The left or right CTRL modifier key.
Contains xtd::forms::message class.
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.hpp:10