Re: Non-stock icons in toolbar/menu?



On Wed, 2004-11-24 at 19:35 +0100, Fredrik Arnerup wrote:
> ons 2004-11-24 klockan 09:32 +0100 skrev Murray Cumming:
> > That would be nice. You could add a non-stock image to the existing example:
> > http://cvs.gnome.org/viewcvs/gtkmm/examples/book/menus_and_toolbars/
> 
> Attaching a patch. Also attaching a silly icon. The C source code
> version was created with:
> gdk-pixbuf-csource --raw --name rain rain.png > rain.h

Thanks a lot. I'll apply that soon. Please, in future, you can make my
life easier by adding patches to bugzilla:
http://www.gtkmm.org/bugs.shtml#CreatingPatches

By the way, you should try to pass RefPtrs, like other objects, as const
references.

-- 
Murray Cumming
murrayc murrayc com
www.murrayc.com
www.openismus.com





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