Blender V5.3
blender::StringPropertyRNA Struct Reference

#include <rna_internal_types.hh>

Inherits blender::PropertyRNA.

Public Attributes

PropStringGetFunc get
PropStringLengthFunc length
PropStringSetFunc set
PropStringGetFuncEx get_ex
PropStringLengthFuncEx length_ex
PropStringSetFuncEx set_ex
PropStringGetTransformFunc get_transform
PropStringSetTransformFunc set_transform
PropStringGetFuncEx get_default
StringPropertySearchFunc search
eStringPropertySearchFlag search_flag
StringPropertyPathFilterFunc path_filter
int maxlength
const char * defaultvalue
Public Attributes inherited from blender::PropertyRNA
PropertyRNA * next
PropertyRNA * prev
int magic
UString identifier
PropertyFlag flag
PropertyOverrideFlag flag_override
ParameterFlag flag_parameter
PropertyFlagIntern flag_internal
short tags
PropertyPathTemplateType path_template_type
const char * name
const char * description
int icon
const char * translation_context
const DeprecatedRNA * deprecated
PropertyType type
PropertySubType subtype
PropArrayLengthGetFunc getlength
unsigned int arraydimension
unsigned int arraylength [RNA_MAX_ARRAY_DIMENSION]
unsigned int totarraylength
UpdateFunc update
int noteflag
EditableFunc editable
ItemEditableFunc itemeditable
PropUINameFunc ui_name_func
PropUINameFunc ui_description_func
RNAPropOverrideDiff override_diff
RNAPropOverrideStore override_store
RNAPropOverrideApply override_apply
int rawoffset
RawPropertyType rawtype
StructRNA * srna
void * py_data

Detailed Description

Definition at line 584 of file rna_internal_types.hh.

Member Data Documentation

◆ defaultvalue

◆ get

◆ get_default

◆ get_ex

◆ get_transform

◆ length

◆ length_ex

◆ maxlength

◆ path_filter

StringPropertyPathFilterFunc blender::StringPropertyRNA::path_filter

Used for strings which are PROP_FILEPATH to have a default filter when opening a file browser.

Definition at line 613 of file rna_internal_types.hh.

Referenced by blender::RNA_def_property_string_filepath_filter_func(), blender::rna_generate_property(), and blender::RNA_property_string_path_filter().

◆ search

StringPropertySearchFunc blender::StringPropertyRNA::search

Optional callback to list candidates for a string. This is only for use as suggestions in UI, other values may be assigned.

Note
The callback type is public, hence the difference in naming convention.

Definition at line 606 of file rna_internal_types.hh.

Referenced by blender::rna_def_property_funcs(), blender::RNA_def_property_string_search_func(), blender::RNA_def_property_string_search_func_runtime(), blender::rna_generate_property(), blender::RNA_property_string_search(), and blender::RNA_property_string_search_flag().

◆ search_flag

◆ set

◆ set_ex

◆ set_transform


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