set_window_icon_name


Description:

[ CCode ( cname = "xapp_set_window_icon_name" ) ]
public void set_window_icon_name (Window window, string? icon_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 taking advantage of this feature with descendants of GtkWindows, such as GtkDialogs. Sets gtk_window_set_icon_name as well, to avoid needing to have two calls each time. Set to null to unset.

Parameters:

window

The Window to set the icon name for

icon_name

The icon name to set, or null to unset.


Namespace: XApp
Package: xapp