Auto Popdown on button in xmDialogShellWidgetClass - Motif
This is a discussion on Auto Popdown on button in xmDialogShellWidgetClass - Motif ; I've constructed a custom dialog using the xmDialogShellWidgetClass managed by the bulletin board. It's pretty straightforward - I have an 'Apply' button and a 'Close' button. All I want the 'Apply' button to do is make the changes but NOT ...
| | LinkBack | Tools |
|
#1
| |||
| |||
| managed by the bulletin board. It's pretty straightforward - I have an 'Apply' button and a 'Close' button. All I want the 'Apply' button to do is make the changes but NOT popdown the dialog. All I have the button hooked to is a simple function that says this = that and the 'Close' button is a simple XtUnmanageChild(dialog). Any ideas would be great. Thanks, Bender |
|
#2
| |||
| |||
| jnbbender@gmail.com wrote: > I've constructed a custom dialog using the xmDialogShellWidgetClass > managed by the bulletin board. It's pretty straightforward - I have > an 'Apply' button and a 'Close' button. All I want the 'Apply' button > to do is make the changes but NOT popdown the dialog. All I have the > button hooked to is a simple function that says this = that and the > 'Close' button is a simple XtUnmanageChild(dialog). Try setting XmNautoUnmanage of XmBulletinBoard to false. Best regards, Dušan Peterc http://www.arahne.si |
|
#3
| |||
| |||
| On Oct 3, 4:08 pm, arahne > jnbben...@gmail.com wrote: > > I've constructed a custom dialog using the xmDialogShellWidgetClass > > managed by the bulletin board. It's pretty straightforward - I have > > an 'Apply' button and a 'Close' button. All I want the 'Apply' button > > to do is make the changes but NOT popdown the dialog. All I have the > > button hooked to is a simple function that says this = that and the > > 'Close' button is a simple XtUnmanageChild(dialog). > > Try setting XmNautoUnmanage of XmBulletinBoard to false. > > Best regards, > > Dušan Peterchttp://www.arahne.si That was it! Thanks for the fix. |
« Previous Thread
|
Next Thread »
| Tools | |
| |
| | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Re: Custom Button Tutorial - does button.js store javascript AND XULor just js script? | unix | Mozilla | 0 | 05-08-2008 10:34 PM |
| Conversion Key Button Labels --- Can I use my own button label description or must it be the ones you can select? | unix | Websphere | 3 | 05-08-2008 12:14 AM |
| Custom Button Tutorial - does button.js store javascript AND XUL orjust js script? | unix | Mozilla | 0 | 05-07-2008 08:26 PM |
| Treo 700 W side button and auto-on? | unix | Palmtop | 0 | 10-05-2007 04:24 AM |
| Hangs only on enter button or search button | unix | Mozilla | 0 | 09-05-2007 03:37 AM |
All times are GMT. The time now is 08:54 PM.
