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

#include <interface_intern.h>

Public Attributes

struct uiButnext
 
struct uiButprev
 
uiLayoutlayout
 
int flag
 
int drawflag
 
eButType type
 
eButPointerType pointype
 
short bit
 
short bitnr
 
short retval
 
short strwidth
 
short alignnr
 
short ofs
 
short pos
 
short selsta
 
short selend
 
char * str
 
char strdata [UI_MAX_NAME_STR]
 
char drawstr [UI_MAX_DRAW_STR]
 
rctf rect
 
char * poin
 
float hardmin
 
float hardmax
 
float softmin
 
float softmax
 
float a1
 
float a2
 
uchar col [4]
 
uiButIdentityCompareFunc identity_cmp_func
 
uiButHandleFunc func
 
voidfunc_arg1
 
voidfunc_arg2
 
uiButHandleNFunc funcN
 
voidfunc_argN
 
struct bContextStorecontext
 
uiButCompleteFunc autocomplete_func
 
voidautofunc_arg
 
uiButHandleRenameFunc rename_func
 
voidrename_arg1
 
voidrename_orig
 
uiButHandleHoldFunc hold_func
 
voidhold_argN
 
const char * tip
 
uiButToolTipFunc tip_func
 
voidtip_arg
 
uiFreeArgFunc tip_arg_free
 
const char * disabled_info
 
BIFIconID icon
 
eUIEmbossType emboss
 
RadialDirection pie_dir
 
bool changed
 
uchar unit_type
 
short iconadd
 
uiBlockCreateFunc block_create_func
 
uiMenuCreateFunc menu_create_func
 
uiMenuStepFunc menu_step_func
 
struct PointerRNA rnapoin
 
struct PropertyRNArnaprop
 
int rnaindex
 
struct wmOperatorTypeoptype
 
struct PointerRNAopptr
 
wmOperatorCallContext opcontext
 
uchar menu_key
 
ListBase extra_op_icons
 
char dragtype
 
short dragflag
 
voiddragpoin
 
struct ImBufimb
 
float imb_scale
 
struct uiHandleButtonDataactive
 
voidcustom_data
 
char * editstr
 
doubleeditval
 
floateditvec
 
uiButPushedStateFunc pushed_state_func
 
const voidpushed_state_arg
 
uiBlockblock
 

Detailed Description

Definition at line 152 of file interface_intern.h.

Member Data Documentation

◆ a1

float uiBut::a1

For uiBut.type:

  • UI_BTYPE_LABEL: Use (a1 == 1.0f) to use a2 as a blending factor (imaginative!).
  • UI_BTYPE_SCROLL: Use as scroll size.
  • UI_BTYPE_SEARCH_MENU: Use as number or rows.

Definition at line 181 of file interface_intern.h.

Referenced by ui_but_get_float_step_size(), ui_def_but(), ui_def_but_rna(), ui_item_array(), ui_numedit_but_SLI(), ui_searchbox_create_generic_ex(), uiItemFullR(), widget_draw_icon(), and widget_scroll().

◆ a2

float uiBut::a2

For uiBut.type:

  • UI_BTYPE_HSVCIRCLE: Use to store the luminosity.
  • UI_BTYPE_LABEL: If (a1 == 1.0f) use a2 as a blending factor.
  • UI_BTYPE_SEARCH_MENU: Use as number or columns.

Definition at line 189 of file interface_intern.h.

Referenced by ui_apply_but_func(), ui_but_get_float_precision(), ui_def_but(), ui_searchbox_create_generic_ex(), uiTemplateColorPicker(), and widget_draw_icon().

◆ active

struct uiHandleButtonData* uiBut::active

◆ alignnr

short uiBut::alignnr

◆ autocomplete_func

uiButCompleteFunc uiBut::autocomplete_func

◆ autofunc_arg

void* uiBut::autofunc_arg

Definition at line 206 of file interface_intern.h.

Referenced by UI_but_func_complete_set(), and ui_textedit_autocomplete().

◆ bit

short uiBut::bit

Definition at line 160 of file interface_intern.h.

Referenced by ui_apply_but_TOG(), ui_but_is_pushed_ex(), and ui_def_but().

◆ bitnr

short uiBut::bitnr

Definition at line 160 of file interface_intern.h.

Referenced by ui_apply_but_TOG(), ui_but_is_pushed_ex(), and ui_def_but().

◆ block

uiBlock* uiBut::block

Definition at line 279 of file interface_intern.h.

Referenced by button_activate_exit(), button_activate_init(), button_activate_state(), button_tooltip_timer_reset(), blender::ui::find_item_from_rename_button(), blender::ui::AbstractTreeViewItem::is_hovered(), menu_items_from_ui_create_item_from_button(), ui_apply_but_func(), ui_apply_but_TEX(), ui_apply_but_undo(), ui_block_func_COLOR(), ui_block_func_POPOVER(), ui_block_open_begin(), ui_block_open_end(), ui_but_activate_event(), ui_but_add_search(), ui_but_anim_decorate_find_attached_button(), ui_but_anim_expression_create(), ui_but_anim_expression_set(), ui_but_change_type(), ui_but_contains_point_px(), ui_but_contains_point_px_icon(), ui_but_convert_to_unit_alt_name(), ui_but_drag_init(), ui_but_drag_multi_edit_get(), UI_but_drag_set_asset(), ui_but_event_property_operator_string(), ui_but_execute_begin(), ui_but_execute_end(), ui_but_extra_operator_icon_apply(), ui_but_extra_operator_icon_mouse_over_get(), ui_but_free(), UI_but_func_menu_search(), UI_but_func_search_set(), ui_but_get_fcurve(), UI_but_has_tooltip_label(), ui_but_is_color_gamma(), ui_but_is_drag_toggle(), ui_but_is_unit(), ui_but_is_unit_radians(), ui_but_menu_step(), ui_but_rect_to_view(), ui_but_search_refresh(), ui_but_string_get_dynamic(), ui_but_string_get_ex(), UI_but_string_info_get(), ui_but_string_set(), ui_but_update_ex(), ui_but_update_from_old_block(), ui_but_update_view_for_active(), ui_colorpicker_create_mode_cb(), ui_colorpicker_hex_rna_cb(), ui_colorpicker_hsv_update_cb(), ui_colorpicker_rgba_update_cb(), UI_context_active_but_prop_handle(), ui_def_but(), ui_def_but_icon(), ui_do_but_ANY_drag_toggle(), ui_do_but_BLOCK(), ui_do_but_BUT(), ui_do_but_COLOR(), ui_do_but_HSVCIRCLE(), ui_do_but_HSVCUBE(), ui_do_but_SCROLL(), ui_do_but_TOG(), ui_do_button(), ui_draw_but(), ui_draw_but_COLORBAND(), ui_draw_but_CURVE(), ui_draw_but_CURVEPROFILE(), ui_draw_but_HSV_v(), ui_draw_but_HSVCIRCLE(), ui_draw_but_HSVCUBE(), ui_get_but_scale_unit(), ui_get_but_step_unit(), ui_get_but_string_unit(), ui_handle_button_event(), ui_handle_button_over(), ui_handle_button_return_submenu(), ui_handle_list_event(), ui_handle_menu_button(), ui_handle_view_item_event(), ui_layer_but_cb(), ui_layout_introspect_button(), ui_multibut_states_create(), ui_multibut_states_tag(), ui_number_from_string_units_with_but(), ui_numedit_apply_snapf(), ui_numedit_but_NUM(), ui_numedit_but_SLI(), ui_numedit_but_TRACKPREVIEW(), ui_numedit_set_active(), ui_popup_block_position(), ui_popup_block_refresh(), ui_popup_close_cb(), ui_popup_context_menu_for_button(), ui_popup_menu_create(), ui_search_menu_create_context_menu(), ui_search_menu_create_tooltip(), ui_searchbox_create_generic_ex(), ui_text_clip_middle(), ui_text_clip_middle_protect_right(), ui_textedit_begin(), ui_textedit_set_cursor_pos(), UI_tooltip_create_from_button_or_extra_icon(), ui_tooltip_data_from_tool(), widget_draw_extra_mask(), widget_draw_icon(), widget_draw_node_link_socket(), widget_draw_submenu_tria(), widget_draw_text_icon(), widget_menu_radial_itembut(), and widget_swatch().

◆ block_create_func

uiBlockCreateFunc uiBut::block_create_func

◆ changed

bool uiBut::changed

◆ col

uchar uiBut::col[4]

◆ context

struct bContextStore* uiBut::context

◆ custom_data

void* uiBut::custom_data

◆ disabled_info

const char* uiBut::disabled_info

info on why button is disabled, displayed in tooltip

Definition at line 222 of file interface_intern.h.

Referenced by UI_but_disable(), ui_def_but(), and ui_tooltip_data_from_button_or_extra_icon().

◆ dragflag

short uiBut::dragflag

◆ dragpoin

void* uiBut::dragpoin

◆ dragtype

char uiBut::dragtype

◆ drawflag

int uiBut::drawflag

◆ drawstr

char uiBut::drawstr[UI_MAX_DRAW_STR]

◆ editstr

char* uiBut::editstr

◆ editval

double* uiBut::editval

◆ editvec

float* uiBut::editvec

◆ emboss

eUIEmbossType uiBut::emboss

◆ extra_op_icons

ListBase uiBut::extra_op_icons

◆ flag

int uiBut::flag

Definition at line 157 of file interface_intern.h.

Referenced by block_search_filter_tag_buttons(), button_activate_exit(), button_activate_init(), button_activate_state(), curvemap_buttons_layout(), datadropper_poll(), driverdropper_init(), drop_name_poll(), blender::ui::AbstractTreeViewItem::is_hovered(), menu_items_from_ui_create_item_from_button(), panel_remove_invisible_layouts_recursive(), template_common_search_menu(), template_ID(), ui_apply_but(), ui_apply_but_TEX(), ui_apply_but_undo(), ui_block_interaction_begin(), ui_but_add_search(), ui_but_add_shortcut(), ui_but_anim_decorate_cb(), ui_but_anim_decorate_update_from_flag(), ui_but_anim_flag(), ui_but_context_poll_operator_ex(), ui_but_drag_multi_edit_get(), ui_but_draw_menu_icon(), ui_but_drawstr_len_without_sep_char(), ui_but_execute_end(), ui_but_find_select_in_enum(), UI_but_flag_disable(), UI_but_flag_enable(), UI_but_flag_is_set(), ui_but_icon(), ui_but_icon_extra_get(), ui_but_icon_extra_is_visible_search_eyedropper(), ui_but_icon_extra_is_visible_search_unlink(), ui_but_icon_extra_is_visible_text_clear(), ui_but_is_interactive_ex(), UI_but_is_utf8(), ui_but_list_row_text_activate(), UI_but_node_link_set(), ui_but_override_flag(), ui_but_paste(), ui_but_set_string_interactive(), UI_but_string_info_get(), ui_but_submenu_enable(), ui_but_update_ex(), ui_but_update_from_old_block(), ui_but_update_old_active_from_new(), ui_but_update_select_flag(), ui_button_press_invoke(), UI_context_active_but_prop_get_filebrowser(), ui_context_button_active(), UI_context_update_anim_flag(), ui_def_but(), ui_def_but_icon(), ui_def_but_icon_clear(), ui_def_but_operator_ptr(), ui_def_but_rna(), ui_do_but_BUT(), ui_do_but_textedit(), ui_do_button(), ui_drag_toggle_but_is_supported(), ui_drag_toggle_set(), ui_draw_but(), ui_handle_button_event(), ui_handle_menu_event(), ui_handle_view_items_hover(), ui_handler_region_menu(), ui_item_enum_expand_elem_exec(), ui_item_flag(), ui_layout_has_panel_label(), ui_multibut_add(), ui_numedit_set_active(), ui_popup_context_menu_for_button(), ui_popup_context_menu_for_panel(), ui_popup_menu_memory__internal(), ui_region_find_first_but_test_flag(), ui_searchbox_select(), ui_selectcontext_begin(), ui_selectcontext_end(), ui_textedit_begin(), ui_textedit_end(), ui_textedit_next_but(), ui_textedit_prev_but(), ui_textedit_set_cursor_pos(), ui_tooltip_data_from_button_or_extra_icon(), uiDefIconTextBlockBut(), uiItemDecoratorR_prop(), uiItemFullO_ptr_ex(), uiItemL_(), uiItemPopoverPanel_ptr(), uiLayoutListBox(), uiTemplateNodeLink(), uiTemplateTextureUser(), widget_draw_icon(), widget_draw_text(), and widget_draw_text_icon().

