GTK+ Forums

Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
It is currently Sat Oct 25, 2014 9:11 pm

All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Buttons in MenuItems
PostPosted: Sun Jun 24, 2007 4:15 pm 
Offline

Joined: Sun Jun 24, 2007 4:00 pm
Posts: 3
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


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jun 24, 2007 4:16 pm 
Offline

Joined: Sun Jun 24, 2007 4:00 pm
Posts: 3
I forgot:
If you want a screenshot (of "as-is" and or "shall-be"), tell me.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group