Picture.for_filename
Description:
[ CCode ( has_construct_function = false , type = "GtkWidget*" ) ]
public Picture.for_filename (string? filename)
public Picture.for_filename (string? filename)
Creates a new `GtkPicture` displaying the file filename
.
This is a utility function that calls [ctor@Gtk.Picture.new_for_file]. See that function for details.
Parameters:
filename |
a filename |
Returns:
a new `GtkPicture` |