◆ func

uiButHandleFunc uiBut::func

◆ func_arg1

void* uiBut::func_arg1

◆ func_arg2

void* uiBut::func_arg2

◆ func_argN

void* uiBut::func_argN

◆ funcN

uiButHandleNFunc uiBut::funcN

◆ hardmax

float uiBut::hardmax

◆ hardmin

float uiBut::hardmin

◆ hold_argN

void* uiBut::hold_argN

Definition at line 214 of file interface_intern.h.

Referenced by ui_but_free(), UI_but_func_hold_set(), and ui_item_menu_hold().

◆ hold_func

uiButHandleHoldFunc uiBut::hold_func

Run an action when holding the button down.

Definition at line 213 of file interface_intern.h.

Referenced by button_activate_state(), UI_but_func_hold_set(), ui_draw_but(), and ui_handle_button_event().

◆ icon

BIFIconID uiBut::icon

◆ iconadd

short uiBut::iconadd

◆ identity_cmp_func

uiButIdentityCompareFunc uiBut::identity_cmp_func

◆ imb

struct ImBuf* uiBut::imb

◆ imb_scale

float uiBut::imb_scale

Definition at line 263 of file interface_intern.h.

Referenced by UI_but_drag_attach_image(), and ui_but_drag_start().

◆ layout

uiLayout* uiBut::layout

Pointer back to the layout item holding this button.

Definition at line 156 of file interface_intern.h.

Referenced by UI_but_active_only_ex(), ui_but_change_type(), ui_layout_add_but(), and ui_layout_free().

◆ menu_create_func

uiMenuCreateFunc uiBut::menu_create_func

◆ menu_key

uchar uiBut::menu_key

When non-zero, this is the key used to activate a menu items (a-z always lower case).

Definition at line 254 of file interface_intern.h.

Referenced by ui_handle_menu_event(), ui_pie_handler(), and widget_draw_text().

◆ menu_step_func

uiMenuStepFunc uiBut::menu_step_func

◆ next

struct uiBut* uiBut::next

◆ ofs

short uiBut::ofs

◆ opcontext

wmOperatorCallContext uiBut::opcontext

◆ opptr

struct PointerRNA* uiBut::opptr

◆ optype

struct wmOperatorType* uiBut::optype

◆ pie_dir

RadialDirection uiBut::pie_dir

direction in a pie menu, used for collision detection.

Definition at line 228 of file interface_intern.h.

Referenced by ui_block_pie_dir_activate(), ui_but_contains_point_px(), ui_but_isect_pie_seg(), ui_but_pie_direction_string(), ui_def_but(), ui_litem_layout_radial(), and ui_pie_handler().

◆ poin

char* uiBut::poin

◆ pointype

eButPointerType uiBut::pointype

◆ pos

short uiBut::pos

◆ prev

struct uiBut * uiBut::prev

◆ pushed_state_arg

const void* uiBut::pushed_state_arg

Definition at line 276 of file interface_intern.h.

Referenced by UI_but_func_pushed_state_set(), and ui_but_is_pushed_ex().

◆ pushed_state_func

uiButPushedStateFunc uiBut::pushed_state_func

Definition at line 275 of file interface_intern.h.

Referenced by UI_but_func_pushed_state_set(), and ui_but_is_pushed_ex().

◆ rect

rctf uiBut::rect

◆ rename_arg1

void* uiBut::rename_arg1

Definition at line 209 of file interface_intern.h.

Referenced by ui_apply_but_func(), and UI_but_func_rename_set().

◆ rename_func

uiButHandleRenameFunc uiBut::rename_func

◆ rename_orig

