Skip to content

RPenListener

Class in Core Module
Header: #include <src/core/RPenListener.h>

Abstract base class for classes that are interested in being notified whenever the current pen changes.

This can for example be a widget that displays the current pen.

Scriptable: This class is available in script environments.

virtual ~RPenListener()
virtual void clearPen()=0 = 0
This method is called to signal that no document is currently active.
virtual void updatePen(RDocumentInterface *documentInterface)=0 = 0
This method is called whenever the current pen has changed.

virtual RPenListener::~RPenListener()

virtual inline

virtual void RPenListener::clearPen()=0 = 0

pure virtual

This method is called to signal that no document is currently active.

virtual void RPenListener::updatePen(RDocumentInterface *documentInterface)=0 = 0

pure virtual

This method is called whenever the current pen has changed.