Skip to main content

A GTK+ backend for the Toga widget toolkit.

Project description

A GTK+ backend for the Toga widget toolkit.

This package isn’t much use by itself; it needs to be combined with the core Toga library.

For more details, see the Toga project on Github.

Prerequisites

This backend requires GTK+ 3.4 as a minimum. This is the version provided out of the box by Ubunutu 12.04.

If you want to use a WebView, you’ll also need to have WebKit, plus the GI bindings to WebKit (gir1.2-webkit-3.0) installed.

Problems using virtualenv under Linux

When running under Linux, toga-gtk uses the system native python GTK+3 bindings for display purposes. However, if you’re using a –no-site-packages virtualenv, the Python bindings for GTK won’t be in your PYTHONPATH.

Unfortunately, you can’t pip install GTK+ bindings, so you have to use a workaround. To make the system GTK+ bindings available to your virtualenv, symlinking the gi module from the system dist-packages directory into your virtualenv’s site-packages:

$ cd $VIRTUAL_ENV/lib/python2.7/site-packages
$ ln -si /usr/lib/python2.7/dist-packages/gi

Community

Toga is part of the BeeWare suite. You can talk to the community through:

Contributing

If you experience problems with this backend, log them on GitHub. If you want to contribute code, please fork the code and submit a pull request.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

toga-gtk-0.1.2.tar.gz (12.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

toga_gtk-0.1.2-py2.py3-none-any.whl (19.4 kB view details)

Uploaded Python 2Python 3

File details

Details for the file toga-gtk-0.1.2.tar.gz.

File metadata

  • Download URL: toga-gtk-0.1.2.tar.gz
  • Upload date:
  • Size: 12.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for toga-gtk-0.1.2.tar.gz
Algorithm Hash digest
SHA256 24418f6b8f9f6b31a07189697c8e7c4dcc8efce11c2c5336df5b130092d75811
MD5 523fe02b08f9207e020b1da2f43bc161
BLAKE2b-256 9553214f0861ec12919581efda7e0dfc6d86f7f65da679433a5fc7743b587772

See more details on using hashes here.

File details

Details for the file toga_gtk-0.1.2-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for toga_gtk-0.1.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 b81c4e00c20c1fe06bf7b02887e53873235d437841623f6fb589a7fb7337455d
MD5 a9226e7d82e44a3e2c708eaa564f9125
BLAKE2b-256 57b2ac0ea14047ffe84ff87d49a13404f02c54e8862424d2eb04768e112727e9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page