Thanks Steve and Christian. I could able to use buttons and also gain all the signal handling routines provided by buttons, along with button labels using pango markup language. I am able to appreciate the design principles so far in whatever I am doing.
On Thu, 24 Mar 2005 07:20:42 -0300, Christian Reis <[EMAIL PROTECTED]> wrote: > On Wed, Mar 23, 2005 at 03:36:29PM -0800, Nalli Dinesh wrote: > > I am sure as of now, I don't want to use buttons with respect to > > labels, for one advantage that label provides over button, which is > > allowing pango markup language usable with the label names. You cannot > > use pango markup langauge for button names. > > Just get the label from the button and apply pango markup to that -- I'm > sure that works. Buttons in GTK+ are just containers, after all; the > label will be the button's child. > > > And now, having decided that I want to use labels across my display > > area, now i want to attach accelerators to labels(or eventbox that is > > attached to label). > > Use a button. As I said yesterday, widgets were designed the way they > are for a purpose. You're abusing these design principles, and now you > have to hack around features in the model <wink>. > > Take care, > -- > Christian Robottom Reis | http://async.com.br/~kiko/ | [+55 16] 3361 2331 > _______________________________________________ pygtk mailing list [email protected] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
