Blender  V3.3
Public Attributes | List of all members
WorkSpace Struct Reference

#include <DNA_workspace_types.h>

Public Attributes

ID id
 
ListBase layouts
 
ListBase hook_layout_relations
 
ListBase owner_ids
 
ListBase tools
 
struct Scenepin_scene
 
char _pad [4]
 
int object_mode
 
int flags
 
int order
 
char * status_text
 
AssetLibraryReference asset_library_ref
 

Detailed Description

Definition at line 109 of file DNA_workspace_types.h.

Member Data Documentation

◆ _pad

char WorkSpace::_pad[4]

Definition at line 130 of file DNA_workspace_types.h.

◆ asset_library_ref

AssetLibraryReference WorkSpace::asset_library_ref

Workspace-wide active asset library, for asset UIs to use (e.g. asset view UI template). The Asset Browser has its own and doesn't use this.

Definition at line 145 of file DNA_workspace_types.h.

Referenced by screen_ctx_asset_library(), and workspace_init_data().

◆ flags

int WorkSpace::flags

◆ hook_layout_relations

ListBase WorkSpace::hook_layout_relations

◆ id

ID WorkSpace::id

◆ layouts

ListBase WorkSpace::layouts

◆ object_mode

int WorkSpace::object_mode

◆ order

int WorkSpace::order

Number for workspace tab reordering in the UI.

Definition at line 138 of file DNA_workspace_types.h.

Referenced by ED_workspace_duplicate().

◆ owner_ids

ListBase WorkSpace::owner_ids

◆ pin_scene

struct Scene* WorkSpace::pin_scene

Optional, scene to switch to when enabling this workspace (NULL to disable). Cleared on link/append.

Definition at line 128 of file DNA_workspace_types.h.

Referenced by ED_workspace_duplicate(), workspace_blend_read_lib(), workspace_exit(), workspace_foreach_id(), and workspace_scene_pinning_update().

◆ status_text

char* WorkSpace::status_text

Info text from modal operators (runtime).

Definition at line 141 of file DNA_workspace_types.h.

Referenced by ED_workspace_status_text(), uiTemplateInputStatus(), workspace_blend_read_data(), and workspace_free_data().

◆ tools

ListBase WorkSpace::tools

The documentation for this struct was generated from the following file: