Changeset View
Changeset View
Standalone View
Standalone View
release/scripts/startup/bl_ui/space_topbar.py
| Show First 20 Lines • Show All 59 Lines • ▼ Show 20 Lines | def draw_right(self, context): | ||||
| row = layout.row(align=True) | row = layout.row(align=True) | ||||
| row.template_search( | row.template_search( | ||||
| window, "view_layer", | window, "view_layer", | ||||
| scene, "view_layers", | scene, "view_layers", | ||||
| new="scene.view_layer_add", | new="scene.view_layer_add", | ||||
| unlink="scene.view_layer_remove") | unlink="scene.view_layer_remove") | ||||
| row = layout.row(align=True) | |||||
| # TODO: "new" and "delete" operators | |||||
| row.template_ID(window, "video_edit") | |||||
| class TOPBAR_PT_tool_settings_extra(Panel): | class TOPBAR_PT_tool_settings_extra(Panel): | ||||
| """ | """ | ||||
| Popover panel for adding extra options that don't fit in the tool settings header | Popover panel for adding extra options that don't fit in the tool settings header | ||||
| """ | """ | ||||
| bl_idname = "TOPBAR_PT_tool_settings_extra" | bl_idname = "TOPBAR_PT_tool_settings_extra" | ||||
| bl_region_type = 'HEADER' | bl_region_type = 'HEADER' | ||||
| bl_space_type = 'TOPBAR' | bl_space_type = 'TOPBAR' | ||||
| ▲ Show 20 Lines • Show All 886 Lines • Show Last 20 Lines | |||||