Blender V4.3
MenuSearch_Context Struct Reference

Public Attributes

int space_type_ui_index
 
ScrAreaarea
 
ARegionregion
 

Detailed Description

Use when menu_items_from_ui_create is called with include_all_areas. so we can run the menu item in the area it was extracted from.

Definition at line 62 of file interface_template_search_menu.cc.

Member Data Documentation

◆ area

◆ region

◆ space_type_ui_index

int MenuSearch_Context::space_type_ui_index

Index into Area.ui_type EnumPropertyItem or the top-bar when -1. Needed to get the display-name to use as a prefix for each menu item.

Definition at line 67 of file interface_template_search_menu.cc.

Referenced by menu_items_from_ui_create().


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