Ryan Martin wrote:
> 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.
Why do you need to use a button as a container when you don't want to 
use any of the button's features? Are there no GTK containers that work?

John
_______________________________________________
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/

Reply via email to