RE: setting icons
- From: martyn 2 russell bt com
- To: gtk-app-devel-list gnome org
- Subject: RE: setting icons
- Date: Tue, 26 Feb 2002 07:49:19 -0000
Yea, sorry, the DOTGTK... functions are my own functions, that one in
particular I use to get the GdkWindow of the main top level window on the
screen, I get it using gdk_window_get_parent_window(GtkWidget*)
Does the icon need to be particular size?
-----Original Message-----
From: Taura Milana [mailto:learfox furry ao net]
Sent: 25 February 2002 22:48
To: GTK App Devel
Subject: Re: setting icons
On 2002.02.25 05:08 martyn 2 russell bt com wrote:
Has anyone had any luck with this?
This is the source I use:
*****************************************
GtkWidget *pixmap = NULL;
/* get image (xpm) from file */
pixmap = ......
if(pixmap != NULL)
{
gdk_window_set_icon(DOTGTKMainWindowGetGdk(),DOTGTKMainWindowGetGdk(),
GTK_PIXMAP(pixmap)->pixmap,
GTK_PIXMAP(pixmap)->mask);
}
Well I do use gdk_window_set_icon() and I know it works, I use
that all the time. But I am not sure what the DOTGTKMainWindow*()
functions are and what affect they might have.
--
Sincerely, ,"-_ \|/
-Capt. Taura M. , O=__ --X--
..__ ,_JNMNNEO=_ /|\
OMNOUMmnne. {OMMNNNEEEEOO=_
UOOOBIOOOEOMMn. 'LONMMMMNNEEEOOO=.__..,,..
UUOOEUUOOOOOOOObe '"=OMMMMWNEEEOOOOO,"=OEEEOO=,._
OOUUUIEEIOONNOIUbe. "7OMMMMNNNNNWWEEEEOOOOOO" "'.
EEBNNMMMNWNWWEEIMMNe. __ 7EMMMNNNNNWWWEEEEEEEOO. " .
NNMMMMWWWMMMWEINMMMNn "=BBEEEEMMMMMMMMNNNWWWEEOOOOO=._ .
http://furry.ao.net/~learfox/
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]