GTK+ Forums Forum Index GTK+ Forums
Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Buttons in MenuItems

 
Post new topic   Reply to topic    GTK+ Forums Forum Index -> GTK+ Programming
Author Message
Paul Hilbert



Joined: 24 Jun 2007
Posts: 3

PostPosted: Sun Jun 24, 2007 4:15 pm    Post subject: Buttons in MenuItems Reply with quote

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

PostPosted: Sun Jun 24, 2007 4:16 pm    Post subject: Reply with quote

I forgot:
If you want a screenshot (of "as-is" and or "shall-be"), tell me.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    GTK+ Forums Forum Index -> GTK+ Programming All times are GMT
Page 1 of 1

 


Powered by phpBB © 2001, 2005 phpBB Group
CodeBB 1.0 Beta 2
Protected by Anti-Spam ACP