Re: gtk_window_set_skip_taskbar_hint doesn't works on Windows
- From: Rodrigo Miguel <rodrmigu gmail com>
- To: Tadej Borovšak <tadeboro gmail com>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: gtk_window_set_skip_taskbar_hint doesn't works on Windows
- Date: Tue, 27 Jan 2009 12:02:18 -0200
Thanks Tadej,
Also, is there any ETA to get this fixed? or is there any workaround?
I Tried the code below (among other values for GWL_STYLE), but that is
not exactly that I'm looking for:
handle = (HWND)gdk_win32_drawable_get_handle(window->window);
ShowWindow(handle, SW_HIDE);
SetWindowLong(handle, GWL_EXSTYLE, GetWindowLong(handle,
GWL_EXSTYLE) & ~WS_EX_APPWINDOW);
ShowWindow(handle, SW_SHOW);
Thanks in advance
Rodrigo
On Thu, Dec 25, 2008 at 2:38 PM, Tadej Borovšak <tadeboro gmail com> wrote:
Hello.
This is know bug on Windows platform:
http://bugzilla.gnome.org/show_bug.cgi?id=537183
2008/12/25 Rodrigo Miguel <rodrmigu gmail com>:
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
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
--
Tadej Borovšak
00386 (0)40 613 131
tadeboro gmail com
tadej borovsak gmail com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]