let cast w : layout = Gobject.try_cast w "PangoLayout"