add unix#uiWindowSetTopmost

This commit is contained in:
ddo 2016-08-11 17:04:54 +07:00
parent 58c8a61817
commit 5917412892
1 changed files with 5 additions and 0 deletions

View File

@ -279,6 +279,11 @@ void uiWindowSetMargined(uiWindow *w, int margined)
setMargined(w->childHolderContainer, w->margined);
}
void uiWindowSetTopmost(uiWindow *w, int topmost)
{
gtk_window_set_keep_above(w->window, topmost == 1);
}
uiWindow *uiNewWindow(const char *title, int width, int height, int hasMenubar)
{
uiWindow *w;