|
CTWM
|
Go to the source code of this file.
Data Structures | |
| struct | MotifWmHints |
Macros | |
| #define | MWM_HINTS_FUNCTIONS (1L << 0) |
| #define | MWM_HINTS_DECORATIONS (1L << 1) |
| #define | MWM_HINTS_INPUT_MODE (1L << 2) |
| #define | MWM_HINTS_STATUS (1L << 3) |
| #define | MWM_FUNC_ALL (1L << 0) |
| #define | MWM_FUNC_RESIZE (1L << 1) |
| #define | MWM_FUNC_MOVE (1L << 2) |
| #define | MWM_FUNC_MINIMIZE (1L << 3) |
| #define | MWM_FUNC_MAXIMIZE (1L << 4) |
| #define | MWM_FUNC_CLOSE (1L << 5) |
| #define | MWM_DECOR_ALL (1L << 0) /* [v] */ |
| #define | MWM_DECOR_BORDER (1L << 1) /* [v] */ |
| #define | MWM_DECOR_RESIZEH (1L << 2) |
| #define | MWM_DECOR_TITLE (1L << 3) /* [v] */ |
| #define | MWM_DECOR_MENU (1L << 4) |
| #define | MWM_DECOR_MINIMIZE (1L << 5) |
| #define | MWM_DECOR_MAXIMIZE (1L << 6) |
| #define | MWM_INPUT_MODELESS 0 |
| #define | MWM_INPUT_PRIMARY_APPLICATION_MODAL 1 |
| #define | MWM_INPUT_SYSTEM_MODAL 2 |
| #define | MWM_INPUT_FULL_APPLICATION_MODAL 3 |
| #define | MWM_TEAROFF_WINDOW (1L << 0) |
Functions | |
| bool | GetMWMHints (Window w, MotifWmHints *mwmHints) |
| int | mwm_has_border (MotifWmHints *hints) |
| bool | mwm_sets_title (MotifWmHints *hints) |
| bool | mwm_has_title (MotifWmHints *hints) |
| #define MWM_DECOR_ALL (1L << 0) /* [v] */ |
Definition at line 35 of file mwmhints.h.
Referenced by GetMWMHints().
| #define MWM_DECOR_BORDER (1L << 1) /* [v] */ |
Definition at line 36 of file mwmhints.h.
Referenced by mwm_has_border().
| #define MWM_DECOR_MAXIMIZE (1L << 6) |
Definition at line 41 of file mwmhints.h.
| #define MWM_DECOR_MENU (1L << 4) |
Definition at line 39 of file mwmhints.h.
| #define MWM_DECOR_MINIMIZE (1L << 5) |
Definition at line 40 of file mwmhints.h.
| #define MWM_DECOR_RESIZEH (1L << 2) |
Definition at line 37 of file mwmhints.h.
| #define MWM_DECOR_TITLE (1L << 3) /* [v] */ |
Definition at line 38 of file mwmhints.h.
Referenced by mwm_has_title().
| #define MWM_FUNC_ALL (1L << 0) |
Definition at line 27 of file mwmhints.h.
Referenced by GetMWMHints().
| #define MWM_FUNC_CLOSE (1L << 5) |
Definition at line 32 of file mwmhints.h.
| #define MWM_FUNC_MAXIMIZE (1L << 4) |
Definition at line 31 of file mwmhints.h.
| #define MWM_FUNC_MINIMIZE (1L << 3) |
Definition at line 30 of file mwmhints.h.
| #define MWM_FUNC_MOVE (1L << 2) |
Definition at line 29 of file mwmhints.h.
| #define MWM_FUNC_RESIZE (1L << 1) |
Definition at line 28 of file mwmhints.h.
| #define MWM_HINTS_DECORATIONS (1L << 1) |
Definition at line 22 of file mwmhints.h.
Referenced by GetMWMHints(), and mwm_sets_decorations().
| #define MWM_HINTS_FUNCTIONS (1L << 0) |
Definition at line 21 of file mwmhints.h.
Referenced by GetMWMHints().
| #define MWM_HINTS_INPUT_MODE (1L << 2) |
Definition at line 23 of file mwmhints.h.
| #define MWM_HINTS_STATUS (1L << 3) |
Definition at line 24 of file mwmhints.h.
| #define MWM_INPUT_FULL_APPLICATION_MODAL 3 |
Definition at line 47 of file mwmhints.h.
| #define MWM_INPUT_MODELESS 0 |
Definition at line 44 of file mwmhints.h.
| #define MWM_INPUT_PRIMARY_APPLICATION_MODAL 1 |
Definition at line 45 of file mwmhints.h.
| #define MWM_INPUT_SYSTEM_MODAL 2 |
Definition at line 46 of file mwmhints.h.
| #define MWM_TEAROFF_WINDOW (1L << 0) |
Definition at line 50 of file mwmhints.h.
| bool GetMWMHints | ( | Window | w, |
| MotifWmHints * | mwmHints ) |
Definition at line 25 of file mwmhints.c.
References MotifWmHints::decorations, dpy, MotifWmHints::flags, MotifWmHints::functions, MWM_DECOR_ALL, MWM_FUNC_ALL, MWM_HINTS_DECORATIONS, and MWM_HINTS_FUNCTIONS.
Referenced by AddWindow().
| int mwm_has_border | ( | MotifWmHints * | hints | ) |
Definition at line 104 of file mwmhints.c.
References MotifWmHints::decorations, LookInNameList(), MWM_DECOR_BORDER, mwm_sets_decorations(), and Scr.
Referenced by AddWindow().
| bool mwm_has_title | ( | MotifWmHints * | hints | ) |
Definition at line 145 of file mwmhints.c.
References MotifWmHints::decorations, MWM_DECOR_TITLE, and mwm_sets_decorations().
Referenced by AddWindow().
| bool mwm_sets_title | ( | MotifWmHints * | hints | ) |
Definition at line 127 of file mwmhints.c.
References LookInNameList(), mwm_sets_decorations(), and Scr.
Referenced by AddWindow().