Re: Icons



How do the GdkWindow's work? The gdk_window_set_icon wants
two GdkWindow's, and I don't have any. How would I go about
creating these two windows? The GdkWindowAttr struct has
quite a few fields and I'm not sure which ones I really
must set.

Any help would be most appreciated. Thanks.

Jeff "Shippy" Shipman     E-Mail: shippy nmt edu
Computer Science Major    ICQ: 1786493
New Mexico Institute of Mining and Technology
Homepage: http://www.nmt.edu/~shippy

On 27 Feb 2001, Havoc Pennington wrote:

>
> Jeff Shipman <shippy nmt edu> writes:
> > Is there a way to assign an icon to an applicaton?
> > My window manager (fvwm2) displays an icon that
> > I can double-click on after I've minimized the app
> > to pop it back up. I've seen many applications that
> > have the icon as part of the program (mozilla,
> > vmware, etc). How can I assign an icon to my program?
> >
>
> gdk_window_set_icon(). Call it in a signal handler connected to the
> "realize" signal on a GtkWindow with gtk_signal_connect_after().
>
> Havoc
>





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