Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
XtPopup vs. XtManageChild
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Sergey V. Nedzelsky  
View profile  
 More options Dec 2 1999, 3:00 am
Newsgroups: comp.windows.x
From: "Sergey V. Nedzelsky" <sergey_nedzel...@sabre.com>
Date: 1999/12/02
Subject: XtPopup vs. XtManageChild
The following fragment of code is very typical:

// Creating a popup dialog
Widget dialog = XmCreateMessageDialog( parent, "Dialog", 0, 0 ); //
parent is initialized earlier in the code
XtManageChild( dialog );
XtPopup( XtParent( dialog ), XtGrabNone );

Why do we need the XtPopup call? XtManageChild maps the dialog, anyway.
In fact, if one comments the last line out, behavior does not change (at
least, visibly). I surfed the Net, but no one seems to care about it.

Thank you in advance,
Sergei


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
kenton  
View profile  
 More options Dec 2 1999, 3:00 am
Newsgroups: comp.windows.x, comp.windows.x.motif
From: ken...@nojunk.rahul.net
Date: 1999/12/02
Subject: Re: XtPopup vs. XtManageChild
In article <3846945B.58274...@sabre.com>,
Sergey V. Nedzelsky <sergey_nedzel...@sabre.com> wrote:

>The following fragment of code is very typical:

>// Creating a popup dialog
>Widget dialog = XmCreateMessageDialog( parent, "Dialog", 0, 0 ); //
>parent is initialized earlier in the code
>XtManageChild( dialog );
>XtPopup( XtParent( dialog ), XtGrabNone );

>Why do we need the XtPopup call?

You do not need XtPopup with Motif dialogs. Motif takes care of that for you.
--
Ken Lee, http://www.rahul.net/kenton/

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »