08-16-2012
is there another method to do it? as it look complicated and i am new to this field. thanks
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Here's a question I have for anyone that might be able to help me:
I can write a html script that will allow the user to return to the previous page using the back button, and I can write a script that will allow the user to return to the previous page using the close button, but...is there a... (1 Reply)
Discussion started by: mdgibson
1 Replies
2. UNIX for Dummies Questions & Answers
Hi all,
when i ssh into my linux machine, i can do a double left click and then right click to paste it anywhere i need.
However, on the actual machine, in the terminal, i cannot do a double left click and right click to paste it. i need to right click and select Copy followed by click click... (1 Reply)
Discussion started by: new2ss
1 Replies
3. Solaris
Guys
There's a new WebPage where you can generate a comprehensive detailed system documentation by button click. Look at the example at https://sdoctool.sun.com/data/doc.php?ID=sdoctool&N=2 ;)
Interested, go to
Cheers (0 Replies)
Discussion started by: lebch
0 Replies
4. UNIX for Dummies Questions & Answers
Hi Everyone,
I am facing a problem, regarding cgi cannot receive the value from HTML after click submit. Here is the code
===============================================
#!/bin/bash
genHTML()
{
cat <<-__EOF__
Content-type: text/html
<html>
<script language="JavaScript">
<!--
... (2 Replies)
Discussion started by: ryanW
2 Replies
5. Shell Programming and Scripting
Hi,
I am trying to write a python program which changes background color on click of button. However i am stuck up. Instead of changing the color currently it is creating a new frame every time.
please look at the code and let me know how to correct it
#!/usr/bin/env python
from Tkinter... (0 Replies)
Discussion started by: vickylife
0 Replies
6. Shell Programming and Scripting
Hi
I completed a project for school where we had to do cpu scheduling by reading in a file processes.txt and then doing 2 algorithms on it and printing out the order in which processes execute (current time to current process executing) and then doing some calculations (turn around time, etc.).... (2 Replies)
Discussion started by: razrnaga
2 Replies
7. Shell Programming and Scripting
I am using Perl CGI. I have created some text fields and getting those values.
But i want if user leave the text field blank when he click on submit button then instead of run a script it should give a popup. Please any body suggest me something..??? (0 Replies)
Discussion started by: Navrattan Bansa
0 Replies
8. Shell Programming and Scripting
Hi,
As a newbie, I'm desperate ro make my shell script work. I'd like a script which checks all the files in a directory, check the file name, if the file name ends with "extracted", store it in a variable, if it has a suffix of ".roi" stores in another variable. I'm going to use these two... (3 Replies)
Discussion started by: armando110
3 Replies
9. Shell Programming and Scripting
I am trying to perform a button click via cURL and I am having an issue possibly due to java script on click. The HTML source code is:
<input id="ctl00_SPWebPartManager1_g_1bb6dc86_55ab_4ea9_a4db_4747922a8202_ctl00_RequestOption_0" class="radio" type="radio" checked="checked" value="1"... (5 Replies)
Discussion started by: js0505
5 Replies
10. Web Development
Hello,
I am newbie on php-mysql and just know only installation.
I have an apache2+php5+mysql installed VPS.
What I would like to do is that when visitor enters requested data shown in index.html, submit button will run a script to save each field into a file.
Here is an example shown in... (1 Reply)
Discussion started by: baris35
1 Replies
LEARN ABOUT HPUX
delete_child
delete_child() delete_child()
Name
delete_child - Composite class method called when a child is destroyed.
Synopsis
typedef void (*XtWidgetProc)(Widget);
Widget w;
Inputs
w Specifies the child that is to be removed from its parent's children array.
Description
The delete_child() method is registered on the delete_child field of the Composite class part structure. It is called by XtDestroyWidget()
to remove a child from its parent's children array.
Note that the argument to the delete_child() method is the child widget, not the composite widget that defines the method. This method
must remove the specified child from its parent's children array, and free up any other memory that the class uses to keep track of the
child.
The delete_child() method is not chained. If a class does not define a delete_child() method, it should inherit the method from its super-
class by specifying XtInheritDeleteChild in the delete_child field of its Composite class part structure. This field should not be set to
NULL.
Usage
Most widgets simply inherit the delete_child() method from their superclass. Some widget classes, though, create companion widgets for
each of their children (the Xaw Paned widget creates the Grip widgets that separate the panes, for example) or maintain information about
each child that must be freed up when the child is destroyed. These classes must provide their own delete_child() procedures. These pro-
cedures commonly "envelop" their superclass's method by providing a procedure that does class-specific processing and explicitly invokes
the superclass method. This technique allows a kind of non-automatic inheritance, and is shown in the example below.
Note that the Composite insert_child() and delete_child() methods exploit internal common data structures, so you should inherit or envelop
both or neither. If you do not inherit or envelop these methods, then your methods are responsible for adding and removing the child wid-
get from the children array.
Example
The following procedure is the delete_child() method of the Xaw Paned widget class. Note how it destroys the Grip widget that was automat-
ically created as a sibling of the child, and then explicitly invokes its superclass's delete_child() method to remove the child from the
Composite children array. See insert_child(4) for the corresponding insert_child() procedure.
static void DeleteChild(w)
Widget w;
{
/* remove the subwidget info and destroy the grip */
if ( IsPane(w) && HasGrip(w) ) XtDestroyWidget(PaneInfo(w)->grip);
/* delete the child widget in the composite children list with the */
/* superclass delete_child routine. */
(*SuperClass->composite_class.delete_child) (w);
} /* DeleteChild */
In this example, SuperClass is a symbolic name for the superclass of the Paned widget class. Note that this method does not determine the
superclass as follows:
XtSuperclass(XtParent(w))
The parent of w may be a subclass of Paned, and therefore its superclass pointer will not always be the class whose method should be
invoked.
See Also
Composite(3),
insert_child(4).
Xt - Intrinsics Methods delete_child()