|
He Folks,
I spent some time raping the search functions but it
looks like there's no question like mine in this forum:
(before I pose it: I'm writing in perl this time (never
thought that a wrapping could be this great), but
it is extremely analogue to the C version, so if you
have an answer for me, feel free to use any language
you want (may also be python, lisp, c++, mono or
brainfuck or...))
Ok; what I want is simply a button in a CheckMenuItem.
I've got an application running in the tray whose left-click-
activated popupmenu consists of dynamically added
CheckMenuItems (to be exact: the application allows to
switch between different Xorg-Configs and these are
listed in there).
I now want buttons to add or edit these entries next to
the labels (aligned right).
Adding a VBox to the MenuItem displays it the right way,
but the button is
1.) not triggerable
2.) highlighted when the mouse is over the entry.
I don't want both of these effects.
Is there a less-than-500-lines method for archieving this?
Thanks in advance,
Paul Hilbert
|