Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members

UIncrust Class Reference

Incrusted Window. More...

#include <uwin.hpp>

Inheritance diagram for UIncrust:

UWin List of all members.

Public Member Functions

 UIncrust (const UArgs &a=UArgs::none)
virtual const UStylegetStyle (UContext *) const
virtual unsigned long getXWin () const
 returns the associated (internal or external) X Window
virtual void setExternalXWin (unsigned long external_xwin)
 specifies the external X Window to be incrusted in the Ubit GUI
virtual bool isExternalXWin () const
virtual bool realize ()
 is this window an externa X Window ? returns true if this is an external X Window, and false if the window was created by the toolkit
virtual void initView (ULink *selflink, UView *ancestor_view)

Static Public Member Functions

static const UStylemakeStyle ()

Static Public Attributes

static UStylestyle = null

Friends

class UNatWin
UIncrustuincrust (const UArgs &a=UArgs::none)
 creator shortcut that is equivalent to: *new UIncrust().

Detailed Description

Incrusted Window.

a "hard window" (= having a native X Window counterpart) that is tiled inside another ubit window. this is useful for inserting a true X window that was created by another application or another part of the same program into the Ubit GUI. a typical use is for drawing OpenGL graphics. Note that incrusted windows can only have a single (shared) view (as other Ubit windows).


Member Function Documentation

void UIncrust::setExternalXWin unsigned long  external_xwin  )  [virtual]
 

specifies the external X Window to be incrusted in the Ubit GUI

If this fct. is not called, the X Window is automatically created when the object is shown for the first time


The documentation for this class was generated from the following files:
Generated on Thu Mar 3 06:29:06 2005 for Ubit[Eric.Lecolinet@enst.fr] by  doxygen 1.4.1