Thanks Debarshi, Matthias, and Emmanuele for the quick and helpful
advices.

Emmanuele Bassi <eba...@gmail.com> writes:

> this is more of a question for gtk-app-devel-list than for
> gtk-devel-list. nevertheless…

Sorry about that and thanks for the pointer.

> there's no real need to "inject" a second transition. since you're
> already using a GtkStack, you can use an unnamed page holding the
> GtkSpinner, and show it by default while loading the other pages in
> the background.

The problem is that I want to show the spinner page only when the page
loading takes long time (not by default), as HIG suggests:
https://developer.gnome.org/hig/stable/progress-spinners.html.en

So,

> alternatively, you can place the whole sidebar + stack into another
> stack, and have a separate page with the spinner inside that.

the nested stack / overlay approaches sound the best fit for my
use-case.  Perhaps there could be a specialized widget which supports
this pattern, if the use-case is common?

Regards,
-- 
Daiki Ueno
_______________________________________________
gtk-devel-list mailing list
gtk-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-devel-list

Reply via email to