gtk_window_set_skip_taskbar_hint doesn't works on Windows
- From: "Rodrigo Miguel" <rodrmigu gmail com>
- To: gtk-app-devel-list gnome org
- Subject: gtk_window_set_skip_taskbar_hint doesn't works on Windows
- Date: Thu, 25 Dec 2008 14:12:22 -0200
Hi All,
I notice the gtk_window_set_skip_taskbar_hint, doesn't work on windows
since 2.12.9, but it works ok in linux xubuntu 8.04.1 (2.12.9). Also
I've tested on windows with gtk 2.14.6 and I notice the same behavior:
int main(int argc, char *argv[] )
{
GtkWidget *window;
GtkWidget *button;
gtk_init (&argc, &argv);
window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
gtk_widget_set_size_request(GTK_WIDGET(window), 200, 100);
gtk_window_set_skip_taskbar_hint(GTK_WINDOW(window), TRUE);
g_signal_connect (G_OBJECT (window), "destroy", G_CALLBACK
(gtk_main_quit), NULL);
g_signal_connect_swapped (G_OBJECT (window), "delete_event",
G_CALLBACK (gtk_widget_destroy), G_OBJECT (window));
button = gtk_button_new_from_stock (GTK_STOCK_PRINT);
g_signal_connect(G_OBJECT(button), "clicked",
G_CALLBACK(gtk_main_quit), NULL);
gtk_container_add(GTK_CONTAINER (window),button);
gtk_widget_show(button);
gtk_widget_show(window);
gtk_main();
return 0;
}
Thanks advance
Rodrigo
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]