std1.0.0-beta-7 SafeC docs

std :: gui::gui_backend

Function std::gui_window_set_presenter

#include <std/gui/gui_backend.h> source ยท definition

int gui_window_set_presenter(&GuiWindow win, ?&GuiPresenter p)

Attaches 'p' (null: back to the backend's software present) to the window, detaching the previous presenter. Returns 0 if p.attach failed (the window then keeps the backend's present).