Date: Thu, 31 Jul 2003 12:52:50 +0100 Cc: lablgtk at kaba.or.jp Subject: Re: Icons on menu items Message-ID: <20030731115250.GB17543 at redhat.com> References: <20030731113303.GA17543 at redhat.com> <20030731133603.3cb5adf6.maxence.guesdon at inria.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030731133603.3cb5adf6.maxence.guesdon at inria.fr> From: Richard Jones On Thu, Jul 31, 2003 at 01:36:03PM +0200, Maxence Guesdon wrote: > > > I've noticed a lot of Gtk programs have small icons attached to the > > left of each menu item. But I don't see a way of doing this in > > lablgtk2. Is there some sort of menu_item#add_icon method that I'm > > missing? > > Somebody correct me if I'm wrong, but you can add a hbox to your menu_item, > then put an icon and a label in it, it should work. Will all the icon/non-icon menu items line up correctly? Rich. -- Richard Jones. http://www.annexia.org/ http://freshmeat.net/users/rwmj Merjis Ltd. http://www.merjis.com/ - all your business data are belong to you. MONOLITH is an advanced framework for writing web applications in C, easier than using Perl & Java, much faster and smaller, reusable widget-based arch, database-backed, discussion, chat, calendaring: http://www.annexia.org/freeware/monolith/