Re: Stock Id's and Icons on buttons



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,  <jcupitt gmail com> wrote:
On 15 December 2012 23:47, Perdie Perduta <rsperduta 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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]