Blender V5.0
#include <cstdlib>
#include "DNA_screen_types.h"
#include "BLT_translation.hh"
#include "BKE_file_handler.hh"
#include "BKE_screen.hh"
#include "RNA_define.hh"
#include "RNA_enum_types.hh"
#include "rna_internal.hh"
#include "UI_interface.hh"
#include "UI_interface_layout.hh"
#include "WM_toolsystem.hh"
#include "WM_types.hh"

Go to the source code of this file.

Typedefs

using wmOpCallContext = blender::wm::OpCallContext

Functions

static void rna_def_ui_layout (BlenderRNA *brna)
static void rna_def_panel (BlenderRNA *brna)
static void rna_def_uilist (BlenderRNA *brna)
static void rna_def_header (BlenderRNA *brna)
static void rna_def_menu (BlenderRNA *brna)
static void rna_def_asset_shelf (BlenderRNA *brna)
static void rna_def_file_handler (BlenderRNA *brna)
static void rna_def_layout_panel_state (BlenderRNA *brna)
void RNA_def_ui (BlenderRNA *brna)

Variables

const EnumPropertyItem rna_enum_operator_context_items []
const EnumPropertyItem rna_enum_uilist_layout_type_items []

Typedef Documentation

◆ wmOpCallContext

Definition at line 30 of file rna_ui.cc.

Function Documentation

◆ rna_def_asset_shelf()

◆ rna_def_file_handler()

◆ rna_def_header()

◆ rna_def_layout_panel_state()

void rna_def_layout_panel_state ( BlenderRNA * brna)
static

◆ rna_def_menu()

◆ rna_def_panel()

void rna_def_panel ( BlenderRNA * brna)
static

◆ RNA_def_ui()

◆ rna_def_ui_layout()

◆ rna_def_uilist()

Variable Documentation

◆ rna_enum_operator_context_items

const EnumPropertyItem rna_enum_operator_context_items[]
Initial value:
= {
{int(wmOpCallContext::InvokeDefault), "INVOKE_DEFAULT", 0, "Invoke Default", ""},
{int(wmOpCallContext::InvokeRegionWin), "INVOKE_REGION_WIN", 0, "Invoke Region Window", ""},
{int(wmOpCallContext::InvokeRegionChannels), "INVOKE_REGION_CHANNELS", 0, "Invoke Region Channels", ""},
{int(wmOpCallContext::InvokeRegionPreview), "INVOKE_REGION_PREVIEW", 0, "Invoke Region Preview", ""},
{int(wmOpCallContext::InvokeArea), "INVOKE_AREA", 0, "Invoke Area", ""},
{int(wmOpCallContext::InvokeScreen), "INVOKE_SCREEN", 0, "Invoke Screen", ""},
{int(wmOpCallContext::ExecDefault), "EXEC_DEFAULT", 0, "Exec Default", ""},
{int(wmOpCallContext::ExecRegionWin), "EXEC_REGION_WIN", 0, "Exec Region Window", ""},
{int(wmOpCallContext::ExecRegionChannels), "EXEC_REGION_CHANNELS", 0, "Exec Region Channels", ""},
{int(wmOpCallContext::ExecRegionPreview), "EXEC_REGION_PREVIEW", 0, "Exec Region Preview", ""},
{int(wmOpCallContext::ExecArea), "EXEC_AREA", 0, "Exec Area", ""},
{int(wmOpCallContext::ExecScreen), "EXEC_SCREEN", 0, "Exec Screen", ""},
{0, nullptr, 0, nullptr, nullptr},
}

Definition at line 33 of file rna_ui.cc.

Referenced by pyop_call(), pyop_poll(), RNA_api_keyconfigs(), and rna_def_ui_layout().

◆ rna_enum_uilist_layout_type_items

const EnumPropertyItem rna_enum_uilist_layout_type_items[]
Initial value:
= {
{UILST_LAYOUT_DEFAULT, "DEFAULT", 0, "Default Layout", "Use the default, multi-rows layout"},
{UILST_LAYOUT_COMPACT, "COMPACT", 0, "Compact Layout", "Use the compact, single-row layout"},
{0, nullptr, 0, nullptr, nullptr},
}
@ UILST_LAYOUT_COMPACT
@ UILST_LAYOUT_DEFAULT

Definition at line 50 of file rna_ui.cc.

Referenced by RNA_api_ui_layout(), and rna_def_uilist().