Blender V4.5
MenuSearch_Item Struct Reference

Classes

struct  OperatorData
 
struct  PropertyData
 

Public Attributes

StringRef drawstr
 
StringRef drawwstr_full
 
int icon = 0
 
int state = 0
 
float weight = 0.0f
 
MenuSearch_Parentmenu_parent = nullptr
 
MenuTypemt = nullptr
 
std::variant< OperatorData, PropertyDatadata
 
MenuSearch_Contextwm_context = nullptr
 

Detailed Description

Definition at line 83 of file interface_template_search_menu.cc.

Member Data Documentation

◆ data

◆ drawstr

◆ drawwstr_full

StringRef MenuSearch_Item::drawwstr_full

◆ icon

int MenuSearch_Item::icon = 0

◆ menu_parent

MenuSearch_Parent* MenuSearch_Item::menu_parent = nullptr

◆ mt

MenuType* MenuSearch_Item::mt = nullptr

◆ state

int MenuSearch_Item::state = 0

◆ weight

float MenuSearch_Item::weight = 0.0f

◆ wm_context

MenuSearch_Context* MenuSearch_Item::wm_context = nullptr

Set when we need each menu item to be able to set its own context. may be nullptr.

Definition at line 117 of file interface_template_search_menu.cc.

Referenced by menu_items_from_all_operators(), menu_items_from_ui_create_item_from_button(), menu_search_exec_fn(), ui_search_menu_create_context_menu(), and ui_search_menu_create_tooltip().


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