GdkWindow::set_icon

GdkWindow::set_icon

Sets the window icon which can be shown by the window manager in the title or the task bar.

This function does not work on Windows.
list( $pixmap, $mask) = gdk::pixmap_create_from_xpm($window->window, null, 'window.xpm');
$gdkwindow = $window->window;
$gdkwindow->set_icon( $gdkwindow, $pixmap, $mask);
© Copyright 2003-2023 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.