fixunix
Tags Register FAQ Members List Social Groups Calendar Search Today's Posts Mark Forums Read

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 ...


Fix Unix > Tools > Motif > Auto Popdown on button in xmDialogShellWidgetClass

Reply
 
LinkBack Tools
  #1  
Old 10-04-2007, 09:30 AM
Junior Member
 
Join Date: Sep 2009
Posts: 0
Default Auto Popdown on button in xmDialogShellWidgetClass

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).

Any ideas would be great.
Thanks,
Bender

Reply With Quote
  #2  
Old 10-04-2007, 09:30 AM
Junior Member
 
Join Date: Sep 2009
Posts: 0
Default Re: Auto Popdown on button in xmDialogShellWidgetClass

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
Reply With Quote
  #3  
Old 10-04-2007, 07:47 PM
Junior Member
 
Join Date: Sep 2009
Posts: 0
Default Re: Auto Popdown on button in xmDialogShellWidgetClass

On Oct 3, 4:08 pm, arahne wrote:
> 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.

Reply With Quote
Reply

Tools


Similar Threads
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.