« Return to Thread: Win32 issues with GtkWindow taskbar and decorations

Win32 issues with GtkWindow taskbar and decorations

by Jared Hurn :: Rate this Message:

| View in Thread

Issues are with GtkWindow::set_skip_taskbar_hint and GtkWindow::set_decorated. Issues were experienced on Windows XP Pro with all latest recommended updates. These issues are also inherited by GtkDialog.
 
When you create a new GtkWindow it is automatically created with a type of GTK_WINDOW_TOPLEVEL and is placed in the taskbar. Setting GtkWindow::skip_taskbar_hint doesn't appear to have any noticable affect on the window.
 
The only way I have found to get a GtkWindow to not appear in the taskbar is by setting its type as GTK_WINDOW_POPUP. However, setting a GtkWindow to GTK_WINDOW_POPUP removes the ability to show the window's decorations.
 
This is not a huge issue for me, but it would be nice to not have my configuration dialogs show up in the taskbar.
 
This demonstrates how set_skip_taskbar_hint doesn't work
<?php
 
  $window = new GtkWindow();
  $window->set_skip_taskbar_hint(true);
  $window->show();
  Gtk::main();
 
?>
 
This demonstrates how set_decorated doesn't work
<?php
 
  $window = new GtkWindow(Gtk::WINDOW_POPUP);
  $window->set_decorated(true);
  $window->show();
  Gtk::main();
 
?>
 
- Jared

--
PHP-GTK General Mailing List (http://gtk.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

 « Return to Thread: Win32 issues with GtkWindow taskbar and decorations