PopupWidget

A base widget of popup.

Constructors

this
this()

Members

Functions

close
void close()

Closes the popup.

handlePopup
void handlePopup(bool opened, WindowContext w)
layout
vec2 layout(vec2 rootlt, vec2 rootsz)
move
void move(vec2 pos, vec2 size)

Moves the popup to the pos and resize to the size.

Variables

_objectContext
WindowContext _objectContext;

WindowContext of the popup target.

_pos
vec2 _pos;
_size
vec2 _size;
Undocumented in source.

Inherited Members

From RootWidget

cursor
const(Cursor) cursor [@property getter]
needLayout
bool needLayout [@property getter]
layout
void layout(vec2i size)
needRedraw
bool needRedraw [@property getter]
drawPopup
void drawPopup(Window w)
Undocumented in source. Be warned that the author may not have intended to support it.
draw
void draw(Window w, ColorSet parent)

Meta