eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'XEmbedContainerView':

Home

Documentation
www.exept.de
Everywhere
for:
[back]

Class: XEmbedContainerView


Inheritance:

   Object
   |
   +--GraphicsMedium
      |
      +--DisplaySurface
         |
         +--SimpleView
            |
            +--XEmbedContainerView

Package:
stx:libview
Category:
Views-XEmbed
Version:
rev: 1.8 date: 2018/04/26 09:16:07
user: stefan
file: XEmbedContainerView.st directory: libview
module: stx stc-classLibrary: libview
Author:
Jan Vrany <jan.vrany@fit.cvut.cz>

Description:


I can be used to embed alien views under X Window.
I implement the XEmbed protocol:
http://standards.freedesktop.org/xembed-spec/xembed-spec-latest.html



[instance variables:]

[class variables:]


Related information:



Class protocol:

initialization
o  initialize
From http://standards.freedesktop.org/xembed-spec/xembed-spec-latest.html:

#define XEMBED_EMBEDDED_NOTIFY 0
#define XEMBED_WINDOW_ACTIVATE 1
#define XEMBED_WINDOW_DEACTIVATE 2
#define XEMBED_REQUEST_FOCUS 3
#define XEMBED_FOCUS_IN 4
#define XEMBED_FOCUS_OUT 5
#define XEMBED_FOCUS_NEXT 6
#define XEMBED_FOCUS_PREV 7

#define XEMBED_MODALITY_ON 10
#define XEMBED_MODALITY_OFF 11
#define XEMBED_REGISTER_ACCELERATOR 12
#define XEMBED_UNREGISTER_ACCELERATOR 13
#define XEMBED_ACTIVATE_ACCELERATOR 14


A detail code is required for XEMBED_FOCUS_IN. The following values are valid:
#define XEMBED_FOCUS_CURRENT 0
#define XEMBED_FOCUS_FIRST 1
#define XEMBED_FOCUS_LAST 2


startup
o  open
launch a new workspace

usage example(s):

      Workspace open


Instance protocol:

accessing
o  embeddingWindowId

o  workarounds

o  workarounds: something

event handling
o  clientPlugged
Triggered when client application plugged into
the view

o  clientUnplugged: clientInitiated
Triggered when client uplugs. If the client itself
unplugs, then clientInitiated is true, false otherwise

o  createWindowX: x y: y width: w height: h
device getGeometryOf:clientWindowId

o  destroyed
A client just destroyed its window

o  focusIn
(comment from inherited method)
got keyboard focus (via the window manager).
Nothing done here

o  focusOut
(comment from inherited method)
lost keyboard focus (via the window manager).
Nothing done here

o  hasKeyboardFocus: aBoolean
(comment from inherited method)
notification from the windowGroup that I got the keyboardFocus.

event sending
o  sendXEmbedEvent: message detail: detail data1: data1 data2: data2

o  sendXEmbeddedNotify

initialization & release
o  initEvents
(comment from inherited method)
will be sent by create - can be redefined by subclasses to enable
view events

workarounds
o  hasWorkaround: symbol

o  useWorkaround: symbol


Private classes:

    ClientView


ST/X 7.2.0.0; WebServer 1.670 at bd0aa1f87cdd.unknown:8081; Fri, 06 Dec 2019 00:32:04 GMT