|
X11workbench Toolkit
1.0
|
Enumerations | |
| enum | WMPropertiesWindowType { WMPropertiesWindowType_TypeMask = 0x3f, WMPropertiesWindowType_Normal = 0, WMPropertiesWindowType_Desktop = 1, WMPropertiesWindowType_Dock = 2, WMPropertiesWindowType_ToolBar = 3, WMPropertiesWindowType_Menu = 4, WMPropertiesWindowType_Utility = 5, WMPropertiesWindowType_Splash = 6, WMPropertiesWindowType_Dialog = 7, WMPropertiesWindowType_DropDownMenu = 8, WMPropertiesWindowType_PopupMenu = 9, WMPropertiesWindowType_ToolTip = 10, WMPropertiesWindowType_Notification = 11, WMPropertiesWindowType_Combo = 12, WMPropertiesWindowType_Drag_N_Drop = 13, WMPropertiesWindowType_Reserved14 = 14, WMPropertiesWindowType_Reserved15 = 15, WMPropertiesWindowType_StateMask = 0xfffC0, WMPropertiesWindowType_NoState = 0, WMPropertiesWindowType_Modal = 0x00040, WMPropertiesWindowType_Sticky = 0x00080, WMPropertiesWindowType_VMax = 0x00100, WMPropertiesWindowType_HMax = 0x00200, WMPropertiesWindowType_FullScreen = 0x00400, WMPropertiesWindowType_Hidden = 0x00800, WMPropertiesWindowType_Shaded = 0x01000, WMPropertiesWindowType_SkipTaskbar = 0x02000, WMPropertiesWindowType_SkipPager = 0x04000, WMPropertiesWindowType_Above = 0x08000, WMPropertiesWindowType_Below = 0x10000, WMPropertiesWindowType_Focused = 0x20000, WMPropertiesWindowType_DemandsAttention = 0x40000, WMPropertiesWindowType_Reserved80000 = 0x80000, WMPropertiesWindowType_Max = 0x80000000 } |
| Window type enumeration. Reserved for future implementation. More... | |
| enum | WMPropertiesWMProtocols { WMPropertiesWMProtocols_Mask = 0xff, WMPropertiesWMProtocols_None = 0x0, WMPropertiesWMProtocols_DeleteWindow = 0x01, WMPropertiesWMProtocols_Reserved2 = 0x02, WMPropertiesWMProtocols_Reserved3 = 0x04, WMPropertiesWMProtocols_Reserved4 = 0x08, WMPropertiesWMProtocols_Reserved5 = 0x10, WMPropertiesWMProtocols_Reserved6 = 0x20, WMPropertiesWMProtocols_Reserved7 = 0x40, WMPropertiesWMProtocols_Reserved8 = 0x80 } |
| Window WMProtocols support enumeration. More... | |
Functions | |
| void | WBSetWMProperties (Window wID, const char *szTitle, XSizeHints *pNormalHints, XWMHints *pWMHints, XClassHint *pClassHints) |
| assign standard WM (Window Manager) properties via XSetWMProperties More... | |
| void | WBSetWMPropertiesWindowType (Window wID, enum WMPropertiesWindowType wmProp) |
| assign standard WM (Window Manager) 'window type' properties BEFORE mapping it (reserved) More... | |
| void | WBChangeWMPropertiesWindowType (Window wID, enum WMPropertiesWindowType wmPropSet, enum WMPropertiesWindowType wmChangeMask) |
| re-assign standard WM (Window Manager) 'window type' properties and notify the root window (reserved) More... | |
| enum WMPropertiesWindowType | WBGetWMPropertiesWindowType (Window wID) |
| re-assign standard WM (Window Manager) 'window type' properties and notify the root window (reserved) More... | |
| void | WBSetWMProtocols (Window wID, Atom aProperty,...) |
| re-assign standard WM (Window Manager) 'window type' properties and notify the root window (reserved) More... | |
Window type enumeration. Reserved for future implementation.
reserved for future implementation
Definition at line 993 of file window_helper.h.
Window WMProtocols support enumeration.
Bit flags indicating support for known WM_PROTOCOLS window manager features
| Enumerator | |
|---|---|
| WMPropertiesWMProtocols_None | the default |
Definition at line 1046 of file window_helper.h.
| void WBChangeWMPropertiesWindowType | ( | Window | wID, |
| enum WMPropertiesWindowType | wmPropSet, | ||
| enum WMPropertiesWindowType | wmChangeMask | ||
| ) |
re-assign standard WM (Window Manager) 'window type' properties and notify the root window (reserved)
| wID | The Window ID for the window |
| wmPropSet | A set of enumerated bit values from the WMPropertiesWindowType enumeration |
| wmChangeMask | A mask for the enumerated bit values to change from the WMPropertiesWindowType enumeration |
Header File: window_helper.h
Definition at line 3128 of file window_helper.c.
| enum WMPropertiesWindowType WBGetWMPropertiesWindowType | ( | Window | wID | ) |
re-assign standard WM (Window Manager) 'window type' properties and notify the root window (reserved)
| wID | The Window ID for the window |
These values are cached from WBSetWMPropertiesWindowType() and WBChangeWMPropertiesWindowType()
Header File: window_helper.h
Definition at line 3136 of file window_helper.c.
| void WBSetWMProperties | ( | Window | wID, |
| const char * | szTitle, | ||
| XSizeHints * | pNormalHints, | ||
| XWMHints * | pWMHints, | ||
| XClassHint * | pClassHints | ||
| ) |
assign standard WM (Window Manager) properties via XSetWMProperties
| wID | The Window ID for the window |
| szTitle | A const pointer to a character string containing the window title |
| pNormalHints | The pointer to the XSiteHints data, or NULL |
| pWMHints | The pointer to the XWMHints data, or NULL |
| pClassHints | The pointer to the XClassHint data, or NULL |
Header File: window_helper.h
Definition at line 2852 of file window_helper.c.
| void WBSetWMPropertiesWindowType | ( | Window | wID, |
| enum WMPropertiesWindowType | wmProp | ||
| ) |
assign standard WM (Window Manager) 'window type' properties BEFORE mapping it (reserved)
| wID | The Window ID for the window |
| wmProp | An inclusive set of enumerated bit values from the WMPropertiesWindowType enumeration |
Header File: window_helper.h
Definition at line 3118 of file window_helper.c.
| void WBSetWMProtocols | ( | Window | wID, |
| Atom | aProperty, | ||
| ... | |||
| ) |
re-assign standard WM (Window Manager) 'window type' properties and notify the root window (reserved)
| wID | The Window ID for the window |
| aProperty | The atoms to be assigned to the supported WM Protocols list |
Additional parameters are all Atom values, the last one being 'None' to mark the end of the list. These Atoms will be assigned to the WM_PROTOCOLS property via XSetWMProtocols(). In some cases, the behavior of the toolkit will change depending on the atoms that are assigned. This assignment should ONLY be done on top-level windows, and only at the time of window creation.
Header File: window_helper.h
Definition at line 3151 of file window_helper.c.