tickit_window_new
create a new sub-window
- Provided by: libtickit-dev (Version: 0.4.1-1)
- Source: libtickit
- Report a bug
create a new sub-window
#include <tickit.h>
TickitWindow *tickit_window_new(TickitWindow *parent, TickitRect rect,
TickitWindowFlags flags);
Link with -ltickit.
tickit_window_new() creates a new sub-window as a child of
the given parent, using the given rectangle as its initial geometry relative
to its parent. The flags argument is a bitmask of flags influencing
the initial behaviour of the child window.
The reference count of a newly-constructed window instance will be one. This can be incremented or decremented using tickit_window_ref(3) and tickit_window_unref(3). When its reference count reaches zero it is destroyed.
If successful, tickit_window_new() returns a pointer to the new instance.
tickit_window_new_root(3), tickit_window_bind_event(3), tickit_window_expose(3), tickit_window_close(3), tickit_window(7), tickit(7)