void* uiBut::rename_orig

Definition at line 210 of file interface_intern.h.

Referenced by ui_apply_but_func(), and ui_apply_but_TEX().

◆ retval

short uiBut::retval

◆ rnaindex

int uiBut::rnaindex

◆ rnapoin

struct PointerRNA uiBut::rnapoin

Definition at line 241 of file interface_intern.h.

Referenced by button_activate_exit(), button_matches_search_filter(), colorband_update_cb(), drop_color_invoke(), eyedropper_get_property_button_under_mouse(), get_but_property_array_length(), handle_layer_buttons(), menu_items_from_ui_create_item_from_button(), menu_items_to_ui_button(), shortcut_property_from_rna(), template_keymap_item_properties(), ui_apply_but_autokey(), ui_apply_but_func(), ui_apply_but_undo(), ui_block_colorpicker(), ui_block_message_subscribe(), ui_but_anim_autokey(), ui_but_anim_expression_create(), ui_but_anim_flag(), ui_but_copy(), ui_but_copy_color(), ui_but_copy_numeric_array(), ui_but_event_property_operator_string(), ui_but_find_select_in_enum__cmp(), ui_but_get_fcurve(), ui_but_has_array_value(), ui_but_icon_extra_is_visible_search_eyedropper(), ui_but_is_compatible(), ui_but_is_pushed_ex(), ui_but_is_rna_undo(), ui_but_is_rna_valid(), ui_but_is_user_menu_compatible(), UI_but_is_userdef(), ui_but_menu_step(), UI_but_online_manual_id(), ui_but_override_flag(), ui_but_paste(), ui_but_range_set_hard(), ui_but_range_set_soft(), ui_but_rna_equals_ex(), ui_but_set_float_array(), ui_but_string_get_dynamic(), ui_but_string_get_ex(), UI_but_string_info_get(), ui_but_string_set(), ui_but_update_ex(), ui_but_update_preferences_dirty(), ui_but_user_menu_add(), ui_but_user_menu_find(), ui_but_v3_get(), ui_but_v3_set(), ui_but_value_get(), ui_but_value_set(), ui_button_value_default(), ui_colorpicker_rgba_update_cb(), UI_context_active_but_prop_get(), UI_context_active_but_prop_get_filebrowser(), ui_context_rna_button_active_test(), ui_def_but_rna(), ui_def_but_rna__menu(), ui_do_but_COLOR(), ui_do_but_HSVCIRCLE(), ui_do_but_HSVCUBE(), ui_drag_toggle_but_pushed_state(), ui_handle_list_event(), ui_handle_menu_event(), ui_item_enum_expand_handle(), ui_keymap_but_cb(), ui_layer_but_cb(), ui_layout_introspect_button(), ui_list_activate_row_from_index(), ui_palette_set_active(), ui_popup_context_menu_for_button(), ui_selectcontext_apply(), ui_selectcontext_begin(), UI_textbutton_activate_rna(), ui_tooltip_data_from_button_or_extra_icon(), uiItemFullR(), uiLayoutListBox(), uiLayoutSetContextFromBut(), uiTemplateComponentMenu(), uiTemplateCryptoPicker(), and widget_swatch().

◆ rnaprop

struct PropertyRNA* uiBut::rnaprop

Definition at line 245 of file interface_intern.h.

