Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

xtcreatepopupshell(3) [centos man page]

XtCreatePopupShell(3)						   XT FUNCTIONS 					     XtCreatePopupShell(3)

NAME
XtCreatePopupShell, XtVaCreatePopupShell - create a popup shell SYNTAX
Widget XtCreatePopupShell(String name, WidgetClass widget_class, Widget parent, ArgList args, Cardinal num_args); Widget XtVaCreatePopupShell(String name, WidgetClass widget_class, Widget parent, ...); ARGUMENTS
args Specifies the argument list to override the resource defaults. name Specifies the text name for the created shell widget. num_args Specifies the number of arguments in the argument list. parent Specifies the parent widget. widget_class Specifies the widget class pointer for the created shell widget. ... Specifies the variable argument list to override the resource defaults. DESCRIPTION
The XtCreatePopupShell function ensures that the specified class is a subclass of Shell and, rather than using insert_child to attach the widget to the parent's children list, attaches the shell to the parent's pop-ups list directly. A spring-loaded pop-up invoked from a translation table already must exist at the time that the translation is invoked, so the translation manager can find the shell by name. Pop-ups invoked in other ways can be created ``on-the-fly'' when the pop-up actually is needed. This delayed creation of the shell is particularly useful when you pop up an unspecified number of pop-ups. You can look to see if an appropri- ate unused shell (that is, not currently popped up) exists and create a new shell if needed. SEE ALSO
XtCreateWidget(3), XtPopdown(3), XtPopup(3) X Toolkit Intrinsics - C Language Interface Xlib - C Language X Interface X Version 11 libXt 1.1.4 XtCreatePopupShell(3)

Check Out this Related Man Page

XtCreatePopupShell(3)						   XT FUNCTIONS 					     XtCreatePopupShell(3)

NAME
XtCreatePopupShell, XtVaCreatePopupShell - create a popup shell SYNTAX
Widget XtCreatePopupShell(String name, WidgetClass widget_class, Widget parent, ArgList args, Cardinal num_args); Widget XtVaCreatePopupShell(String name, WidgetClass widget_class, Widget parent, ...); ARGUMENTS
args Specifies the argument list to override the resource defaults. name Specifies the text name for the created shell widget. num_args Specifies the number of arguments in the argument list. parent Specifies the parent widget. widget_class Specifies the widget class pointer for the created shell widget. ... Specifies the variable argument list to override the resource defaults. DESCRIPTION
The XtCreatePopupShell function ensures that the specified class is a subclass of Shell and, rather than using insert_child to attach the widget to the parent's children list, attaches the shell to the parent's pop-ups list directly. A spring-loaded pop-up invoked from a translation table already must exist at the time that the translation is invoked, so the translation manager can find the shell by name. Pop-ups invoked in other ways can be created ``on-the-fly'' when the pop-up actually is needed. This delayed creation of the shell is particularly useful when you pop up an unspecified number of pop-ups. You can look to see if an appropri- ate unused shell (that is, not currently popped up) exists and create a new shell if needed. SEE ALSO
XtCreateWidget(3), XtPopdown(3), XtPopup(3) X Toolkit Intrinsics - C Language Interface Xlib - C Language X Interface X Version 11 libXt 1.1.3 XtCreatePopupShell(3)
Man Page

15 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Returning values from child to parent shell

I need to send the status from child shell failure to parent shell. I would like to know how could we accomplish this. My parent.sh is as below: #!/bin/ksh set -x echo "I am in parent shell now..." child.sh ret_stat=$? echo "rest_stat=$ret_stat" echo "I am below parent shell end..." ... (4 Replies)
Discussion started by: acheepi
4 Replies

2. Windows & DOS: Issues & Discussions

Restore

Hello everyone, I have a problem with my windows XP, the problem started when I discovered a PUP (Potential Unwanted Program), that used to generate pop ups. I uninstalled it, but it started to regenerate itself! so I had to delete it, and everything has anything to do with this program.... (3 Replies)
Discussion started by: hishamkashan
3 Replies

3. UNIX for Advanced & Expert Users

i have a problem with unix

