Blender  V3.3
Classes | Functions
blender::ui Namespace Reference

Classes

class  AbstractView
 
class  AbstractViewItem
 
class  AbstractViewItemDragController
 
class  AbstractViewItemDropController
 
class  AbstractGridViewItem
 
struct  GridViewStyle
 
class  AbstractGridView
 
class  GridViewBuilder
 
class  PreviewGridItem
 
struct  ContextPathItem
 
class  TreeViewItemContainer
 
class  AbstractTreeView
 
class  AbstractTreeViewItem
 Abstract base class for defining a customizable tree-view item. More...
 
class  BasicTreeViewItem
 
class  TreeViewBuilder
 
class  ViewItemAPIWrapper
 
class  BuildOnlyVisibleButtonsHelper
 
class  GridViewLayoutBuilder
 
class  TreeViewLayoutBuilder
 

Functions

void context_path_add_generic (Vector< ContextPathItem > &path, StructRNA &rna_type, void *ptr, const BIFIconID icon_override=ICON_NONE)
 
void attribute_search_add_items (StringRefNull str, bool can_create_attribute, Span< const nodes::geometry_nodes_eval_log::GeometryAttributeInfo * > infos, uiSearchItems *items, bool is_first)
 
static StringRef attribute_data_type_string (const eCustomDataType type)
 
static StringRef attribute_domain_string (const eAttrDomain domain)
 
static bool attribute_search_item_add (uiSearchItems *items, const GeometryAttributeInfo &item)
 
Breadcrumb Template
void template_breadcrumbs (uiLayout &layout, Span< ContextPathItem > context_path)
 
Renaming
static AbstractViewItemfind_item_from_rename_button (const uiBut &rename_but)
 
static void rename_button_fn (bContext *UNUSED(C), void *arg, char *UNUSED(origstr))
 

Tree-View Item Container

Base class for tree-view and tree-view items, so both can contain children.

using TreeViewOrItem = TreeViewItemContainer
 
 ENUM_OPERATORS (TreeViewItemContainer::IterOptions, TreeViewItemContainer::IterOptions::SkipCollapsed)
 

Typedef Documentation

◆ TreeViewOrItem

The container class is the base for both the tree-view and the items. This alias gives it a clearer name for handles that accept both. Use whenever something wants to act on child-items, irrespective of if they are stored at root level or as children of some other item.

Definition at line 102 of file UI_tree_view.hh.

Function Documentation

◆ attribute_data_type_string()

static StringRef blender::ui::attribute_data_type_string ( const eCustomDataType  type)
static

◆ attribute_domain_string()

static StringRef blender::ui::attribute_domain_string ( const eAttrDomain  domain)
static

◆ attribute_search_add_items()

void blender::ui::attribute_search_add_items ( StringRefNull  str,
bool  can_create_attribute,
Span< const nodes::geometry_nodes_eval_log::GeometryAttributeInfo * >  infos,
uiSearchItems items,
bool  is_first 
)

◆ attribute_search_item_add()

static bool blender::ui::attribute_search_item_add ( uiSearchItems items,
const GeometryAttributeInfo item 
)
static

◆ context_path_add_generic()

void blender::ui::context_path_add_generic ( Vector< ContextPathItem > &  path,
StructRNA rna_type,
void ptr,
const BIFIconID  icon_override = ICON_NONE 
)

◆ ENUM_OPERATORS()

◆ find_item_from_rename_button()

static AbstractViewItem* blender::ui::find_item_from_rename_button ( const uiBut rename_but)
static

◆ rename_button_fn()

static void blender::ui::rename_button_fn ( bContext UNUSEDC,
void arg,
char *  UNUSEDorigstr 
)
static

◆ template_breadcrumbs()

void blender::ui::template_breadcrumbs ( uiLayout layout,
Span< ContextPathItem context_path 
)