Blender V5.0
blender::ui::ContextPathItem Struct Reference

#include <UI_interface.hh>

Public Attributes

std::string name
int icon
int icon_indicator_number
std::function< void(bContext &)> handle_func

Detailed Description

An item in a breadcrumb-like context. Currently this struct is very simple, but more could be added to it in the future, to support interactivity or tooltips, for example.

Definition at line 73 of file UI_interface.hh.

Member Data Documentation

◆ handle_func

std::function<void(bContext &)> blender::ui::ContextPathItem::handle_func

Definition at line 80 of file UI_interface.hh.

◆ icon

int blender::ui::ContextPathItem::icon

Definition at line 77 of file UI_interface.hh.

◆ icon_indicator_number

int blender::ui::ContextPathItem::icon_indicator_number

Definition at line 78 of file UI_interface.hh.

◆ name

std::string blender::ui::ContextPathItem::name

Definition at line 75 of file UI_interface.hh.


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