Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

xtvacreatepopupshell(3xt) [redhat man page]

XtCreatePopupShell(3Xt) 					   XT FUNCTIONS 					   XtCreatePopupShell(3Xt)

NAME
XtCreatePopupShell, XtVaCreatePopupShell - create a popup shell SYNTAX
Widget XtCreatePopupShell(name, widget_class, parent, args, num_args) String name; WidgetClass widget_class; Widget parent; ArgList args; Cardinal num_args; Widget XtVaCreatePopupShell(name, widget_class, parent, ...) 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(3Xt), XtPopdown(3Xt), XtPopup(3Xt) X Toolkit Intrinsics - C Language Interface Xlib - C Language X Interface X Version 11 Release 6.6 XtCreatePopupShell(3Xt)

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(3Xt), XtPopdown(3Xt), XtPopup(3Xt) X Toolkit Intrinsics - C Language Interface Xlib - C Language X Interface X Version 11 libXt 1.0.5 XtCreatePopupShell(3)
Man Page

10 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. Shell Programming and Scripting

what is the max length of args i can pass in shell?

i have a shell script which takes several args. what is the maximum length of string i can give as argument? (6 Replies)
Discussion started by: senthilk615
6 Replies

3. Shell Programming and Scripting

Using Awk in shell script to extract an index of a substring from a parent string

Hi All, I am new to this shell scripting world. Struck up with a problem, can anyone of you please pull me out of this. Requirement : Need to get the index of a substring from a parent string Eg : index("Sandy","dy") should return 4 or 3. My Approach : I used Awk function index to... (2 Replies)
Discussion started by: sandeepms17
2 Replies

4. Shell Programming and Scripting

question about about Shell programming

1.if 2.then 3. # save the number of args and first argument in variables. 4. num_args=$# 5. id="$1" 6. echo "$id" 7. #echo "$1" > crapfile.txt 8. echo `sed 's/\*/'\*'/g' < crapfile.txt` Above is a partial code.I would like to ask: at line 1:... (1 Reply)
Discussion started by: thungmail
1 Replies

5. Shell Programming and Scripting

Developing own shell

Hi everyone.I am trying ti create my own shell in C.So far i have managed to create a parser to separate args from cmd line of my shell.(i have done nothing different for tokens is that wrong?).so i can run commands like "ls -l" "cp" "cat" etc.now i want to add redirection.can anyone guide me... (1 Reply)
Discussion started by: bashuser2
1 Replies

6. Shell Programming and Scripting

Input/Output with multiple coprocesses

Communication between a parent korn shell script and a coprocess is through read -p and write -p. If there are multiple coprocesses how does the parent script specify which coprocess it wants to read from? Thanks, twk (2 Replies)
Discussion started by: twk
2 Replies

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

8. Shell Programming and Scripting

Help needed with searching files and moving them to a different directory

I am new to shell scripting. Can someone help me out with this one please? I need to write a script fot the following scenario: I am currently in /parent directory. I have a set of files in /parent/error_files directory My script has to search for a file in /parent/erratic_files... (1 Reply)
Discussion started by: ss3944
1 Replies

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

10. Shell Programming and Scripting

Editing .plists with defaults

I've done simple edits with defaults, but they usually are the parent parameter. For example changing the value of "DateCellWidthCache" =. What if I want to change a parameter in one of the sub categories such as "MMM d, y' '",? How do I type that out at the end of my defaults write command?: ... (1 Reply)
Discussion started by: sudo
1 Replies