eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'ApplicationSubView':

Home

everywhere
www.exept.de
for:
[back]

Class: ApplicationSubView


Inheritance:

   Object
   |
   +--GraphicsContext
      |
      +--DeviceGraphicsContext
         |
         +--GraphicsMedium
            |
            +--DisplaySurface
               |
               +--SimpleView
                  |
                  +--View
                     |
                     +--ApplicationSubView

Package:
stx:libview2
Category:
Views-Basic
Version:
rev: 1.8 date: 2006/02/15 21:01:33
user: cg
file: ApplicationSubView.st directory: libview2
module: stx stc-classLibrary: libview2

Description:


needed sometimes, when a full application is embeded into an ExtendedComboBox
or subcanvas AND you want to avoid, that this application accesses the outer
applications aspects (by returning a private application instance).

Notice: you may have to manually set this views application to be the embedded app
       (i.e. via #application:) unless it is set by #client:....

see self-embedding example in CodingExamples_GUI::GUIDemoExtendedComboBox


Instance protocol:

accessing
o  application
return the value of the instance variable 'application' (automatically generated)

o  application: something
set the value of the instance variable 'application' (automatically generated)

o  buildMenu: aBoolean
if true, the main menu is also built. Default is false

o  client: anApplication spec: aWindowSpecOrSpecSymbol builder: aBuilder

o  client: anApplication spec: aWindowSpecOrSpecSymbol builder: aBuilder withMenu: withMenu

events
o  destroy

o  realize


Examples:


see self-embedding example in CodingExamples_GUI::GUIDemoExtendedComboBox.


|top sub app|

top := StandardSystemView new.
sub := ApplicationSubView new.

app := FileBrowserV2 new.
app createBuilder.
app window:sub.
sub client:app.

top addSubView:sub.
sub origin:(0.1@0.1) corner:(0.9@0.9).
top open.


|top sub app|

top := StandardSystemView new.
sub := ApplicationSubView new.

app := Tools::NewSystemBrowser new.
app createBuilder.
app window:sub.
sub client:app.

top addSubView:sub.
sub origin:(0.1@0.1) corner:(0.9@0.9).
top open.


ST/X 6.1.1; WebServer 1.620 at exept:8081; Thu, 17 May 2012 15:52:27 GMT