andlabs / andlabs/libui

request: uiMainStepPoll()

Aperta
#146 24 commenti 0 reazioni 0 assegnatari Vedi su GitHub
custom main loops enhancement help wanted question
Lingua principale
C
Stelle
10.9k
Fork
612
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

split from #95
a way to combine uiMainStep() with select() or poll()

on GTK+ and OS X this should be fine

on Windows I don't know one thing:

What would the equivalent of a `select()` be on Windows? It appears `MsgWaitForMultipleObjectsEx()` does not accept file or socket handles. Does it have to do with `OVERLAPPED`? I see [GLib accepts file handles on Windows...](https://developer.gnome.org/glib/2.40/glib-The-Main-Event-Loop.html#GPollFD)

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.