Re: Menu bar items without icon indent

2008-12-31 Thread Peter Clifton
On Mon, 2008-12-29 at 22:56 -0500, Yu Feng wrote: > I've just written a similar widget. > > You should subclass GtkMenuItem, > override toggle_size_request, return zero to the *requistion parameter. > > implement the creation methed > new_with_label(), > put a GtkLabel as the child of the bin in

Re: Menu bar items without icon indent

2008-12-29 Thread Yu Feng
I've just written a similar widget. You should subclass GtkMenuItem, override toggle_size_request, return zero to the *requistion parameter. implement the creation methed new_with_label(), put a GtkLabel as the child of the bin in the creation method. You may also need to override size_allocate

Re: Menu bar items without icon indent

2008-12-24 Thread Tristan Van Berkom
On Wed, Dec 24, 2008 at 2:18 PM, Peter Clifton wrote: > Hi, > > I'm wanting to make a menu-bar item without any offset allocated due to > "toggle-size" (space left to line up all GtkMenuItems icons / > accelerators). > > What I want to implement is something which looks like the screen-shot > here

Menu bar items without icon indent

2008-12-24 Thread Peter Clifton
Hi, I'm wanting to make a menu-bar item without any offset allocated due to "toggle-size" (space left to line up all GtkMenuItems icons / accelerators). What I want to implement is something which looks like the screen-shot here: http://live.gnome.org/UsabilityProject/Whiteboard/Menus For gnome