Blender V4.3
uiPopupBlockHandle Struct Reference

#include <interface_intern.hh>

Public Attributes

ARegionregion
float towards_xy [2]
double towardstime
bool dotowards
bool popup
void(* popup_func )(bContext *C, void *arg, int event)
void(* cancel_func )(bContext *C, void *arg)
void * popup_arg
uiPopupBlockCreate popup_create_vars
bool can_refresh
bool refresh
wmTimerscrolltimer
float scrolloffset
uiKeyNavLock keynav_state
wmOperatorpopup_op
ScrAreactx_area
ARegionctx_region
int butretval
int menuretval
int retvalue
float retvec [4]
int direction
rctf prev_block_rect
rctf prev_butrct
short prev_dir1
short prev_dir2
int prev_bounds_offset [2]
float max_size_x
float max_size_y
bool is_grab
int grab_xy_prev [2]
char menu_idname [64]

Detailed Description

Definition at line 886 of file interface_intern.hh.

Member Data Documentation

◆ butretval

int uiPopupBlockHandle::butretval

Definition at line 922 of file interface_intern.hh.

Referenced by button_activate_exit(), and ui_handle_menu_return_submenu().

◆ can_refresh

bool uiPopupBlockHandle::can_refresh

True if we can re-create the popup using uiPopupBlockHandle.popup_create_vars.

Note
Popups that can refresh are called with #bContext::wm::region_popup set to the uiPopupBlockHandle::region both on initial creation and when refreshing.

Definition at line 908 of file interface_intern.hh.

Referenced by ui_block_region_refresh(), ui_popup_block_create(), and ui_popup_block_refresh().

◆ cancel_func

void(* uiPopupBlockHandle::cancel_func) (bContext *C, void *arg)

◆ ctx_area

ScrArea* uiPopupBlockHandle::ctx_area

◆ ctx_region

ARegion* uiPopupBlockHandle::ctx_region

◆ direction

int uiPopupBlockHandle::direction

Menu direction.

Definition at line 928 of file interface_intern.hh.

Referenced by ui_popup_block_refresh().

◆ dotowards

bool uiPopupBlockHandle::dotowards

◆ grab_xy_prev

int uiPopupBlockHandle::grab_xy_prev[2]

Definition at line 941 of file interface_intern.hh.

Referenced by ui_handle_menu_event().

◆ is_grab

bool uiPopupBlockHandle::is_grab

Definition at line 940 of file interface_intern.hh.

Referenced by ui_handle_menu_event().

◆ keynav_state

uiKeyNavLock uiPopupBlockHandle::keynav_state

Definition at line 914 of file interface_intern.hh.

Referenced by ui_handle_menu_event().

◆ max_size_x

float uiPopupBlockHandle::max_size_x

Definition at line 937 of file interface_intern.hh.

Referenced by ui_popup_block_position().

◆ max_size_y

float uiPopupBlockHandle::max_size_y

Definition at line 937 of file interface_intern.hh.

Referenced by ui_block_func_POPOVER(), and ui_popup_block_position().

◆ menu_idname

char uiPopupBlockHandle::menu_idname[64]

◆ menuretval

◆ popup

◆ popup_arg

void* uiPopupBlockHandle::popup_arg

◆ popup_create_vars

◆ popup_func

void(* uiPopupBlockHandle::popup_func) (bContext *C, void *arg, int event)

Definition at line 896 of file interface_intern.hh.

Referenced by UI_popup_block_ex(), and ui_popup_handler().

◆ popup_op

wmOperator* uiPopupBlockHandle::popup_op

Definition at line 917 of file interface_intern.hh.

Referenced by ui_afterfunc_check(), ui_apply_but_func(), and UI_popup_block_ex().

◆ prev_block_rect

rctf uiPopupBlockHandle::prev_block_rect

Definition at line 931 of file interface_intern.hh.

Referenced by ui_popup_block_refresh(), and ui_popup_translate().

◆ prev_bounds_offset

int uiPopupBlockHandle::prev_bounds_offset[2]

Definition at line 934 of file interface_intern.hh.

Referenced by ui_block_func_POPOVER(), and ui_block_func_POPUP().

◆ prev_butrct

rctf uiPopupBlockHandle::prev_butrct

Definition at line 932 of file interface_intern.hh.

Referenced by ui_popup_block_position().

◆ prev_dir1

short uiPopupBlockHandle::prev_dir1

Definition at line 933 of file interface_intern.hh.

Referenced by ui_popup_block_position().

◆ prev_dir2

short uiPopupBlockHandle::prev_dir2

Definition at line 933 of file interface_intern.hh.

Referenced by ui_popup_block_position().

◆ refresh

bool uiPopupBlockHandle::refresh

◆ region

◆ retvalue

◆ retvec

float uiPopupBlockHandle::retvec[4]

Definition at line 925 of file interface_intern.hh.

Referenced by ui_block_func_COLOR(), and ui_handle_button_return_submenu().

◆ scrolloffset

float uiPopupBlockHandle::scrolloffset

Definition at line 912 of file interface_intern.hh.

Referenced by ui_menu_scroll_apply_offset_y(), and ui_popup_block_refresh().

◆ scrolltimer

wmTimer* uiPopupBlockHandle::scrolltimer

◆ towards_xy

float uiPopupBlockHandle::towards_xy[2]

Use only for UI_BLOCK_MOVEMOUSE_QUIT popups.

Definition at line 891 of file interface_intern.hh.

Referenced by ui_mouse_motion_towards_check(), and ui_mouse_motion_towards_init_ex().

◆ towardstime

double uiPopupBlockHandle::towardstime

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