Class: QgsDataItemGuiContext¶
-
class
qgis.gui.
QgsDataItemGuiContext
¶ Bases:
sip.wrapper
Constructor for QgsDataItemGuiContext.
QgsDataItemGuiContext(
QgsDataItemGuiContext
)Encapsulates the context in which a
QgsDataItem
is shown within the application GUI.Methods
Returns the associated message bar.
Sets the associated message
bar
.-
messageBar
(self) → QgsMessageBar¶ Returns the associated message bar.
This bar can be used to provide non-blocking feedback to users.
See also
- Return type
-
setMessageBar
(self, bar: QgsMessageBar)¶ Sets the associated message
bar
.This bar can be used to provide non-blocking feedback to users.
See also
- Parameters
bar (QgsMessageBar) –
-