Re: How to set Icon for iconify
- From: "GTK.Mailinglist.account" <gtk-ml fusebox hanse de>
- To: "GTK.Mailinglist.account" <gtk-ml fusebox hanse de>
- Cc: gtk-outgoing fusebox hanse de
- Subject: Re: How to set Icon for iconify
- Date: 08 Jun 1998 20:37:27 -0400
"GTK.Mailinglist.account" <gtk-ml@fusebox.hanse.de> writes:
> -----BEGIN PGP SIGNED MESSAGE-----
>
> Hi !
>
> It seems I was unable to find out how to set the icon of an
> application in case of iconification - can anyone help me which
> routines to use for setting it ?
There is an example in gtk/testgtk.c
window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
[...]
gtk_widget_realize (window);
circles = gdk_bitmap_create_from_data (window->window,
circles_bits,
circles_width,
circles_height);
gdk_window_set_icon (window->window, NULL,
circles, circles);
gdk_window_set_icon_name (window->window, "WMHints Test Icon");
Regards,
Owen
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]