QGIS/python/gui/auto_generated/qgsmapcanvasinteractionblocker.sip.in
Nyall Dawson 3f6b490218 Sipify
2025-04-02 11:11:10 +10:00

45 lines
1.5 KiB
Plaintext

/************************************************************************
* This file has been generated automatically from *
* *
* src/gui/qgsmapcanvasinteractionblocker.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.py again *
************************************************************************/
class QgsMapCanvasInteractionBlocker
{
%Docstring(signature="appended")
An interface for objects which block interactions with a
:py:class:`QgsMapCanvas`.
.. versionadded:: 3.14
%End
%TypeHeaderCode
#include "qgsmapcanvasinteractionblocker.h"
%End
public:
enum class Interaction
{
MapPanOnSingleClick,
};
virtual ~QgsMapCanvasInteractionBlocker();
virtual bool blockCanvasInteraction( Interaction interaction ) const = 0;
%Docstring
Returns ``True`` if the specified ``interaction`` should be blocked.
%End
};
/************************************************************************
* This file has been generated automatically from *
* *
* src/gui/qgsmapcanvasinteractionblocker.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.py again *
************************************************************************/