Blender  V3.3
Public Attributes | List of all members
Panel_Runtime Struct Reference

#include <DNA_screen_types.h>

Public Attributes

int region_ofsx
 
char _pad [4]
 
struct PointerRNAcustom_data_ptr
 
struct uiBlockblock
 
struct bContextStorecontext
 

Detailed Description

Definition at line 123 of file DNA_screen_types.h.

Member Data Documentation

◆ _pad

char Panel_Runtime::_pad[4]

Definition at line 127 of file DNA_screen_types.h.

◆ block

struct uiBlock* Panel_Runtime::block

◆ context

struct bContextStore* Panel_Runtime::context

◆ custom_data_ptr

struct PointerRNA* Panel_Runtime::custom_data_ptr

Pointer for storing which data the panel corresponds to. Useful when there can be multiple instances of the same panel type.

Note
A panel and its sub-panels share the same custom data pointer. This avoids freeing the same pointer twice when panels are removed.

Definition at line 136 of file DNA_screen_types.h.

Referenced by panel_add_instanced(), UI_panel_custom_data_get(), UI_panel_custom_data_set(), ui_panel_custom_data_set_recursive(), and ui_paneltype_draw_impl().

◆ region_ofsx

int Panel_Runtime::region_ofsx

Definition at line 125 of file DNA_screen_types.h.

Referenced by panel_calculate_size_recursive(), and uiAlignPanelStep().


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