Blender V5.3
blender::uiTextboxStateLink Struct Reference

#include <DNA_screen_types.h>

Public Attributes

struct uiTextboxStateLink * next = nullptr
struct uiTextboxStateLink * prev = nullptr
char * idname = nullptr
TextboxState state

Detailed Description

Persistent storage for text-boxes (#ui::ButtonTextBox) in a region. The state is matched to the textbox buttons using the RNA struct identifier + property name.

The actual state is stored in #uiTextboxState, so textbox buttons can manage this conveniently without having to care about the idname and listbase pointers themselves.

Definition at line 538 of file DNA_screen_types.h.

Member Data Documentation

◆ idname

char* blender::uiTextboxStateLink::idname = nullptr

◆ next

struct uiTextboxStateLink* blender::uiTextboxStateLink::next = nullptr

Definition at line 539 of file DNA_screen_types.h.

◆ prev

struct uiTextboxStateLink * blender::uiTextboxStateLink::prev = nullptr

Definition at line 539 of file DNA_screen_types.h.

◆ state

TextboxState blender::uiTextboxStateLink::state

Definition at line 541 of file DNA_screen_types.h.

Referenced by blender::ui::textbox_ensure_state().


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