Re: [Easytag-mailing] Icon theming?
- From: Andrew Conkling <andrewski fr st>
- To: easytag-mailing lists sourceforge net
- Subject: Re: [Easytag-mailing] Icon theming?
- Date: Thu Dec 23 23:19:02 2004
On 23/12/04 17:21:03, Daniel Drake wrote:
Andrew Conkling wrote:
I'm working on providing a theme I like with icons for EasyTAG. I found
the pixmaps directory in the source tarball and can create replacements
for all of the icons. The question is how I can replace them in the
program. I've tried adding them like stock icons in other programs,
but it hasn't worked. Are they referred like other stock GTK icons?
Yes. They are added to the stock icon collection at runtime with
Create_Xpm_Icon_Factory (misc.c) and then can be used like so:
Icon = gtk_image_new_from_stock("easytag-mask",
GTK_ICON_SIZE_BUTTON);
(from misc.c:Open_Write_Playlist_Window)
You mention "easytag-mask" while the xpm I could find in the source was
"mask"; is that why my addition is not showing up in the program?
Thanks,
Andrew
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]