mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 10:50:10 +00:00
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