Hi, > i have a problem using the crontab command. i have a program which > will show a pop-out in the screen using the say command when the > program is run. but when i put the program into the crontab command, the > program works perfectly but it did not show any pop-out on the screen.... (18 Replies)
Discussion started by: ckng
18 Replies

4. Shell Programming and Scripting

How to create a list of entries without vi

Hi Is there a way to create a list of entries in a file without using vi to create this list ? I like to write a shell script that would create a list like this: apple : 2 orange : 4 pear : 3 Any tips/suggestions ? Thanks (3 Replies)
Discussion started by: mpc8250
3 Replies

5. Shell Programming and Scripting

Checking if a file exists

How can I check if a file exists in shell script. Basically, I want to check if a file Test_msgs has been created today. If it has been then append data to it. Otherwise, create it. I have written the following but it does not work. todaysdate=$(date +%d%m%Y) timenow=$(date +%H%M%S)... (4 Replies)
Discussion started by: gugs
4 Replies

6. Solaris

Pop up messages !!!!

Dears, Can you please help me regarding pop up messages !!!! I want system to display a pop up message for all the users connected to the system when /var size reach more the 80%. This message should appears once in an hour. Thanks for your help. (5 Replies)
Discussion started by: Danish Shakil
5 Replies

7. Shell Programming and Scripting

Creating String from words in a file

Hi i have a file called search.txt Which contains text like Car Bus Cat Dog Now i have to create a string from the file which should look like Car,Bus,Cat,Dog ( appending , is essential part) String must be stored in some variable so i can pass it as argument to some other... (5 Replies)
Discussion started by: deepakthaman
5 Replies

8. Shell Programming and Scripting

String Manipulation

How u convert string "hi pravin how are you?" to "Hi Pravin How Are You?" (4 Replies)
Discussion started by: proactiveaditya
4 Replies

9. Shell Programming and Scripting

Exporting variables from subshell to parent shell

Hi, I was trying to do something where I would be able to export one local variable in a telnet subshell to its parent shell. I found something like this over here, but couldnt exactly understand it :(. I am referring to this part actually: #! /usr/bin/ksh exec 4>&1 tail -5 >&4 |& exec... (4 Replies)
Discussion started by: King Nothing
4 Replies

10. Shell Programming and Scripting

Listing file names as soon as they are created

Hi, I have been looking for a method to list file names as soon as they are created. I have used the following command : find . -name "*.xml" -mmin -2 -exec ls --full-time {} \; | sort -k6 this finds all xml files created in the last 2 minutes and orders them by time. The problem is that... (7 Replies)
Discussion started by: phil.e.b
7 Replies

11. Shell Programming and Scripting

if inside while statement (PLZ HELP)

hey guys i need some help here i am trying to do a bash shell script to get a parent PID and then search for all childs and kill them all without killing the parent, my problem is in the loop it seems that i dont know how to make a if statment inside a while statment it does not give me what i... (5 Replies)
Discussion started by: q8devilish
5 Replies

12. Shell Programming and Scripting

String operations

Hi All, can you tell me how to drop all preceding zeros in a number. For example, if i have a numbers like 000876838347 and 0000007854762543..how to make them as 876838347 and 7854762543. (6 Replies)
Discussion started by: nram_krishna@ya
6 Replies

13. Shell Programming and Scripting

String manipulation

I want to do the next "I don't want to go school because I'm sick today." I want to join these two line but only when the first line is not more than 20 characters and ended whit nothing or a comma and the second line not more than 15. The 20 and the 15 can be change in the script. I know... (10 Replies)
Discussion started by: thailand
10 Replies

14. Shell Programming and Scripting

Replacing a line in a file using sed

I have a file which has a list in it pop triangle people slow fast What I want to do is search this list and replace people with humans do the list looks like this: pop triangle human slow fast I think i use something like this.... if cat /list.txt | grep -q 'people' ; then (9 Replies)
Discussion started by: digitalviking
9 Replies

15. What is on Your Mind?

The green pop-ups...

Admins... I just lerve the pop-ups that appear whilst replying to someones post. It reminds me of "Paperclip" from my MS Windows days... ;oDD Love it, as it makes me smile, telling me I am creating a thread ATM... ;o) Neat little addition/feature guys... (4 Replies)
Discussion started by: wisecracker
4 Replies