Subgroup: Layout
Class: QgsLayoutViewMenuProvider¶
-
class
qgis.gui.
QgsLayoutViewMenuProvider
¶ Bases:
sip.wrapper
Interface for a QgsLayoutView context menu.
Implementations of this interface can be made to allow QgsLayoutView instances to provide custom context menus (opened upon right-click).
See also
New in version 3.0: Methods
createContextMenu
Returns a newly created menu instance (or null pointer on error) Signals
Attributes
-
createContextMenu
(self, parent: QWidget, layout: QgsLayout, layoutPoint: Union[QPointF, QPoint]) → QMenu¶ Returns a newly created menu instance (or null pointer on error)
-