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

#include <DNA_windowmanager_types.h>

Public Attributes

struct wmKeyMapItemnext
 
struct wmKeyMapItemprev
 
char idname [64]
 
IDPropertyproperties
 
char propvalue_str [64]
 
short propvalue
 
short type
 
int8_t val
 
int8_t direction
 
short shift
 
short ctrl
 
short alt
 
short oskey
 
short keymodifier
 
short flag
 
short maptype
 
short id
 
char _pad [2]
 
struct PointerRNAptr
 

Detailed Description

Partial copy of the event, for matching by event handler.

Definition at line 350 of file DNA_windowmanager_types.h.

Member Data Documentation

◆ _pad

char wmKeyMapItem::_pad[2]

Definition at line 385 of file DNA_windowmanager_types.h.

◆ alt

short wmKeyMapItem::alt

◆ ctrl

short wmKeyMapItem::ctrl

◆ direction

int8_t wmKeyMapItem::direction

Use when val == KM_CLICK_DRAG.

Definition at line 371 of file DNA_windowmanager_types.h.

Referenced by keymap_event_set(), keymap_item_update_tweak_event(), wm_eventmatch(), and WM_keymap_item_compare().

◆ flag

short wmKeyMapItem::flag

◆ id

short wmKeyMapItem::id

Unique identifier. Positive for kmi that override builtins, negative otherwise.

Definition at line 384 of file DNA_windowmanager_types.h.

Referenced by keymap_item_set_id(), menu_add_shortcut(), WM_keymap_item_find_id(), WM_keymap_item_restore_to_default(), wm_keymap_patch(), and wm_keymap_patch_update().

◆ idname

char wmKeyMapItem::idname[64]

◆ keymodifier

short wmKeyMapItem::keymodifier

◆ maptype

short wmKeyMapItem::maptype

Keymap editor.

Definition at line 382 of file DNA_windowmanager_types.h.

Referenced by WM_keymap_item_restore_to_default().

◆ next

struct wmKeyMapItem* wmKeyMapItem::next

◆ oskey

short wmKeyMapItem::oskey

◆ prev

struct wmKeyMapItem * wmKeyMapItem::prev

Definition at line 351 of file DNA_windowmanager_types.h.

Referenced by wm_keymap_item_copy().

◆ properties

IDProperty* wmKeyMapItem::properties

◆ propvalue

short wmKeyMapItem::propvalue

◆ propvalue_str

char wmKeyMapItem::propvalue_str[64]

Runtime temporary storage for loading.

Definition at line 361 of file DNA_windowmanager_types.h.

Referenced by WM_modalkeymap_add_item_str().

◆ ptr

struct PointerRNA* wmKeyMapItem::ptr

◆ shift

short wmKeyMapItem::shift

◆ type

short wmKeyMapItem::type

◆ val

int8_t wmKeyMapItem::val

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