Panel.Workspace.find_from_widget – libpanel-1 Reference Manual
Packages
libpanel-1
Panel
Workspace
id
find_from_widget
Workspace
action_set_enabled
get_workbench
inhibit
install_action
install_property_action
find_from_widget
Description:
[
Version
( since =
"1.4"
) ]
public
static
unowned
Workspace
?
find_from_widget
(
Widget
widget)
Finds the workspace that contains
widget
.
Parameters:
widget
a
Widget
Returns:
a
Workspace
or
null