GTK+ Forums Forum Index GTK+ Forums
Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Executable file icon

 
Post new topic   Reply to topic    GTK+ Forums Forum Index -> GTK+ Programming
Author Message
sumahs
Familiar Face


Joined: 25 Jan 2007
Posts: 5

PostPosted: Thu Jan 25, 2007 6:11 am    Post subject: Executable file icon Reply with quote

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

PostPosted: Thu Jan 25, 2007 1:02 pm    Post subject: Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    GTK+ Forums Forum Index -> GTK+ Programming All times are GMT
Page 1 of 1

 


Powered by phpBB © 2001, 2005 phpBB Group
CodeBB 1.0 Beta 2
Protected by Anti-Spam ACP