Sets the window icon which can be shown by the window manager in the title or the task bar.
list( $pixmap, $mask) = gdk::pixmap_create_from_xpm($window->window, null, 'window.xpm'); $gdkwindow = $window->window; $gdkwindow->set_icon( $gdkwindow, $pixmap, $mask);