Demo entry 6747800

How to import GTK 3+ in a program

   

Submitted by anonymous on Jun 06, 2018 at 13:12
Language: Python 3. Code size: 73 Bytes.

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

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).