Import Tk 8.6.10
This commit is contained in:
@@ -36,6 +36,17 @@ typedef struct ProtocolHandler {
|
||||
* THE LAST FIELD OF THE STRUCTURE. */
|
||||
} ProtocolHandler;
|
||||
|
||||
/* The following data structure is used in the TkWmInfo to maintain a list of all of the
|
||||
* transient windows belonging to a given master.
|
||||
*/
|
||||
|
||||
typedef struct Transient {
|
||||
TkWindow *winPtr;
|
||||
int flags;
|
||||
struct Transient *nextPtr;
|
||||
} Transient;
|
||||
|
||||
#define WITHDRAWN_BY_MASTER 0x1
|
||||
|
||||
/*
|
||||
* A data structure of the following type holds window-manager-related
|
||||
@@ -54,7 +65,7 @@ typedef struct TkWmInfo {
|
||||
Tk_Uid titleUid; /* Title to display in window caption. If NULL,
|
||||
* use name of widget. */
|
||||
char *iconName; /* Name to display in icon. */
|
||||
Window master; /* Master window for TRANSIENT_FOR property, or
|
||||
Tk_Window master; /* Master window for TRANSIENT_FOR property, or
|
||||
* None. */
|
||||
XWMHints hints; /* Various pieces of information for window
|
||||
* manager. */
|
||||
@@ -62,14 +73,13 @@ typedef struct TkWmInfo {
|
||||
* (corresponds to hints.window_group).
|
||||
* Malloc-ed. Note: this field doesn't get
|
||||
* updated if leader is destroyed. */
|
||||
char *masterWindowName; /* Path name of window specified as master in
|
||||
* "wm transient" command, or NULL. Malloc-ed.
|
||||
* Note: this field doesn't get updated if
|
||||
* masterWindowName is destroyed. */
|
||||
Tk_Window icon; /* Window to use as icon for this window, or
|
||||
* NULL. */
|
||||
Tk_Window iconFor; /* Window for which this window is icon, or
|
||||
* NULL if this isn't an icon for anyone. */
|
||||
Transient *transientPtr; /* First item in a list of all transient windows
|
||||
* belonging to this window, or NULL if there
|
||||
* are no transients. */
|
||||
|
||||
/*
|
||||
* Information used to construct an XSizeHints structure for the window
|
||||
|
||||
Reference in New Issue
Block a user