Gtk.ToolButton.prototype.get_icon_widget

function get_icon_widget():Gtk.Widget {
    // Gjs wrapper for gtk_tool_button_get_icon_widget()
}

Return the widget used as icon widget on button. See Gtk.set_icon_widget.

Since 2.4

Returns

The widget used as icon on button, or null.