|
|
|
@ -40,8 +40,8 @@ Dialog::Message::Message(const std::string &text): Gtk::Window(Gtk::WindowType:: |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
void Dialog::Message::wait_until_drawn() { |
|
|
|
void Dialog::Message::wait_until_drawn() { |
|
|
|
while(gtk_events_pending() || !label_drawn) |
|
|
|
while(!label_drawn) |
|
|
|
gtk_main_iteration(); |
|
|
|
g_main_context_iteration(NULL, false); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
std::string Dialog::gtk_dialog(const std::string &title, |
|
|
|
std::string Dialog::gtk_dialog(const std::string &title, |
|
|
|
|