|
Class: XEmbedContainerView
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>
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:]
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 (via the window manager).
Nothing done 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
|