Commit 54c0bb52 authored by Felipe Borges's avatar Felipe Borges 👣

examples: Add a python example consuming the gi bindings

parent a1c768c9
import gi
gi.require_version('Gtk', '3.0')
from gi.repository import Gtk, GtkFrdp
win = Gtk.Window()
display = GtkFrdp.Display()
display.open_host("10.43.12.92", 3389)
win.add(display)
win.connect("destroy", Gtk.main_quit)
win.show_all()
Gtk.main()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment