andlabs/libui

request: uiMainStepPoll()

Open

#146 opened on Jun 16, 2016

View on GitHub
 (24 comments) (0 reactions) (0 assignees)C (610 forks)batch import
custom main loopsenhancementhelp wantedquestion

Repository metrics

Stars
 (10,632 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

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

Contributor guide