uint getId()
Returns the unique ID of the window. If the window has not yet been added to a #GtkApplication, returns 0.
0
has not yet been added to a #GtkApplication