Function

IdeWorkbenchfrom_widget

Declaration

IdeWorkbench*
ide_workbench_from_widget (
  GtkWidget* widget
)

Description

Finds the IdeWorkbench associated with a widget.

Parameters

widget

Type: GtkWidget

A GtkWidget.

The data is owned by the caller of the function.

Return value

Type: IdeWorkbench

An IdeWorkbench or NULL.

The data is owned by the called function.
The return value can be NULL.