|
Class: XEmbedContainerView
Object
|
+--GraphicsMedium
|
+--DisplaySurface
|
+--SimpleView
|
+--XEmbedContainerView
- Package:
- stx:libview
- Category:
- Views-XEmbed
- Version:
- rev:
1.11
date: 2021/11/21 08:56:04
- user: cg
- file: XEmbedContainerView.st directory: libview
- module: stx stc-classLibrary: libview
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:]
copyrightCOPYRIGHT (c) 2006 by eXept Software AG
All Rights Reserved
This software is furnished under a license and may be used
only in accordance with the terms of that license and with the
inclusion of the above copyright notice. This software may not
be provided or otherwise made available to, or used by, any
other person. No title to or ownership of the software is
hereby transferred.
class initialization
-
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
-
open
-
launch a new workspace
Usage example(s):
accessing
-
embeddingWindowId
-
-
workarounds
-
-
workarounds: something
-
event handling
-
clientPlugged
-
Triggered when client application plugged into
the view
-
clientUnplugged: clientInitiated
-
Triggered when client uplugs. If the client itself
unplugs, then clientInitiated is true, false otherwise
-
createWindowX: x y: y width: w height: h
-
device getGeometryOf:clientWindowId
-
destroyed
-
A client just destroyed its window
-
focusIn
-
(comment from inherited method)
got keyboard focus - do nothing here
-
focusOut
-
(comment from inherited method)
lost keyboard focus (via the window manager).
Nothing done here
-
hasKeyboardFocus: aBoolean
-
(comment from inherited method)
notification from the windowGroup that I got the keyboardFocus.
event sending
-
sendXEmbedEvent: message detail: detail data1: data1 data2: data2
-
-
sendXEmbeddedNotify
-
initialization & release
-
initEvents
-
(comment from inherited method)
will be sent by create - can be redefined by subclasses to enable
view events
workarounds
-
hasWorkaround: symbol
-
-
useWorkaround: symbol
-
ClientView
|