Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

xtunmanagechildren(3x) [hpux man page]

XtUnmanageChildren(3X)						   XT FUNCTIONS 					    XtUnmanageChildren(3X)

NAME
XtUnmanageChildren - unmanage children SYNTAX
typedef Widget *WidgetList; void XtUnmanageChildren(children, num_children) WidgetList children; Cardinal num_children; ARGUMENTS
children Specifies a list of child widgets. num_children Specifies the number of children. DESCRIPTION
The XtUnmanageChildren function performs the following: o Issues an error if the children do not all have the same parent or if the parent is not a subclass of compositeWidgetClass. o Returns immediately if the common parent is being destroyed; otherwise, for each unique child on the list, XtUnmanageChildren performs the following: - Ignores the child if it already is unmanaged or is being destroyed and marks it if not. - If the child is realized, it makes it nonvisible by unmapping it. o Calls the change_managed routine of the widgets' parent after all children have been marked if the parent is realized. XtUnmanageChildren does not destroy the children widgets. Removing widgets from a parent's managed set is often a temporary banishment, and, some time later, you may manage the children again. SEE ALSO
XtManageChildren(3X), XtManageChild(3X), XtUnmanageChild(3X), XtChangeManagedSet(3X), XtIsManged(3X) X Version 11 Release 6 XtUnmanageChildren(3X)

Check Out this Related Man Page

XtManageChildren(3X)						   XT FUNCTIONS 					      XtManageChildren(3X)

NAME
XtManageChildren - manage children SYNTAX
void XtManageChildren(children, num_children) WidgetList children; Cardinal num_children; ARGUMENTS
children Specifies a list of child widgets. num_children Specifies the number of children. DESCRIPTION
The XtManageChildren function performs the following: o Issues an error if the children do not all have the same parent or if the parent is not a subclass of compositeWidgetClass. o Returns immediately if the common parent is being destroyed; otherwise, for each unique child on the list, XtManageChildren ignores the child if it already is managed or is being destroyed and marks it if not. o If the parent is realized and after all children have been marked, it makes some of the newly managed children viewable: - Calls the change_managed routine of the widgets' parent. - Calls XtRealizeWidget on each previously unmanaged child that is unrealized. - Maps each previously unmanaged child that has map_when_managed True. Managing children is independent of the ordering of children and independent of creating and deleting children. The layout routine of the parent should consider children whose managed field is True and should ignore all other children. Note that some composite widgets, espe- cially fixed boxes, call XtManageChild from their insert_child procedure. If the parent widget is realized, its change_managed procedure is called to notify it that its set of managed children has changed. The parent can reposition and resize any of its children. It moves each child as needed by calling XtMoveWidget, which first updates the x and y fields and then calls XMoveWindow if the widget is realized. SEE ALSO
XtManageChild(3X), XtUnmanageChildren(3X), XtUnmanageChild(3X), XtChangeManagedSet(3X), XtIsManaged(3X) X Version 11 Release 6 XtManageChildren(3X)
Man Page

15 More Discussions You Might Find Interesting

1. Programming

how to creat 1 parent to call 3 children

hi there, im trying to produce this program that would run at first, and when it runs it will fork one child process to a program and then another forking to run this other program, and then another one . i cant seem to get it right can someone help me please here is what is got so far: int... (1 Reply)
Discussion started by: zmanultra
1 Replies

2. Programming

Father & children

