Class: QgsHistoryWidgetContext¶
- class qgis.gui.QgsHistoryWidgetContext¶
Bases:
sip.wrapper
Contains settings which reflect the context in which a history widget is shown, e.g., an associated message bar.
New in version 3.32.
QgsHistoryWidgetContext() Constructor for QgsHistoryWidgetContext.
QgsHistoryWidgetContext(
QgsHistoryWidgetContext
)Methods
Returns the message bar associated with the widget.
Sets the message
bar
associated with the widget.- messageBar(self) QgsMessageBar ¶
Returns the message bar associated with the widget.
See also
- Return type:
- setMessageBar(self, bar: QgsMessageBar)¶
Sets the message
bar
associated with the widget. This allows the widget to push feedback messages to the appropriate message bar.See also
- Parameters:
bar (QgsMessageBar) –