base class — bpy_struct
User interface layout in a panel or header
Type : | boolean, default False |
---|
Type : | boolean, default False |
---|
Type : | enum in [‘EXPAND’, ‘LEFT’, ‘CENTER’, ‘RIGHT’], default ‘EXPAND’ |
---|
When false, this (sub)layout is grayed out
Type : | boolean, default False |
---|
Type : | enum in [‘INVOKE_DEFAULT’, ‘INVOKE_REGION_WIN’, ‘INVOKE_REGION_CHANNELS’, ‘INVOKE_REGION_PREVIEW’, ‘INVOKE_AREA’, ‘INVOKE_SCREEN’, ‘EXEC_DEFAULT’, ‘EXEC_REGION_WIN’, ‘EXEC_REGION_CHANNELS’, ‘EXEC_REGION_PREVIEW’, ‘EXEC_AREA’, ‘EXEC_SCREEN’], default ‘INVOKE_DEFAULT’ |
---|
Scale factor along the X for items in this (sub)layout
Type : | float in [0, inf], default 0.0 |
---|
Scale factor along the Y for items in this (sub)layout
Type : | float in [0, inf], default 0.0 |
---|
Sub-layout. Items placed in this sublayout are placed next to each other in a row
Parameters: | align (boolean, (optional)) – Align buttons to each other |
---|---|
Returns: | Sub-layout to put items in |
Return type: | UILayout |
Sub-layout. Items placed in this sublayout are placed under each other in a column
Parameters: | align (boolean, (optional)) – Align buttons to each other |
---|---|
Returns: | Sub-layout to put items in |
Return type: | UILayout |
column_flow
Parameters: |
|
---|---|
Returns: | Sub-layout to put items in |
Return type: |
Sublayout (items placed in this sublayout are placed under each other in a column and are surrounded by a box)
Returns: | Sub-layout to put items in |
---|---|
Return type: | UILayout |
split
Parameters: |
|
---|---|
Returns: | Sub-layout to put items in |
Return type: |
Return the custom icon for this data, use it e.g. to get materials or texture icons
Parameters: | data (AnyType, (never None)) – Data from which to take the icon |
---|---|
Returns: | Icon identifier |
Return type: | int in [0, inf] |
Return the UI name for this enum item
Parameters: |
|
---|---|
Returns: | UI name of the enum item |
Return type: | string, (never None) |
Return the UI description for this enum item
Parameters: |
|
---|---|
Returns: | UI description of the enum item |
Return type: | string, (never None) |
Return the icon for this enum item
Parameters: |
|
---|---|
Returns: | Icon identifier |
Return type: | int in [0, inf] |
Item. Exposes an RNA item and places it into the layout
Parameters: |
|
---|
props_enum
Parameters: |
|
---|
prop_menu_enum
Parameters: |
|
---|
prop_enum
Parameters: |
|
---|
prop_search
Parameters: |
|
---|
Item. Places a button into the layout to call an Operator
Parameters: |
|
---|---|
Returns: | Operator properties to fill in, return when ‘properties’ is set to true |
Return type: |
operator_enum
Parameters: |
|
---|
operator_menu_enum
Parameters: |
|
---|
Item. Display text and/or icon in the layout
Parameters: |
|
---|
menu
Parameters: |
|
---|
Item. Inserts empty space into the layout between items
context_pointer_set
Parameters: |
|
---|
template_header
Parameters: | menus (boolean, (optional)) – The header has menus, and should show menu expander |
---|
template_ID
Parameters: |
|
---|
template_ID_preview
Parameters: |
|
---|
template_any_ID
Parameters: |
|
---|
template_path_builder
Parameters: |
|
---|
Layout . Generates the UI layout for modifiers
Parameters: | data (Modifier, (never None)) – Modifier data |
---|---|
Returns: | Sub-layout to put items in |
Return type: | UILayout |
Layout . Generates the UI layout for constraints
Parameters: | data (Constraint, (never None)) – Constraint data |
---|---|
Returns: | Sub-layout to put items in |
Return type: | UILayout |
Item. A preview window for materials, textures, lamps, etc
Parameters: |
|
---|
Item. A curve mapping widget used for e.g falloff curves for lamps
Parameters: |
|
---|
Item. A color ramp widget
Parameters: |
|
---|
Enum. Large widget showing Icon previews
Parameters: |
|
---|
Item. A histogramm widget to analyze imaga data
Parameters: |
|
---|
Item. A waveform widget to analyze imaga data
Parameters: |
|
---|
Item. A vectorscope widget to analyze imaga data
Parameters: |
|
---|
template_layers
Parameters: |
|
---|
Item. A color wheel widget to pick colors
Parameters: |
|
---|
template_image_layers
Item(s). User interface for selecting images and their source paths
Parameters: |
|
---|
User interface for setting image format options
Parameters: | color_management (boolean, (optional)) – Show color management settings |
---|
Item(s). User interface for selecting movie clips and their source paths
Parameters: |
|
---|
Item. A movie-track widget to preview tracking image.
Parameters: |
|
---|
Item. A widget to control single marker settings.
Parameters: |
|
---|
Item. Movie clip information data.
Parameters: |
|
---|
Item. A list widget to display data, e.g. vertexgroups.
Parameters: |
|
---|
template_running_jobs
template_operator_search
template_header_3D
template_edit_mode_selection
template_reports_banner
template_node_link
template_node_view
template_texture_user
template_keymap_item_properties
Item. Display expanded property in a popup menu
Parameters: |
|
---|
introspect
Returns: | Descr, DESCR |
---|---|
Return type: | string, (never None) |
Item. A widget to control input color space settings.
Parameters: |
|
---|
Item. A widget to control color managed view settings settings.
Parameters: |
|
---|
Node Socket Icon
Parameters: | color (float array of 4 items in [0, 1], (optional)) – Color |
---|
Inherited Properties
Inherited Functions
References