Referenced by button_matches_search_filter(), drop_color_invoke(), eyedropper_get_property_button_under_mouse(), get_but_property_array_length(), handle_layer_buttons(), menu_items_from_ui_create_item_from_button(), menu_items_to_ui_button(), shortcut_get_operator_property(), shortcut_property_from_rna(), template_keymap_item_properties(), ui_afterfunc_check(), ui_apply_but_autokey(), ui_apply_but_func(), ui_apply_but_undo(), ui_block_colorpicker(), ui_block_message_subscribe(), ui_but_anim_autokey(), ui_but_anim_expression_create(), ui_but_anim_flag(), ui_but_build_drawstr_float(), ui_but_build_drawstr_int(), ui_but_contains_password(), ui_but_copy_color(), ui_but_copy_numeric_array(), ui_but_drag_init(), ui_but_event_property_operator_string(), ui_but_find_select_in_enum__cmp(), ui_but_get_fcurve(), ui_but_has_array_value(), ui_but_icon_extra_is_visible_search_eyedropper(), ui_but_is_bool(), ui_but_is_color_gamma(), ui_but_is_compatible(), ui_but_is_float(), ui_but_is_pushed_ex(), ui_but_is_rna_valid(), ui_but_is_user_menu_compatible(), UI_but_is_userdef(), UI_but_is_utf8(), ui_but_menu_step(), ui_but_menu_step_poll(), UI_but_online_manual_id(), ui_but_override_flag(), ui_but_paste_color(), ui_but_range_set_hard(), ui_but_range_set_soft(), ui_but_rna_equals_ex(), ui_but_scale_type(), ui_but_search_refresh(), ui_but_set_float_array(), ui_but_string_eval_number(), ui_but_string_get_dynamic(), ui_but_string_get_ex(), UI_but_string_info_get(), ui_but_string_set(), ui_but_text_password_hide(), UI_but_unit_type_get(), ui_but_update_ex(), ui_but_update_preferences_dirty(), ui_but_user_menu_add(), ui_but_user_menu_find(), ui_but_v3_get(), ui_but_v3_set(), ui_but_value_get(), ui_but_value_set(), ui_button_value_default(), ui_colorpicker_rgba_update_cb(), UI_context_active_but_prop_get(), UI_context_active_but_prop_get_filebrowser(), ui_def_but_rna(), ui_def_but_rna__menu(), ui_do_but_COLOR(), ui_do_but_HSVCIRCLE(), ui_do_but_HSVCUBE(), ui_do_but_TAB(), ui_handle_button_event(), ui_handle_list_event(), ui_handle_menu_event(), ui_item_enum_expand_handle(), ui_layer_but_cb(), ui_layout_introspect_button(), ui_list_activate_row_from_index(), ui_multibut_states_create(), ui_popup_context_menu_for_button(), ui_popup_menu_create(), ui_selectcontext_apply(), ui_selectcontext_begin(), UI_textbutton_activate_rna(), ui_tooltip_data_from_button_or_extra_icon(), uiItemFullR(), uiItemFullR_with_menu(), uiItemFullR_with_popover(), uiLayoutListBox(), uiLayoutSetContextFromBut(), uiTemplateComponentMenu(), uiTemplateCryptoPicker(), uiTemplateKeymapItemProperties(), widget_numslider(), and widget_swatch().

◆ selend

short uiBut::selend

◆ selsta

short uiBut::selsta

◆ softmax

float uiBut::softmax

◆ softmin

float uiBut::softmin

◆ str

char* uiBut::str

◆ strdata

char uiBut::strdata[UI_MAX_NAME_STR]

◆ strwidth

short uiBut::strwidth

◆ tip

const char* uiBut::tip

◆ tip_arg

void* uiBut::tip_arg

◆ tip_arg_free

uiFreeArgFunc uiBut::tip_arg_free

◆ tip_func

uiButToolTipFunc uiBut::tip_func

◆ type

eButType uiBut::type

Definition at line 158 of file interface_intern.h.

