#include <contextmenuevent.h>
|  | 
|  | ContextMenuEvent (std::string_view id, KeyModifiers modifiers, std::any data) | 
|  | ContextMenuEvent (const ContextMenuEvent &rhs)=default | 
|  | ContextMenuEvent (ContextMenuEvent &&)=default | 
| ContextMenuEvent & | operator= (const ContextMenuEvent &that)=default | 
| ContextMenuEvent & | operator= (ContextMenuEvent &&)=default | 
| virtual ContextMenuEvent * | clone () const override | 
| std::string_view | getId () const | 
| virtual uint64_t | hash () const override | 
| KeyModifiers | modifiers () const | 
| void | setModifiers (KeyModifiers modifiers) | 
| const std::any & | data () const | 
| void | setData (std::any data) | 
| virtual bool | shouldPropagateTo (Inport *inport, Processor *processor, Outport *source) | 
| bool | markAsUsed () | 
| bool | markAsUnused () | 
| bool | setUsed (bool isUsed) | 
| bool | hasBeenUsed () const | 
| bool | markAsVisited (Processor *) | 
| void | markAsVisited (Event &) | 
| bool | hasVisitedProcessor (Processor *) const | 
| const std::vector< Processor * > & | getVisitedProcessors () const | 
| template<typename EventType> | 
| EventType * | getAs () | 
| template<typename EventType> | 
| const EventType * | getAs () const | 
| virtual void | print (std::ostream &ss) const | 
|  | 
| static constexpr uint64_t | chash () | 
|  | 
|  | Event (const Event &rhs)=default | 
| Event & | operator= (const Event &that)=default | 
A ContextMenuEvent is triggered when a custom context menu entry is selected.
- See also
- ContextMenuAction 
◆ clone()
  
  | 
        
          | virtual ContextMenuEvent * inviwo::ContextMenuEvent::clone | ( |  | ) | const |  | overridevirtual | 
 
 
◆ getId()
      
        
          | std::string_view inviwo::ContextMenuEvent::getId | ( |  | ) | const | 
      
 
ID of the triggered context menu action 
 
 
◆ hash()
  
  | 
        
          | virtual uint64_t inviwo::ContextMenuEvent::hash | ( |  | ) | const |  | overridevirtual | 
 
 
The documentation for this class was generated from the following file: