Gtk.Button.prototype.get_image
function get_image():Gtk.Widget { // Gjs wrapper for gtk_button_get_image() }
Gets the widget that is currenty set as the image of button. This may have been explicitly set by Gtk.set_image or constructed by Gtk.new_from_stock.
Since 2.6
- Returns
a Gtk.Widget or null in case there is no image