will have [gobject.object.ObjectWrap.refSink] called and unref'd from an idle callback.
DocumentWorkspace.addWidget
bool addWidget(panel.widget.Widget widget, panel.position.Position position = null)Requests the workspace add widget to the dock at position.
Parameters
widget | a #PanelWidget |
position | a #PanelPosition or null |
Returns
true if widget was added; otherwise false and widget