 |
GTK+ Forums Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
|
|
|
| Author |
Message |
|
|
Paul Hilbert
Joined: 24 Jun 2007 Posts: 3
|
Posted: Sun Jun 24, 2007 4:15 pm Post subject: Buttons in MenuItems |
|
|
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 |
|
| Back to top |
|
 |
Paul Hilbert
Joined: 24 Jun 2007 Posts: 3
|
Posted: Sun Jun 24, 2007 4:16 pm Post subject: |
|
|
I forgot:
If you want a screenshot (of "as-is" and or "shall-be"), tell me. |
|
| Back to top |
|
 |
|
Powered by phpBB © 2001, 2005 phpBB Group CodeBB 1.0 Beta 2
|