UIshell
Synopsis
parent object of other widgets
UIdecorContainer+OPort UIshell<NEvisible=1> {
x = ;
y = ;
width = 300;
height = 300;
string title=> name_of(<-,1);
string iconName;
Boolean &iconic = 0;
UIcmdList+IPort2 &menu;
string display;
parent {
shellParent = 1;
};
int cancel;
Boolean showStatusBar=0;
string statusString;
omethod+notify_inst+notify update<NEvisible=0,lang="cxx",interruptable=0>="UIshellUpdate"};
Description
A UIshell is a window that holds other widgets. It, along with its alternative UIapp, is the parent object of the UIpanelwidgets on which all other visible widgets are placed.
The UIapp reference page lists the differences between UIapp and UIshell:
In Motif, UIshells do not require a parent. They are managed by the window manager. In Windows, UIshells require a UIapp as parent.
Subobjects
events <Not visible in Network Editor>;
shellParent <Not visible in Network Editor> =1;
canHaveChildren <Not visible in Network Editor> =1(can have children);
fontlist <No longer used. Not visible in Network Editor>;
cxxhandle <Internal Object. Not visible in Network Editor>;
handle <Internal Object. Not visible in Network Editor>;
window_resources <No longer used. Not visible in Network Editor>;
motif_resources <No longer used. Not visible in Network Editor>;
layout <No longer used. Not visible in Network Editor>
String. Specifies the string that labels the window at the top of the window manager's title bar. The default is "UIshell".
String. Specifies the string that labels the window when it is iconified (Motif). The default is the value for title.
Boolean. Flag that indicates and sets the iconic status of the UIshell. 1=iconified; 0=not iconified. The default is 0.
See UIcmdList . A reference to a UIcmdList that defines a pulldown menu or series of pulldown menus across the top of the UIshell. This menu would provide the basic controls for the window, such as File, Save, Exit, etc.
String. Set the name of the X11 display (on Unix systems only). The shell window appears on the named X11 display if it is available.
shellParent <Not visible in Network Editor> =1
Integer. If =1, UIshells are allowed to have UIshells as parents. This is the default. Notice this sub-object is inherited from the UIconnection class (see above).
Boolean. If = 1, UIshells can display messages in the status bar at the bottom of the window. If=0, disables all status strings. The default is 0. Message is in statusString.
Boolean. If = 1, cursor is made visible in window of attached UI object. If = 0, cursor defaults to default cursor for window.
Example
Main.Viewers.Viewer3D
v/view.v
Examples.Applications.IsoApp
examples/iso_app.v
Examples.Applications.UIApp
examples/ui_samp.vFile
See Also Related Modules