Skip to content
/ pygs Public

PyQt4 bindings to libqxt QxtGlobalShortcut

License

Unknown, GPL-2.0 licenses found

Licenses found

Unknown
LICENSE
GPL-2.0
GPL-LICENSE.txt
Notifications You must be signed in to change notification settings

jmatt/pygs

Repository files navigation

pygs

Overview

pygs provides cross-platform global hotkey / shortcuts for python using PyQt4.

pygs is a wrapper for libqxt’s QxtGlobalShortcut.

My aim is to provide cross-platform support for global hotkeys (shortcuts) in python. Ideally I would like to remove the PyQt4 and libqxt dependency but that remains a (distant) future goal. I believe it is definitely possible and potentially quite useful though.

Installation

Requirements
sufficient not necessary

  1. Python 2.6
  2. Qt
  3. SIP
  4. PyQt4

Mac and Linux

To Install
make

make install

Windows

To Install
make -f Makefile.windows

make -f Makefile.windows install

Usage

See examples/simple.py

python simple.py

ctrl+alt+s – activate shortcut
ctrl+alt+f – quit application

NOTE: ctrl maps to COMMAND on macs!!!! Yeah this is crazy confusing. But it’s Qt not me :)

Acknowledgements

pygs uses

Thanks!

License

pygs – Python bindings to libqxt’s QxtGlobalShortcut using SIP and PyQt4. In other words, global hotkeys for PyQt4
.
Copyright © 2010 J. Matt Peterson

You may use pygs under the terms of the General Public License (GPL) Version 2 or you may contact the author for permission or a commercial license. The commercial license option is specifically provided for those who are unable or unwilling to use the GPL.

http://www.gnu.org/licenses/gpl-2.0.txt

About

PyQt4 bindings to libqxt QxtGlobalShortcut

Resources

License

Unknown, GPL-2.0 licenses found

Licenses found

Unknown
LICENSE
GPL-2.0
GPL-LICENSE.txt

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published