Blender V4.3
uiLayout Struct Reference

Inherits uiItem.

Inherited by uiLayoutItemBx, uiLayoutItemFlow, uiLayoutItemGridFlow, uiLayoutItemPanelBody, uiLayoutItemPanelHeader, uiLayoutItemRoot, and uiLayoutItemSplit.

Public Attributes

uiLayoutRootroot
bContextStorecontext
uiLayoutparent
blender::Vector< uiItem * > items
char heading [UI_MAX_NAME_STR]
uiLayoutchild_items_layout
int x
int y
int w
int h
float scale [2]
short space
bool align
bool active
bool active_default
bool activate_init
bool enabled
bool redalert
bool keepaspect
bool variable_size
char alignment
eUIEmbossType emboss
float units [2]
float search_weight
Public Attributes inherited from uiItem
uiItemType type
uiItemInternalFlag flag

Additional Inherited Members

Public Member Functions inherited from uiItem
 uiItem ()=default
 uiItem (const uiItem &)=default
virtual ~uiItem ()=default

Detailed Description

Definition at line 147 of file interface_layout.cc.

Member Data Documentation

◆ activate_init

bool uiLayout::activate_init

◆ active

bool uiLayout::active

◆ active_default

bool uiLayout::active_default

◆ align

◆ alignment

◆ child_items_layout

uiLayout* uiLayout::child_items_layout

Sub layout to add child items, if not the layout itself.

Definition at line 156 of file interface_layout.cc.

Referenced by ui_item_prop_split_layout_hack(), ui_layout_add_but(), ui_layout_find_button_item(), ui_layout_remove_but(), and ui_litem_init_from_parent().

◆ context

◆ emboss

◆ enabled

bool uiLayout::enabled

◆ h

◆ heading

char uiLayout::heading[UI_MAX_NAME_STR]

Definition at line 153 of file interface_layout.cc.

Referenced by ui_layout_heading_label_add(), and ui_layout_heading_set().

◆ items

◆ keepaspect

bool uiLayout::keepaspect

Definition at line 167 of file interface_layout.cc.

Referenced by uiLayoutGetKeepAspect(), and uiLayoutSetKeepAspect().

◆ parent

uiLayout* uiLayout::parent

Definition at line 150 of file interface_layout.cc.

Referenced by ui_layout_heading_find(), and ui_litem_init_from_parent().

◆ redalert

◆ root

uiLayoutRoot* uiLayout::root

Definition at line 148 of file interface_layout.cc.

Referenced by menu_item_enum_opname_menu(), UI_block_layout(), ui_item_array(), ui_item_disabled(), ui_item_enum_expand_exec(), ui_item_layout(), ui_item_menu(), ui_item_menu_hold(), ui_item_rna_size(), ui_layout_box(), ui_layout_end(), ui_layout_is_radial(), ui_layout_vary_direction(), ui_litem_estimate_box(), ui_litem_estimate_column_flow(), ui_litem_estimate_grid_flow(), ui_litem_init_from_parent(), ui_litem_layout_box(), ui_litem_layout_column_flow(), ui_litem_layout_grid_flow(), ui_litem_layout_panel_body(), ui_litem_layout_panel_header(), ui_litem_layout_radial(), ui_litem_layout_root(), ui_menu_enumpropname(), ui_text_icon_width_ex(), uiItemBooleanO(), uiItemDecoratorR_prop(), uiItemEnumO_ptr(), uiItemEnumO_string(), uiItemEnumO_value(), uiItemEnumR_string_prop(), uiItemFloatO(), uiItemFullO_ptr_ex(), uiItemFullR(), uiItemFullR_with_menu(), uiItemFullR_with_popover(), uiItemIntO(), uiItemL_(), uiItemM_ptr(), uiItemMContents(), uiItemMenuEnumFullO_ptr(), uiItemMenuEnumR_prop(), uiItemO(), uiItemPopoverPanel_ptr(), uiItemProgressIndicator(), uiItemS_ex(), uiItemsEnumO(), uiItemsEnumR(), uiItemsFullEnumO(), uiItemsFullEnumO_items(), uiItemSpacer(), uiItemStringO(), uiItemTabsEnumR_prop(), uiLayoutAbsolute(), uiLayoutColumn(), uiLayoutColumnFlow(), uiLayoutContextCopy(), uiLayoutGetBlock(), uiLayoutGetEmboss(), uiLayoutGetOperatorContext(), uiLayoutGetRootPanel(), uiLayoutGridFlow(), uiLayoutOverlap(), uiLayoutPanelProp(), uiLayoutRadial(), uiLayoutRow(), uiLayoutSetContextPointer(), uiLayoutSetContextString(), uiLayoutSetFunc(), uiLayoutSetOperatorContext(), and uiLayoutSplit().

◆ scale

◆ search_weight

float uiLayout::search_weight

Is copied to uiButs created in this layout.

Definition at line 175 of file interface_layout.cc.

Referenced by ui_layout_add_but(), uiLayoutGetSearchWeight(), and uiLayoutSetSearchWeight().

◆ space

◆ units

float uiLayout::units[2]

for fixed width or height to avoid UI size changes

Definition at line 173 of file interface_layout.cc.

Referenced by ui_item_estimate(), uiLayoutGetUnitsX(), uiLayoutGetUnitsY(), uiLayoutSetUnitsX(), and uiLayoutSetUnitsY().

◆ variable_size

bool uiLayout::variable_size

For layouts inside grid-flow, they and their items shall never have a fixed maximal size.

Definition at line 169 of file interface_layout.cc.

Referenced by ui_layout_variable_size(), and ui_litem_init_from_parent().

◆ w

◆ x

◆ y


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