cheers that makes sense, for some reason i thought gi.repository did gtk 2 and 3 but would make sense its just for 3<br><br><div class="gmail_quote">On Tue, Jul 24, 2012 at 11:59 PM, Michael Hall <span dir="ltr"><<a href="mailto:mhall119@ubuntu.com" target="_blank">mhall119@ubuntu.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Yes, if you are using "from gi.repository import Gtk" you are getting<br>
Gtk+ 3.<br>
<span class="HOEnZb"><font color="#888888"><br>
Michael Hall<br>
<a href="mailto:mhall119@ubuntu.com">mhall119@ubuntu.com</a><br>
</font></span><div class="HOEnZb"><div class="h5"><br>
On 07/24/2012 06:22 PM, Matthew Brush wrote:<br>
> On 12-07-24 03:14 PM, Oly wrote:<br>
>> Any one able to tell me why this line fails in plugin and in the<br>
>> interactive console.<br>
>><br>
>> from gi.repository import Gtk as gtk,GObject as gobject,GLib as glib<br>
>><br>
>> you can still use import gtk glib and gobject but they are being<br>
>> depricated in favour of the above and the current versions of glade<br>
>> generate xml for the new way not the old.<br>
>><br>
><br>
> Is it maybe using GTK+ 3? AFAIK you can't load GTK+ 3 and 2 in the same<br>
> process and Geany and GeanyPy are using GTK+ 2 already. Just a guess<br>
> without seeing the error messages and whatnot.<br>
><br>
> Cheers,<br>
> Matthew Brush<br>
> _______________________________________________<br>
> Geany-devel mailing list<br>
> <a href="mailto:Geany-devel@uvena.de">Geany-devel@uvena.de</a><br>
> <a href="https://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel" target="_blank">https://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel</a><br>
_______________________________________________<br>
Geany-devel mailing list<br>
<a href="mailto:Geany-devel@uvena.de">Geany-devel@uvena.de</a><br>
<a href="https://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel" target="_blank">https://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel</a><br>
</div></div></blockquote></div><br>