[ CCode ( cname = "xapp_set_xid_icon_from_file" ) ]
public void set_xid_icon_from_file (ulong xid, string? file_name)
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 is a function, not a method, for applying the icon name property for a given (possibly foreign) window, by passing the window's XID. Set to null to unset.
| xid |
The Window to set the icon name for |
| file_name |
The icon path to set, or null to unset. |