enum Tput::Namespace::WidgetAttribute

Defined in:

tput/namespace.cr

Enum Members

WA_Disabled = 0
WA_UnderMouse = 1
WA_MouseTracking = 2
WA_OpaquePaintEvent = 4

Formerly, 3 was WA_ContentsPropagated.

WA_StaticContents = 5
WA_LaidOut = 7
WA_PaintOnScreen = 8
WA_NoSystemBackground = 9
WA_UpdatesDisabled = 10
WA_Mapped = 11
WA_InputMethodEnabled = 14

Formerly, 12 was WA_MacNoClickThrough.

WA_WState_Visible = 15
WA_WState_Hidden = 16
WA_ForceDisabled = 32
WA_KeyCompression = 33
WA_PendingMoveEvent = 34
WA_PendingResizeEvent = 35
WA_SetPalette = 36
WA_SetFont = 37
WA_SetCursor = 38
WA_NoChildEventsFromChildren = 39
WA_WindowModified = 41
WA_Resized = 42
WA_Moved = 43
WA_PendingUpdate = 44
WA_InvalidSize = 45
WA_CustomWhatsThis = 47

Formerly 46 was WA_MacBrushedMetal and WA_MacMetalStyle.

WA_LayoutOnEntireRect = 48
WA_OutsideWSRange = 49
WA_GrabbedShortcut = 50
WA_TransparentForMouseEvents = 51
WA_PaintUnclipped = 52
WA_SetWindowIcon = 53
WA_NoMouseReplay = 54
WA_DeleteOnClose = 55
WA_RightToLeft = 56
WA_SetLayoutDirection = 57
WA_NoChildEventsForParent = 58
WA_ForceUpdatesDisabled = 59
WA_WState_Created = 60
WA_WState_CompressKeys = 61
WA_WState_InPaintEvent = 62
WA_WState_Reparented = 63
WA_WState_ConfigPending = 64
WA_WState_Polished = 66
WA_WState_OwnSizePolicy = 68

Formerly, 67 was WA_WState_DND.

WA_WState_ExplicitShowHide = 69
WA_ShowModal = 70
WA_MouseNoMask = 71
WA_NoMousePropagation = 73
WA_Hover = 74
WA_InputMethodTransparent = 75
WA_QuitOnClose = 76
WA_KeyboardFocusChange = 77
WA_AcceptDrops = 78
WA_DropSiteRegistered = 79
WA_WindowPropagation = 80
WA_NoX11EventCompression = 81
WA_TintedBackground = 82
WA_X11OpenGLOverlay = 83
WA_AlwaysShowToolTips = 84
WA_MacOpaqueSizeGrip = 85
WA_SetStyle = 86
WA_SetLocale = 87
WA_MacShowFocusRect = 88
WA_MacNormalSize = 89
WA_MacSmallSize = 90
WA_MacMiniSize = 91
WA_LayoutUsesWidgetRect = 92
WA_StyledBackground = 93
WA_CanHostQMdiSubWindowTitleBar = 95

Formerly, 94 was WA_MSWindowsUseDirect3D.

WA_MacAlwaysShowToolWindow = 96
WA_StyleSheet = 97
WA_ShowWithoutActivating = 98
WA_X11BypassTransientForHint = 99
WA_NativeWindow = 100
WA_DontCreateNativeAncestors = 101
WA_DontShowOnScreen = 103
WA_X11NetWmWindowTypeDesktop = 104

window types from http:#standards.freedesktop.org/wm-spec/

WA_X11NetWmWindowTypeDock = 105
WA_X11NetWmWindowTypeToolBar = 106
WA_X11NetWmWindowTypeMenu = 107
WA_X11NetWmWindowTypeUtility = 108
WA_X11NetWmWindowTypeSplash = 109
WA_X11NetWmWindowTypeDialog = 110
WA_X11NetWmWindowTypeDropDownMenu = 111
WA_X11NetWmWindowTypePopupMenu = 112
WA_X11NetWmWindowTypeToolTip = 113
WA_X11NetWmWindowTypeNotification = 114
WA_X11NetWmWindowTypeCombo = 115
WA_X11NetWmWindowTypeDND = 116
WA_SetWindowModality = 118

Formerly, 117 was WA_MacFrameworkScaled.

WA_WState_WindowOpacitySet = 119
WA_TranslucentBackground = 120
WA_AcceptTouchEvents = 121
WA_WState_AcceptedTouchBeginEvent = 122
WA_TouchPadAcceptSingleTouchEvents = 123
WA_X11DoNotAcceptFocus = 126
WA_AlwaysStackOnTop = 128
WA_TabletTracking = 129
WA_ContentsMarginsRespectsSafeArea = 130
WA_StyleSheetTarget = 131
WA_AttributeCount = 132

Add new attributes before this line

Instance Method Summary

Instance Method Detail

def wa_accept_drops? #

[View source]
def wa_accept_touch_events? #

[View source]
def wa_always_show_tool_tips? #

[View source]
def wa_always_stack_on_top? #

