Surface.getMapped

bool getMapped()

Checks whether the surface has been mapped.

A surface is mapped with gdk.toplevel.Toplevel.present or gdk.popup.Popup.present.

Returns

true if the surface is mapped