[pygtk] Disable signals and events to use a button as a container, not as a button?

Ryan Martin rmartin at ilm.com
Sat Sep 5 00:51:24 WST 2009


Hey Guys,
    I have a strange situation that I'm having trouble finding a 
solution for. In the application I'm building, I would like to use a 
button as a container and not necessarily a button. Currently, I have a 
text field and another button inside my main button in question. What I 
would like is to disable all of the innate callbacks (prelight/hover, 
clicked, etc.) on that main button and just have it sit there while 
still being able to click the child button inside the main button or 
enter text into the text field.

One thing to consider is that I need to disable callbacks on the main 
button but not on any of the widgets that are added to the main button 
as a child.

Is this possible? Did that make sense?

Any help would be greatly appreciated. I have scoured through old 
threads looking for clues.

Thanks,
Ryan

-- 
Ryan Martin
*Industrial Light + Magic
*Assistant Technical Director
cell: 973-632-1417 / desk: 415-746-2117

*
*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.daa.com.au/pipermail/pygtk/attachments/20090904/93ba4d05/attachment.htm 


More information about the pygtk mailing list