Method
GtkPictureset_filename
Declaration [src]
void
gtk_picture_set_filename (
GtkPicture* self,
const char* filename
)
Description [src]
Makes self
load and display the given filename
.
This is a utility function that calls gtk_picture_set_file()
.
⚠️ Note that this function should not be used with untrusted data. Use a proper image loading framework such as libglycin, which can load many image formats into a
GdkTexture
, and then usegtk_image_set_from_paintable()
.