Re: Stock Id's and Icons on buttons

2012-12-17 Thread jcupitt
On 15 December 2012 23:47, Perdie Perduta rsperd...@gmail.com wrote:
 Can any one help me understand how to add my own stock id's or icons
 to these menu buttons, preferably in Glade rather than having to code
 it in the software.

I have some C here that adds new stock items:

https://github.com/jcupitt/nip2/blob/master/src/main.c

search for main_register_icons(). You're welcome to borrow any bits
that look useful.

John
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


Re: Stock Id's and Icons on buttons

2012-12-17 Thread Perdie Perduta
Thanks John. I'm looking at how you registered those icons right now
but haven't quite got it to work yet. Note: I had a bit of a problem
copying the source from github as the copy to clipboard button doesn't
work on my computer and when I select the text directly for some
strange reason it deletes all the /* and */ from around each comment.
I'll have to research github one day soon because I gather it's quite
useful. :o)

On Tue, Dec 18, 2012 at 10:47 AM,  jcup...@gmail.com wrote:
 On 15 December 2012 23:47, Perdie Perduta rsperd...@gmail.com wrote:
 Can any one help me understand how to add my own stock id's or icons
 to these menu buttons, preferably in Glade rather than having to code
 it in the software.

 I have some C here that adds new stock items:

 https://github.com/jcupitt/nip2/blob/master/src/main.c

 search for main_register_icons(). You're welcome to borrow any bits
 that look useful.

 John
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list