Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

PyQt4 bindings to libqxt QxtGlobalShortcut

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 examples
Octocat-spinner-32 libqxt
Octocat-spinner-32 py
Octocat-spinner-32 GPL-LICENSE.txt
Octocat-spinner-32 LICENSE
Octocat-spinner-32 Makefile
Octocat-spinner-32 Makefile.windows
Octocat-spinner-32 README.textile
Octocat-spinner-32 configure.py
Octocat-spinner-32 make.message
README.textile

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

Something went wrong with that request. Please try again.