Getting started with python?



Hey!

I've been googling around and cant find how to get started with
libchamplain and python.

I've tried to decode the c-code example with no luck.

This is what I have so far.

from gi.repository import GtkChamplain
from gi.repository import Champlain
from gi.repository import Gtk

win = Gtk.Window()
win.connect("destroy",Gtk.main_quit)
wid = GtkChamplain.Embed???
win.add(wid)
Gtk.main()

Can i get a nudge in the right direction?

BR
Anders


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]