From 6ed08019c258b947f6bf221b1c79faaa8bd4fdcc Mon Sep 17 00:00:00 2001 From: Arvind Samptur Date: Mon, 17 Feb 2003 05:00:40 +0000 Subject: [PATCH] A small writeup on how to use dialogs in metacity. Approved by Havoc. --- doc/Makefile.am | 2 +- doc/dialogs.txt | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 33 insertions(+), 1 deletion(-) create mode 100644 doc/dialogs.txt diff --git a/doc/Makefile.am b/doc/Makefile.am index f2c0073d5..043a12744 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -1,2 +1,2 @@ -EXTRA_DIST=theme-format.txt metacity-theme.dtd +EXTRA_DIST=theme-format.txt metacity-theme.dtd dialogs.txt diff --git a/doc/dialogs.txt b/doc/dialogs.txt new file mode 100644 index 000000000..1a28e6abf --- /dev/null +++ b/doc/dialogs.txt @@ -0,0 +1,32 @@ +Dialogs which have no transient parent or root window being +their tranisent parent are the ones which will be visible in +the tasklist. + +All such dialogs will be *always* on top of the window +group i.e they would transients for the whole group. + + +1) Modal dialogs + + + * If you wish to open another window from a modal dialog + + open *only* a modal dialog and set it's transient parent. + + +2) Normal dialog + + + without transient parent + + * If you wish to open another window from a normal dialog + + open either a normal dialog or a modal dialog only. + Set the transient parent for the child dialog if you do not + want them to be transient for all the other windows in the group. + + with transient parent + + * If you wish to open another window from a normal dialog + + you could open any type of window.