andlabs/libui

request: uiMainStepPoll()

Open

#146 aperta il 16 giu 2016

Vedi su GitHub
 (24 commenti) (0 reazioni) (0 assegnatari)C (610 fork)batch import
custom main loopsenhancementhelp wantedquestion

Metriche repository

Star
 (10.632 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

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