Inkscape
Vector Graphics Editor
Loading...
Searching...
No Matches
Inkscape::ButtonReleaseEvent Struct Referencefinal

A mouse button (left/right/middle) is released. More...

#include <canvas-event.h>

Inheritance diagram for Inkscape::ButtonReleaseEvent:
Inkscape::ButtonEvent Inkscape::CanvasEvent

Public Member Functions

EventType type () const override
 Return the dynamic type of the CanvasEvent.
 
- Public Member Functions inherited from Inkscape::ButtonEvent
unsigned modifiersChange () const override
 Get the change in the modifiers due to this event.
 
- Public Member Functions inherited from Inkscape::CanvasEvent
virtual ~CanvasEvent ()
 
unsigned modifiersAfter () const
 Get the modifiers mask immediately after the event. (Convenience function.)
 

Additional Inherited Members

- Public Attributes inherited from Inkscape::ButtonEvent
Geom::Point pos
 Location of the cursor, in world coordinates.
 
Geom::Point orig_pos
 Location of the cursor, in GDK event / canvas widget coordinates.
 
unsigned button = 0
 The button that was pressed/released. (Matches GDK_BUTTON_*.)
 
uint32_t time = 0
 Timestamp of the event in milliseconds.
 
- Public Attributes inherited from Inkscape::CanvasEvent
unsigned modifiers = 0
 The modifiers mask immediately before the event.
 
std::shared_ptr< Gdk::Device const > device
 The device that sourced the event. May be null.
 

Detailed Description

A mouse button (left/right/middle) is released.

May also be used for touch interactions.

Definition at line 133 of file canvas-event.h.

Member Function Documentation

◆ type()

EventType Inkscape::ButtonReleaseEvent::type ( ) const
inlineoverridevirtual

Return the dynamic type of the CanvasEvent.

Implements Inkscape::CanvasEvent.

Definition at line 135 of file canvas-event.h.

References Inkscape::BUTTON_RELEASE.


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