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.
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). This accelerator when pressed with this label, I
want to popup another window. I am unable to successfully attach
accelarators to the label, which can popup another window upon
pressing the accelerator.

Your hints and tips would be highly appreciated.


On Wed, 23 Mar 2005 18:10:32 -0500, Steve McClure <[EMAIL PROTECTED]> wrote:
> On Wed, 2005-03-23 at 17:48, Nalli Dinesh wrote:
> > Thanks christian for providing a link, that helped me how to associate
> > eventbox to the label and get the mouse events to be handled.
> > I am running in to a different issue now that revolves around
> > eventbox. I want to do the following, and I am unable to crack it
> > down.
> >
> > I have a label on my gtkwindow. I  put an eventbox for this label. I
> > want to use ACCELERATOR on this eventbox,  for Example : CTRL-A, and
> > signal emit to be popup_menu. Upon pressing CTRL-A, I want this signal
> > emit and I showup another GTKwindow.
> > I am unable to figure out how to acheive this.
> >
> > Any hints on this, would be very much appreciated.
> 
> Are you sure you really don't want buttons for these labels?  One of the
> things I hate the most about web interfaces is buttons (things that
> cause actions when you click on them) that don't look like buttons.
> 
> >
> >
> > On Tue, 22 Mar 2005 19:59:59 -0300, Christian Robottom Reis
> > <[EMAIL PROTECTED]> wrote:
> > > On Tue, Mar 22, 2005 at 02:51:51PM -0800, Nalli Dinesh wrote:
> > > > I have labels spread across my screen developed using Glade. I need to
> > > > add click signal to a label. Upon click I want to close the window or
> > > > destroy the window.  Or upon click i want to open up another window.
> > >
> > >    http://www.async.com.br/faq/pygtk/index.py?req=show&file=faq03.003.htp
> > >
> > > 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/
> --
> Steve McClure                                           Racemi
> email: [EMAIL PROTECTED]                              75 5th St NE
> voice: 404-892-5850                                     Suite 333
> fax: 404-892-7215                                       Atlanta, GA 30308
>                                                        http://www.racemi.com
> 
>
_______________________________________________
pygtk mailing list   [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to