Method
GtkButtonset_image
since: 2.6
Declaration [src]
void
gtk_button_set_image (
GtkButton* button,
GtkWidget* image
)
Description [src]
Set the image of button to the given widget. The image will be
displayed if the label text is NULL or if
GtkButton:always-show-image is TRUE. You don’t have to call
gtk_widget_show() on image yourself.
Available since: 2.6
| Sets property | Gtk.Button:image |
Parameters
image-
Type:
GtkWidgetA widget to set as the image for the button, or
NULLto unset.The argument can be NULL.The data is owned by the caller of the method.