#include <uwin.hpp>
Inheritance diagram for UIncrust:
Public Member Functions | |
UIncrust (const UArgs &a=UArgs::none) | |
virtual const UStyle & | getStyle (UContext *) const |
returns the contextual UStyle of this object | |
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 UStyle & | makeStyle () |
creates the Style of this object. | |
Static Public Attributes | |
static UStyle * | style = null |
corresponding Ubit UStyle | |
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).
|
returns the contextual UStyle of this object This virtual function calls the makeStyle() static function that was redefined for this specific class
Reimplemented from UWin. |
|
creates the Style of this object. This static function is redefined by each class that derives from UGroup. It is called by the virtual function UGroup::getStyle()
Reimplemented from UWin. |
|
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 |