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.11 date: 2021/11/21 08:56:04
user: cg
file: XEmbedContainerView.st directory: libview
module: stx stc-classLibrary: libview

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:]

copyright

COPYRIGHT (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 protocol:

class 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 - do nothing 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.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Mon, 18 Nov 2024 06:52:07 GMT