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
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 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
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