following up to myself: this is way too complicated - all one needs to do is 
define an accelerator in glade:

the 'c' key now toggles the button: 
http://static.mah.priv.at/public/collet-accelerator.ui

-m

Am 27.12.2010 um 08:26 schrieb Michael Haberler:

> Mike, 
> 
> I dont know if that's possible with PyVCP
> 
> here's an example to achieve this in gladevcp - the toggle will open on 'o' 
> and close on 'c'
> 
> note for this to work the gladevcp window needs to have focus
> 
> http://static.mah.priv.at/public/collet.ui
> http://static.mah.priv.at/public/collet.py
> 
> -m
> 
> Am 27.12.2010 um 04:46 schrieb Mike Cinquino:
> 
>> Hello,
>> 
>> I have a pyvcp button I have created to manually open and close a collet. Is
>> it possible to get this button to also be triggered by a specific key on the
>> keyboard?
>> 
>> Thanks,
>> Mike
>> ------------------------------------------------------------------------------
>> Learn how Oracle Real Application Clusters (RAC) One Node allows customers
>> to consolidate database storage, standardize their database environment, 
>> and, 
>> should the need arise, upgrade to a full multi-node Oracle RAC database 
>> without downtime or disruption
>> http://p.sf.net/sfu/oracle-sfdevnl
>> _______________________________________________
>> Emc-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/emc-users
> 
> 
> ------------------------------------------------------------------------------
> Learn how Oracle Real Application Clusters (RAC) One Node allows customers
> to consolidate database storage, standardize their database environment, and, 
> should the need arise, upgrade to a full multi-node Oracle RAC database 
> without downtime or disruption
> http://p.sf.net/sfu/oracle-sfdevnl
> _______________________________________________
> Emc-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/emc-users


------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to