#include <uwin.hpp>
Inheritance diagram for UIncrust:
Public Member Functions | |
UIncrust (const UArgs &a=UArgs::none) | |
virtual const UStyle & | getStyle (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 | |
const UStyle & | makeStyle () |
Static Public Attributes | |
UStyle * | style = null |
Friends | |
class | UNatWin |
UIncrust & | uincrust (const UArgs &a=UArgs::none) |
creator shortcut that is equivalent to: *new UIncrust(). |
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).
|
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 |