add unix#uiWindowSetTopmost
This commit is contained in:
parent
58c8a61817
commit
5917412892
|
@ -279,6 +279,11 @@ void uiWindowSetMargined(uiWindow *w, int margined)
|
||||||
setMargined(w->childHolderContainer, w->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 *uiNewWindow(const char *title, int width, int height, int hasMenubar)
|
||||||
{
|
{
|
||||||
uiWindow *w;
|
uiWindow *w;
|
||||||
|
|
Loading…
Reference in New Issue