 |
GTK+ Forums Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
|
|
|
| Author |
Message |
|
|
sumahs Familiar Face
Joined: 25 Jan 2007 Posts: 5
|
Posted: Thu Jan 25, 2007 6:11 am Post subject: Executable file icon |
|
|
hi,
Is there any way to change the gtk program's executable file icon through this program itself?
I tried using "gtk_window_set_default_icon_from_file", but this changes only taskbar and toolbar icons and not the executable file's.
I want to do this both in Windows and Linux.
Does anyone know how to do this?
thanks in advance. |
|
| Back to top |
|
 |
openldev Never Seen the Sunlight
Joined: 21 Sep 2005 Posts: 387 Location: Fairfax, Virginia
|
Posted: Thu Jan 25, 2007 1:02 pm Post subject: |
|
|
| On Linux, icons are not associated with executables through the binary. It is associated either through file (mime) type or explicitly set on a shortcut. I'm not sure about Windows, though. |
|
| Back to top |
|
 |
|
Powered by phpBB © 2001, 2005 phpBB Group CodeBB 1.0 Beta 2
|