Referenced by button_activate_exit(), button_activate_init(), button_activate_state(), button_matches_search_filter(), datadropper_poll(), depthdropper_poll(), drop_color_invoke(), eyedropper_colorband_init(), eyedropper_colorband_poll(), blender::ui::find_item_from_rename_button(), jump_to_target_button(), menu_items_from_ui_create(), ui_afterfunc_check(), ui_apply_but(), ui_apply_but_BLOCK(), ui_apply_but_func(), ui_apply_but_TEX(), ui_apply_but_TOG(), ui_apply_but_undo(), ui_block_align_calc(), UI_block_can_add_separator(), UI_block_is_empty_ex(), ui_block_open_begin(), ui_block_pie_dir_activate(), UI_but_active_drop_color(), UI_but_active_drop_name_button(), ui_but_add_search(), ui_but_can_align(), ui_but_change_type(), ui_but_contains_point_px_icon(), ui_but_copy(), ui_but_drag_init(), ui_but_equals_old(), ui_but_event_property_operator_string(), ui_but_find_select_in_enum__cmp(), ui_but_free(), ui_but_free_type_specific(), UI_but_func_search_set(), UI_but_func_search_set_context_menu(), UI_but_func_search_set_results_are_suggestions(), UI_but_func_search_set_sep_string(), UI_but_func_search_set_tooltip(), ui_but_get_float_precision(), ui_but_get_float_step_size(), ui_but_icon_extra_get(), ui_but_icon_extra_is_visible_search_eyedropper(), ui_but_icon_extra_is_visible_search_unlink(), ui_but_icon_extra_is_visible_text_clear(), ui_but_is_active_view_item(), ui_but_is_bool(), ui_but_is_compatible(), ui_but_is_cursor_warp(), ui_but_is_editable(), ui_but_is_editable_as_text(), ui_but_is_interactive_ex(), ui_but_is_listbox_with_row(), ui_but_is_listrow(), ui_but_is_popover_once_compat(), ui_but_is_pushed_ex(), ui_but_is_toggle(), ui_but_is_view_item_fn(), ui_but_list_row_text_activate(), ui_but_menu_step_poll(), ui_but_next_non_separator(), UI_but_number_precision_set(), UI_but_number_step_size_set(), ui_but_paste(), ui_but_pie_menu_apply(), ui_but_pie_menu_supported_apply(), ui_but_rna_menu_convert_to_menu_type(), ui_but_rna_menu_convert_to_panel_type(), ui_but_set_float_array(), ui_but_set_string_interactive(), ui_but_string_get_dynamic(), ui_but_string_get_ex(), ui_but_string_get_max_length(), UI_but_string_info_get(), ui_but_string_set(), ui_but_supports_cycling(), UI_but_type_set_menu_from_pulldown(), ui_but_update_ex(), ui_but_update_from_old_block(), ui_but_update_old_active_from_new(), ui_but_v3_get(), ui_but_validate(), UI_context_active_but_get_tab_ID(), ui_def_but(), ui_def_but_rna(), ui_do_but_COLOR(), ui_do_but_HOTKEYEVT(), ui_do_but_NUM(), ui_do_but_SLI(), ui_do_but_textedit(), ui_do_but_TOG(), ui_do_but_VIEW_ITEM(), ui_do_button(), ui_draw_but(), ui_handle_button_activate_by_type(), ui_handle_button_event(), ui_handle_button_return_submenu(), ui_handle_menu_button(), ui_handle_menu_event(), ui_handle_menus_recursive(), ui_handle_view_item_event(), ui_handle_view_items_hover(), ui_handler_region_menu(), ui_item_array(), ui_item_is_radial_drawable(), ui_keymap_but_cb(), ui_layout_introspect_button(), ui_list_contains_row(), ui_list_row_find_from_index(), ui_numedit_begin(), ui_numedit_but_SLI(), ui_numedit_end(), ui_popup_block_position(), ui_popup_context_menu_for_button(), ui_searchbox_apply(), ui_searchbox_autocomplete(), ui_searchbox_event(), ui_searchbox_update(), ui_text_clip_middle(), ui_text_clip_middle_protect_right(), UI_textbutton_activate_but(), UI_textbutton_activate_rna(), ui_textedit_begin(), ui_textedit_end(), ui_textedit_next_but(), ui_textedit_prev_but(), ui_textedit_set_cursor_pos(), ui_tooltip_data_from_button_or_extra_icon(), uiItemFullR(), uiItemFullR_with_menu(), uiItemFullR_with_popover(), uiItemPopoverPanel_ptr(), uiLayoutSetTooltipFunc(), uiTemplateLayers(), widget_draw_icon(), widget_draw_text(), widget_draw_text_icon(), widget_icon_has_anim(), widget_roundbox_set(), and widget_swatch().

◆ unit_type

uchar uiBut::unit_type

so buttons can support unit systems which are not RNA

Definition at line 232 of file interface_intern.h.

Referenced by UI_but_unit_type_get(), UI_but_unit_type_set(), and ui_multibut_states_create().


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