Method

PanelDocumentWorkspaceadd_widget

Declaration [src]

gboolean
panel_document_workspace_add_widget (
  PanelDocumentWorkspace* self,
  PanelWidget* widget,
  PanelPosition* position
)

Description [src]

Requests the workspace add widget to the dock at position.

Available since:1.4

Parameters

widget PanelWidget
 

A PanelWidget.

 The data is owned by the caller of the function.
position PanelPosition
 

A PanelPosition or NULL.

 The argument can be NULL.
 The data is owned by the caller of the function.

Return value

Returns: gboolean
 

TRUE if widget was added; otherwise FALSE and widget will have g_object_ref_sink() called and unref’d from an idle callback.