Panel.Workbench.find_from_widget – libpanel-1 Reference Manual
Packages
libpanel-1
Panel
Workbench
id
find_from_widget
Workbench
action_set_enabled
add_workspace
find_workspace_typed
focus_workspace
foreach_workspace
get_id
install_action
install_property_action
remove_workspace
set_id
unload_async
activate
find_from_widget
Description:
[
Version
( since =
"1.4"
) ]
public
static
unowned
Workbench
?
find_from_widget
(
Widget
widget)
Finds the workbench that contains
widget
.
Parameters:
widget
a
Widget
Returns:
a
Workbench
or
null