Hello, i should finished this program, if anyone could tell me whats wrong... This is an optional university work, though i cant leave this nearly finished. I need to see where is my error :( What my program should do. The user must type "num_proc" ( number of children). The program creates a... (4 Replies)
Discussion started by: Jariya
4 Replies

3. Shell Programming and Scripting

child processess

Hi, suppose i want to display the child processess that are running at the background.how do u do it. ps -ef shows both parent and child processess i need to see only the child processess. cheers. (3 Replies)
Discussion started by: uni_ajay_r
3 Replies

4. Programming

pipe read and write with many forked children

I know how to read and write if i have a forked process with only one child. However what is involved with reading and writing with many forked processes. Say one parent that forks 5 children, and needs to communicate with all 5 in half duplex. int temp, counter=0; do{ pipe(temp); ... (5 Replies)
Discussion started by: steveneliuk
5 Replies

5. Programming

Status of child job after parent is killed

Hi, I have a requirement. Scenario: A parent job invokes a child job and gets killed. The child becomes orphan and gets attached to init. Child job is removed from the pid table as soon as it gets completed. Requirement is i need the status of the child job even after the parent job is... (7 Replies)
Discussion started by: anjul_thegreat
7 Replies

6. Shell Programming and Scripting

exiting a child without stopping the parent

Greets all. This is using bash/sh on Slackware Linux 12.... I have a parent and MANY children scripts. The parent would be: for script in scripts/*.sh; do sh $script || exit 1 done I'm trying to get a child script to quit running without bombing my parent script. This would be the... (5 Replies)
Discussion started by: madpenguin
5 Replies

7. Programming

How to implement SIGKILL and SIGTERM and print a message?

Hello, I am running a webserver that uses sockets, forks, and children. The parent process listens for connections and the child processes the information. I am trying to figure out why the code I have below SIGTERM, and SIGKILL never fire. I was messing around with the printfs and doesnt... (11 Replies)
Discussion started by: norelco55
11 Replies

8. Shell Programming and Scripting

background processing in BASH

I have script 3 scripts 1 parent (p1) and 2 children child1 and child2 I have script 3 scripts 1 parent 2 children child1 child2 In the code below the 2 child processes fire almost Instantaneously in the background, Is that possible to know the status of pass/fail of each process... (12 Replies)
Discussion started by: jville
12 Replies

9. Programming

Two way Pipe Process

Hi.. I am hoping someone could assist me with the pipe program I wrote below. I want to have communication from parent to child and then child to parent.. Is my logic right? int p,p1; pipe(p); pipe(p1); pid_t pid = fork(); if(pid == 0) { close(p); close(p1); dup2(p,0);... (1 Reply)
Discussion started by: therome
1 Replies

10. Shell Programming and Scripting

Script, child kills parent

Hello everyone, I'm trying to write a script, i would like to say the child kills the parent, how would i do that? (2 Replies)
Discussion started by: jessy21
2 Replies

11. Programming

C function to start process but to return right away

Hello, I am using C on a Centos box with gcc as the compiler. I want a function to do something, them make an http request to some server (most probably using curl but suggestions are welcome) and return right away without waiting for the server's answer on that request. What should I use... (8 Replies)
Discussion started by: JCR
8 Replies

12. Shell Programming and Scripting

Help with Efficient Looping

Hello guys My requirement is to read a file with parent-child relationship we need to iterate through each row to find its latest child. for eg. parent child ABC PQR PQR DEF DEF XYZ Expected Output ABC XYZ PQR XYZ DEF XYZ Script Logic : read parent from file seach child... (4 Replies)
Discussion started by: joshiamit
4 Replies

13. Shell Programming and Scripting

How to exit from the parent script while the child is running?

hi, i want to call a child shell script from a parent shell script. the child will be running for 5 mins. normally when the child is running, parent will wait till the child completes. so in the above case parent will be paused for 5 mins. is there a way so that the parents does not wait for the... (3 Replies)
Discussion started by: Little
3 Replies

14. Shell Programming and Scripting

Passing key column from parent to child records

Hi Forum. I have this challenging issue that I'm hoping someone can help me. I have a file that contains 3 different types of segments (AM00, AM01, AM32) in a hierarchy structure and I want to be able to pass the column key from the parent record to the children records. AM00 - parent key:... (13 Replies)
Discussion started by: pchang
13 Replies

15. UNIX for Beginners Questions & Answers

One parent, multiple children pipe with fork()

The task I have to do is something along the lines "I receive some input and based on the first character I send it through pipe to one of the children to print". The scheme it is based on is 1->2; 1->3; 1->4; 2 will print all the input that starts with a letter, 3 will print all the input that... (2 Replies)
Discussion started by: Ildiko
2 Replies