Re: ICONS!!!



On 29 Jun 2001 16:27:34 -0400, John Kodis wrote:
> On Fri, Jun 29, 2001 at 06:44:30PM +0200, Roberto Sobachi wrote:
> > 
> > How can I associate an icon to my application for the task list or the top
> > of the window?
> 
> While this might be considered heresy on a gtk list, the only way I
> know to do this is:
> 
>   gnome_window_icon_set_default_from_file("/path/to/icon.png");
> 
> -- John Kodis.
> 

Luckily we have:

void        gdk_window_set_icon (GdkWindow *window,
                                             GdkWindow *icon_window,
                                             GdkPixmap *pixmap,
                                             GdkBitmap *mask);

Stephen





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]