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
On Wed, Dec 24, 2008 at 2:18 PM, Peter Clifton pc...@cam.ac.uk 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