set_icon_from_file


Description:

[ CCode ( cname = "xapp_gtk_window_set_icon_from_file" ) ]
public void set_icon_from_file (string? file_name) throws Error

Sets the icon name hint for a window manager (like muffin) to make available when applications want to change their icons during runtime without having to resort to the internal low-res pixbufs that GdkWindow sets on the client side.

This also chains up and calls GtkWindow.set_icon_from_file for convenience and compatibility. Set to null to unset.

Parameters:

this

The GtkWindow to set the icon name for

file_name

The icon path to set, or null to unset.