andlabs / andlabs/libui

uiMainStep does not work with gtk backend

Abierto
#95 18 comentarios 0 reacciones 0 asignados Ver en GitHub
custom main loops
Lenguaje dominante
C
Estrellas
10.9k
Forks
612
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

it always returns false. Some investigation shows that this is because the function gtk_main_iteration_do(), which is used to implement this, needs a running main loop, and that is only created when calling gtk_main() (see https://git.gnome.org/browse/gtk+/tree/gtk/gtkmain.c?h=3.18.9). So i see no easy way to fix this... maybe an idle callback would be a prudent replacement, that should be available on all platforms...

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.