[View source]
def wa_attribute_count? #

[View source]
def wa_can_host_q_mdi_sub_window_title_bar? #

[View source]
def wa_contents_margins_respects_safe_area? #

[View source]
def wa_custom_whats_this? #

[View source]
def wa_delete_on_close? #

[View source]
def wa_disabled? #

[View source]
def wa_dont_create_native_ancestors? #

[View source]
def wa_dont_show_on_screen? #

[View source]
def wa_drop_site_registered? #

[View source]
def wa_force_disabled? #

[View source]
def wa_force_updates_disabled? #

[View source]
def wa_grabbed_shortcut? #

[View source]
def wa_hover? #

[View source]
def wa_input_method_enabled? #

[View source]
def wa_input_method_transparent? #

[View source]
def wa_invalid_size? #

[View source]
def wa_key_compression? #

[View source]
def wa_keyboard_focus_change? #

[View source]
def wa_laid_out? #

[View source]
def wa_layout_on_entire_rect? #

[View source]
def wa_layout_uses_widget_rect? #

[View source]
def wa_mac_always_show_tool_window? #

[View source]
def wa_mac_mini_size? #

[View source]
def wa_mac_normal_size? #

[View source]
def wa_mac_opaque_size_grip? #

[View source]
def wa_mac_show_focus_rect? #

[View source]
def wa_mac_small_size? #

[View source]
def wa_mapped? #

[View source]
def wa_mouse_no_mask? #

[View source]
def wa_mouse_tracking? #

[View source]
def wa_moved? #

[View source]
def wa_native_window? #

[View source]
def wa_no_child_events_for_parent? #

[View source]
def wa_no_child_events_from_children? #

[View source]
def wa_no_mouse_propagation? #

[View source]
def wa_no_mouse_replay? #

[View source]
def wa_no_system_background? #

[View source]
def wa_no_x11_event_compression? #

[View source]
def wa_opaque_paint_event? #

[View source]
def wa_outside_ws_range? #

[View source]
def wa_paint_on_screen? #

[View source]
def wa_paint_unclipped? #

[View source]
def wa_pending_move_event? #

[View source]
def wa_pending_resize_event? #

[View source]
def wa_pending_update? #

[View source]
def wa_quit_on_close? #

[View source]
def wa_resized? #

[View source]
def wa_right_to_left? #

[View source]
def wa_set_cursor? #

[View source]
def wa_set_font? #

[View source]
def wa_set_layout_direction? #

[View source]
def wa_set_locale? #

[View source]
def wa_set_palette? #

[View source]
def wa_set_style? #

[View source]
def wa_set_window_icon? #

[View source]
def wa_set_window_modality? #

[View source]
def wa_show_modal? #

[View source]
def wa_show_without_activating? #

[View source]
def wa_static_contents? #

[View source]
def wa_style_sheet? #

[View source]
def wa_style_sheet_target? #

[View source]
def wa_styled_background? #

[View source]
def wa_tablet_tracking? #

[View source]
def wa_tinted_background? #

[View source]
def wa_touch_pad_accept_single_touch_events? #

[View source]
def wa_translucent_background? #

[View source]
def wa_transparent_for_mouse_events? #

[View source]
def wa_under_mouse? #

[View source]
def wa_updates_disabled? #

[View source]
def wa_w_state_accepted_touch_begin_event? #

[View source]
def wa_w_state_compress_keys? #

[View source]
def wa_w_state_config_pending? #

[View source]
def wa_w_state_created? #

[View source]
def wa_w_state_explicit_show_hide? #

[View source]
def wa_w_state_hidden? #

[View source]
def wa_w_state_in_paint_event? #

[View source]
def wa_w_state_own_size_policy? #

[View source]
def wa_w_state_polished? #

[View source]
def wa_w_state_reparented? #

[View source]
def wa_w_state_visible? #

[View source]
def wa_w_state_window_opacity_set? #

[View source]
def wa_window_modified? #

[View source]
def wa_window_propagation? #

[View source]
def wa_x11_bypass_transient_for_hint? #

[View source]
def wa_x11_do_not_accept_focus? #

[View source]
def wa_x11_net_wm_window_type_combo? #

[View source]
def wa_x11_net_wm_window_type_desktop? #

[View source]
def wa_x11_net_wm_window_type_dialog? #

[View source]
def wa_x11_net_wm_window_type_dnd? #

[View source]
def wa_x11_net_wm_window_type_dock? #

[View source]
def wa_x11_net_wm_window_type_drop_down_menu? #

[View source]
def wa_x11_net_wm_window_type_menu? #

[View source]
def wa_x11_net_wm_window_type_notification? #

[View source]
def wa_x11_net_wm_window_type_popup_menu? #

[View source]
def wa_x11_net_wm_window_type_splash? #

[View source]
def wa_x11_net_wm_window_type_tool_bar? #

[View source]
def wa_x11_net_wm_window_type_tool_tip? #

[View source]
def wa_x11_net_wm_window_type_utility? #

[View source]
def wa_x11_open_gl_overlay? #

[View source]