Note that you shouldn't assume the window is definitely stuck afterward, because other entities (e.g. the user or window manager) could unstick it again, and some window managers do not support sticking windows. But normally the window will end up stuck. Just don't write code that crashes if not.
You can track stickiness via the Widget.WindowStateEvent event on GtkWidget. It's permitted to call this method before showing a window.