Toplevel.getState

Gets the bitwise or of the currently active surface state flags, from the gdk.types.ToplevelState enumeration.

Returns

surface state bitfield