Class: widget::ContextMenu


Synopsis:

+  static void     init                 (ewol::WidgetManager & _widgetManager);
+ ContextMenu (const std::string & _shaperName);
+ ~ContextMenu (void);
+ void setShaperName (const std::string & _shaperName);
+ void setPositionMark (enum markPosition position,
vec2 arrowPos);
+ void onRegenerateDisplay (void);
+ bool onEventInput (const ewol::EventInput & _event);
+ void calculateSize (const vec2 & availlable);
+ void calculateMinMaxSize (void);
+ ewol::Widget * getWidgetAtPos (const vec2 & pos);
# void onDraw (void);
# bool onSetConfig (const ewol::EConfig & _conf);
# bool onGetConfig (const char * _config,
std::string & _result);

Object Hierarchy:

ewol::EObject
    +--> ewol::Widget
        +--> widget::Container
            +--> widget::ContextMenu

Description:

/** * @ingroup ewolWidgetGroup */

Detail:

widget::init ()

static void init(ewol::WidgetManager & _widgetManager);



widget::ContextMenu ()

ContextMenu(const std::string & _shaperName);



widget::~ContextMenu ()

~ContextMenu(void);



setShaperName ()

void setShaperName(const std::string & _shaperName);

set the shaper name (use the contructer one this permit to not noad unused shaper)


setPositionMark ()

void setPositionMark(enum markPosition position,
                     vec2 arrowPos);



onRegenerateDisplay ()

void onRegenerateDisplay(void);



onEventInput ()

bool onEventInput(const ewol::EventInput & _event);



calculateSize ()

void calculateSize(const vec2 & availlable);



calculateMinMaxSize ()

void calculateMinMaxSize(void);



getWidgetAtPos ()

ewol::Widget * getWidgetAtPos(const vec2 & pos);



onDraw ()

void onDraw(void);



onSetConfig ()

bool onSetConfig(const ewol::EConfig & _conf);



onGetConfig ()

bool onGetConfig(const char * _config,
                 std::string & _result);