Porting launcher-gtk.py to gobject introspection
- From: Nicolas Évrard <nicoe altern org>
- To: libchamplain-list gnome org
- Subject: Porting launcher-gtk.py to gobject introspection
- Date: Tue, 20 Dec 2011 15:50:28 +0100
Hello,
I am trying to port the demos launcher-gtk.py to use gobject
introspection. But I seem to be unable to grok the introspection
concept.
So I copied both launcher-gtk.py and markers.py to a directory from an
old version of libchamplain and renamed everything to use the
introspection. But my code fails on this kind of line (in markers.py):
marker = Champlain.marker_new_with_text(
"Montréal\n<span size=\"xx-small\">Québec</span>", "Serif 14", black,
orange)
I tried with Champlain.Marker("…") but it did not work,
Champlain.Marker.new_with_text did not work either.
Can someone explain me how to do this ?
--
(°> Nicolas Évrard
( ) Liège
`¯
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]