Gtk.Widget.prototype.get_visual

function get_visual():Gdk.Visual {
    // Gjs wrapper for gtk_widget_get_visual()
}

Gets the visual that will be used to render widget.

Returns

the visual for widget