andlabs/libui

request: uiMainStepPoll()

Aperta

#146 aperta il 16 giu 2016

 (24 commenti) (0 reazioni) (0 assegnatari)C (613 fork)batch import
custom main loopsenhancementhelp wantedquestion

Metriche repository

Star
 (10.896 stelle)
Metriche merge PR
 (Metriche PR in attesa)

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...

Guida contributor