Q. about modality

This is a discussion on Q. about modality within the Motif forums, part of the Tools category; My application creates, besides its main window, a few modeless helper windows. So far, so good. Sometimes the user has to use some feature that is interfaced by an modal ...

Go Back   Unix Linux Forum > Technologies & Tools > Tools > Motif

FixUnix.com - Unix Linux Forums

Unix Content Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 05-23-2008, 06:02 AM
Default Q. about modality

My application creates, besides its main window, a few modeless helper
windows. So far, so good.

Sometimes the user has to use some feature that is interfaced by an
modal dialog. Currently I use XmDIALOG_FULL_APPLICATION_MODAL, and
when the dialog is open the helper windows can be made visible, but
are not responsive.

I know that if I use PRIMARY_APPLICATION_MODAL for the dialogs, the
helper windows will become responsive. My problem is, some of the
helpers SHOULD stay unresponsive, and some helpers should only perform
a subset of their normal operations.

Is there some recipe for such a goal?
Reply With Quote
  #2  
Old 05-24-2008, 06:19 PM
Default Re: Q. about modality

Michel Bardiaux wrote:

> I know that if I use PRIMARY_APPLICATION_MODAL for the dialogs, the
> helper windows will become responsive. My problem is, some of the
> helpers SHOULD stay unresponsive, and some helpers should only perform
> a subset of their normal operations.


I will recycle the answer which Andre Majorel just gave me
with respect to window titles in UTF8 encoding.

It appears that your application needs tight integration with
the window manager, so you should try setting the more
advanced window properties with XChangeProperty()
Check this document
http://standards.freedesktop.org/wm-...-spec-1.4.html

DuĊĦan Peterc
http://www.arahne.si
Reply With Quote
Reply

Thread Tools


All times are GMT -5. The time now is 01:41 AM.

In an effort to better serve ads to our visitors, cookies are used on Fixunix.com. For more information, check out our Privacy Policy.

Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Ad Management by RedTyger