Blender V4.5
uiListDyn Struct Reference

#include <DNA_screen_types.h>

Public Attributes

uiListFreeRuntimeDataFunc free_runtime_data_fn
int height
int visual_height
int visual_height_min
int columns
int items_len
int items_shown
int resize
int resize_prev
void * customdata
int * items_filter_flags
int * items_filter_neworder
struct wmOperatorTypecustom_drag_optype
struct PointerRNAcustom_drag_opptr
struct wmOperatorTypecustom_activate_optype
struct PointerRNAcustom_activate_opptr

Detailed Description

Definition at line 268 of file DNA_screen_types.h.

Member Data Documentation

◆ columns

int uiListDyn::columns

Number of columns drawn for grid layouts.

Definition at line 280 of file DNA_screen_types.h.

Referenced by ui_handle_list_event(), and uilist_prepare().

◆ custom_activate_opptr

struct PointerRNA* uiListDyn::custom_activate_opptr

◆ custom_activate_optype

◆ custom_drag_opptr

◆ custom_drag_optype

◆ customdata

void* uiListDyn::customdata

Allocated custom data. Freed together with the uiList (and when re-assigning).

Definition at line 295 of file DNA_screen_types.h.

Referenced by asset_view_draw_item(), asset_view_filter_items(), uilist_free_dyn_data(), and uiTemplateList_ex().

◆ free_runtime_data_fn

uiListFreeRuntimeDataFunc uiListDyn::free_runtime_data_fn

Callback to free UI data when freeing UI-Lists in BKE.

Definition at line 270 of file DNA_screen_types.h.

Referenced by ui_list_ensure().

◆ height

int uiListDyn::height

Number of rows needed to draw all elements.

Definition at line 273 of file DNA_screen_types.h.

Referenced by ui_handle_list_event(), ui_template_list_layout_draw(), and uilist_prepare().

◆ items_filter_flags

int* uiListDyn::items_filter_flags

This bit-field is effectively exposed in Python, and scripts are explicitly allowed to assign any own meaning to the lower 16 ones. items_len length.

Definition at line 301 of file DNA_screen_types.h.

Referenced by ui_handle_list_event(), ui_list_ensure(), UI_list_filter_and_sort_items(), UI_list_item_index_is_filtered_visible(), ui_template_list_collect_items(), and uilist_free_dyn_data().

◆ items_filter_neworder

int* uiListDyn::items_filter_neworder

Org_idx -> new_idx, items_len length.

Definition at line 303 of file DNA_screen_types.h.

Referenced by ui_handle_list_event(), ui_list_ensure(), UI_list_filter_and_sort_items(), ui_template_list_collect_items(), and uilist_free_dyn_data().

◆ items_len

int uiListDyn::items_len

Number of items in collection.

Definition at line 283 of file DNA_screen_types.h.

Referenced by ui_handle_list_event(), ui_list_ensure(), UI_list_filter_and_sort_items(), and ui_template_list_collect_display_items().

◆ items_shown

int uiListDyn::items_shown

◆ resize

int uiListDyn::resize

Definition at line 291 of file DNA_screen_types.h.

Referenced by ui_template_list_layout_draw(), and uilist_resize_update().

◆ resize_prev

int uiListDyn::resize_prev

Definition at line 292 of file DNA_screen_types.h.

Referenced by ui_template_list_layout_draw(), and uilist_resize_update().

◆ visual_height

int uiListDyn::visual_height

Actual visual height of the list (in rows).

Definition at line 275 of file DNA_screen_types.h.

Referenced by ui_handle_list_event(), ui_template_list_layout_draw(), and uilist_prepare().

◆ visual_height_min

int uiListDyn::visual_height_min

Minimal visual height of the list (in rows).

Definition at line 277 of file DNA_screen_types.h.

Referenced by ui_handle_list_event(), and uilist_prepare().


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