<commit_before>toga-gtk
========

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`_.

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
---------
<commit_msg>Added reference to minimum requirements in README.<commit_after>toga-gtk
========

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
---------

{'fraction_non_alphanumeric': 0.12581852198316185, 'fraction_numerical': 0.009354536950420954, 'mean_word_length': 4.255528255528255, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7092270', 'n_tokens_mistral': 669, 'n_tokens_neox': 619, 'n_words': 278}