forked from AuroraMiddleware/gtk
testdialog: Add a spinner
Trying to track down a problem where animation stops when a modal dialog is opened and closed.
This commit is contained in:
parent
b3b861c9d6
commit
297abd6e54
@ -387,6 +387,12 @@ main (int argc, char *argv[])
|
||||
gtk_widget_set_halign (button, GTK_ALIGN_CENTER);
|
||||
gtk_container_add (GTK_CONTAINER (vbox), button);
|
||||
|
||||
button = gtk_spinner_new ();
|
||||
gtk_spinner_start (GTK_SPINNER (button));
|
||||
gtk_widget_show (button);
|
||||
gtk_widget_set_halign (button, GTK_ALIGN_CENTER);
|
||||
gtk_container_add (GTK_CONTAINER (vbox), button);
|
||||
|
||||
gtk_widget_show (window);
|
||||
gtk_main ();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user