| IDA SDK

Macros
Widget open flags

## Detailed Description

passed as options to open_form() and display_widget()

## Macros
#define | WOPN_RESTORE 0x00000004u
| if the widget was the only widget in a floating area the last time it was closed, it will be restored as floating, with the same position+size as before
#define | WOPN_PERSIST 0x00000040u
| widget will remain available when starting or stopping debugger sessions
#define | WOPN_CLOSED_BY_ESC 0x00000080u
| override idagui.cfg:CLOSED_BY_ESC: esc will close
#define | WOPN_NOT_CLOSED_BY_ESC 0x00000100u
| override idagui.cfg:CLOSED_BY_ESC: esc will not close
#define | WOPN_DP_MASK 0x0FFF0000u
#define | WOPN_DP_SHIFT 16
#define | WOPN_DP_LEFT (DP_LEFT << WOPN_DP_SHIFT)
| Dock widget to the left of dest_ctrl.
#define | WOPN_DP_TOP (DP_TOP << WOPN_DP_SHIFT)
| Dock widget above dest_ctrl.
#define | WOPN_DP_RIGHT (DP_RIGHT << WOPN_DP_SHIFT)
| Dock widget to the right of dest_ctrl.
#define | WOPN_DP_BOTTOM (DP_BOTTOM << WOPN_DP_SHIFT)
| Dock widget below dest_ctrl.
#define | WOPN_DP_INSIDE (DP_INSIDE << WOPN_DP_SHIFT)
| Create a new tab bar with both widget and dest_ctrl.
#define | WOPN_DP_TAB (DP_TAB << WOPN_DP_SHIFT)
| Place widget into a tab next to dest_ctrl, if dest_ctrl is in a tab bar (otherwise the same as WOPN_DP_INSIDE)
#define | WOPN_DP_BEFORE (DP_BEFORE << WOPN_DP_SHIFT)
| Place widget before dst_form in the tab bar instead of after; used with WOPN_DP_INSIDE and WOPN_DP_TAB.
#define | WOPN_DP_FLOATING (DP_FLOATING << WOPN_DP_SHIFT)
| Make widget floating.
#define | WOPN_DP_SZHINT (DP_SZHINT << WOPN_DP_SHIFT)
| when floating or in a splitter (i.e., not tabbed), use the widget's size hint to determine the best geometry (Qt only)
#define | WOPN_DP_INSIDE_BEFORE (WOPN_DP_INSIDE | WOPN_DP_BEFORE)
#define | WOPN_DP_TAB_BEFORE (WOPN_DP_TAB | WOPN_DP_BEFORE)
#define | WOPN_GET_DP(v) (((v) & WOPN_DP_MASK) >> WOPN_DP_SHIFT)