andlabs / andlabs/libui

uiMainStep does not work with gtk backend

オープン
#95 コメント 18 件 リアクション 0 件 担当者 0 名 GitHub で見る
custom main loops
主要言語
C
スター
10.9k
フォーク
612
PR マージ指標
30日以内にマージされた PR はありません

説明

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

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。