File: sampleapp.py

package info (click to toggle)
rednotebook 2.21%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 3,580 kB
  • sloc: python: 9,111; xml: 128; sh: 46; makefile: 11
file content (20 lines) | stat: -rwxr-xr-x 355 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
import gi

gi.require_version("Gtk", "3.0")
from gi.repository import Gtk

print("Gtk import works")

from gi.repository import GObject

print("GObject import works")

gi.require_version("GtkSource", "3.0")
from gi.repository import GtkSource

print("GtkSource import works")

import enchant

print(enchant.list_languages())
print("Enchant import works")