XtCreateManagedWidget() XtCreateManagedWidget()
Name
XtCreateManagedWidget - create and manage a child widget.
Synopsis
Widget XtCreateManagedWidget(name, widget_class, parent, args, num_args)
String name;
WidgetClass widget_class;
Widget parent;
ArgList args;
Cardinal num_args;
Inputs
name Specifies the resource name for the created widget.
widget_class
Specifies the widget class pointer for the created widget; must be rectObjClass or any subclass.
parent Specifies the parent widget; must be of class Composite or any subclass thereof.
args Specifies the argument list to override the resource defaults.
num_args Specifies the number of arguments in the argument list.
Returns
The newly created and managed child widget.
Description
XtCreateManagedWidget() creates a widget by passing all of its arguments to XtCreateWidget(), and then calling XtManageChild() on the
resulting widget. It returns the created and managed widget.
Usage
You can use XtVaCreateManagedWidget() to do the same thing, except that resource names and values are passed in a variable length argument
list, rather than an ArgList.
If you are creating a number of children of an already realized parent, it is more efficient to create them and then manage them all in a
single call to XtManageChildren().
See AlsoXtCreateWidget(1), XtManageChild(1), XtManageChildren(1), XtVaCreateManagedWidget(1).
Xt - Widget Lifecycle XtCreateManagedWidget()
Check Out this Related Man Page
XtManageChild() XtManageChild()
Name
XtManageChild - bring a widget under its parent's geometry management.
Synopsis
void XtManageChild(w)
Widget w;
Inputs
w Specifies the child widget to be managed; Must be of class RectObj or any subclass thereof.
Description
XtManageChild() brings a child widget under the geometry management of its parent. All widgets (except shell widgets) must be managed in
order to be visible. Managing a widget will generally make it visible, unless its XtNmappedWhenManaged resource is False.
XtManageChild() constructs a WidgetList of length one and calls XtManageChildren(). See XtManageChildren() for more information.
Usage
Calls to XtCreateWidget() and XtManageChild() can be combined into a single call to XtCreateManagedWidget() or XtVaCreateManagedWidget().
If you are going to manage multiple children of the same managed and realized parent, it is more efficient to place those children widget
into an array and call XtManageChildren() just once, as this results in only a single call to the parent's change_managed() method. If you
are creating widgets before the widget tree has been realized, however, managing them one at a time is fine.
A widget can be unmanaged by calling XtUnmanageChild().
See AlsoXtCreateManagedWidget(1), XtIsManaged(1), XtManageChildren(1), XtSetMappedWhenManaged(1), XtUnmanageChild(1), XtUnmanageChildren(1).
Xt - Widget Lifecycle XtManageChild()
Hi,
I'm using Solaris 2.6 with a proprietary GUI. Is there a way to provide a user with access to a shell script from the CDE (workspace menu?). The user does not have command line (terminal) access.
hope the question makes sense
:rolleyes:
thanks,
kristy (4 Replies)
Hello;
I need to place a classification banner at the top of my Solaris 2.6 CDE Desktop. The Banner must be displayed in all CDE desktop sessions available on the CDE dashboard (1,2,3,4).
The Banner must remain anchored at the top of the CDE desktop and must not be able to be closed... (1 Reply)
Hello;
I need to place a classification banner at the top of my Solaris 2.6 CDE Desktop. The Banner must be displayed in all CDE desktop sessions available on the CDE dashboard (1,2,3,4).
The Banner must remain anchored at the top of the CDE desktop and must not be able to be closed or hidden... (0 Replies)
this is kinda solved
Hi
I need to program an ordinary text field which scrolls to the right when it gets filled. It must be in Xaw3d. I cannot get the asciiTextWidget to do it.
Which resource do you need to set in asciiTextWidget to allow the widget to scroll to the right when typing text... (1 Reply)
Hi ,
wanna learn native GUI programming in Unix-Linux instead of Gtk and Qt.
No problem. You don't need a cross platform Gui toolkit like Gtk and Qt.
And the code and syntax is also not more or less than others.
Check out this code for a simple mainwindow for your application that is openend in... (0 Replies)