|
NAMEtickit_window_new_root - create a new toplevel root windowSYNOPSIS#include <tickit.h> TickitWindow *tickit_window_new_root(TickitTerm *term); Link with -ltickit. DEPRECATEDThis function is deprecated and should not be used in new programs. Instead, obtain the root window from the toplevel Tickit instance by calling tickit_get_rootwin(3).DESCRIPTIONtickit_window_new_root() creates a new toplevel TickitWindow instance to represent the drawing area on the given terminal instance. The terminal instance is stored by the window itself, and is used for flushing the TickitRenderBuffer to when expose events occur. The root window will increase the reference count of its backing terminal by one; this reference will be dropped when the window is destroyed.The root window behaves similar to other windows within the application, with the following differences:
RETURN VALUEIf successful, tickit_window_new_root() returns a pointer to the new instance.SEE ALSOtickit_window_new(3), tickit_window_get_term(3), tickit_window_bind_event(3), tickit_window_expose(3), tickit_window(7), tickit(7) Visit the GSP FreeBSD Man Page Interface. |