Bind in Snit megawidgets
- From: Silas <silasdb@xxxxxxxxx>
- Date: Wed, 23 May 2012 13:51:12 -0700 (PDT)
Hi there!
I'm trying to bind a event of a Snit megawidget. I call it Xtext and
it is a wrapper around [text] widget. I'd like to bind all Xtext of
the application. I'm trying:
bind Xtext <Button-3> {puts something}
But this doesn't work. The following, thought, works:
bind Text <Button-3> {puts something}
But it is unwanted, since it bypass all nice wrapper I made around
[text] that I wanted to use. It seems that new classes that snit
creates don't work well for binds.
Any tips?
Thank you.
.
- Follow-Ups:
- Re: Bind in Snit megawidgets
- From: Will Duquette
- Re: Bind in Snit megawidgets
- Prev by Date: Re: possible to use variable to represent regexp's matchVars ?
- Next by Date: Re: Bind in Snit megawidgets
- Previous by thread: testing newsgroup access
- Next by thread: Re: Bind in Snit megawidgets
- Index(es):
Relevant Pages
|