Actually, this needs some investigation. The "tip", which I wrote,<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
works for GTK3. I need to make sure that (a) there is a GTK2<br>
equivalent ; and (b) that is works on older versions of Sugar. For<br>
sure, going forward, the GTK3 version of Turtle Blocks will use Gtk<br>
for this. Stay tuned.<br>
<span class="HOEnZb"><font color="#888888"><br>
</font></span></blockquote><div><br></div><div>At least the part to get the dpi info worked in gtk2:</div><div><br></div><div><div>Gtk2:</div><div> xft_dpi = gtk.settings_get_default().get_property('gtk-xft-dpi')</div>
<div>Gtk3:</div><div> xft_dpi = Gtk.Settings.get_default().get_property('gtk-xft-dpi')</div><div><br></div></div><div>Gonzalo</div><div><br></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<span class="HOEnZb"><font color="#888888">-walter<br>
</font></span><div class="HOEnZb"><div class="h5">>><br>
>> --<br>
>> Daniel Narvaez<br>
><br>
> I am switch Turtle Art over. I may have this dependency in other<br>
> activities as well.<br>
><br>
> -walter<br>
><br>
><br>
> --<br>
> Walter Bender<br>
> Sugar Labs<br>
> <a href="http://www.sugarlabs.org" target="_blank">http://www.sugarlabs.org</a><br>
<br>
<br>
<br>
--<br>
Walter Bender<br>
Sugar Labs<br>
<a href="http://www.sugarlabs.org" target="_blank">http://www.sugarlabs.org</a><br>
_______________________________________________<br>
Sugar-devel mailing list<br>
<a href="mailto:Sugar-devel@lists.sugarlabs.org">Sugar-devel@lists.sugarlabs.org</a><br>
<a href="http://lists.sugarlabs.org/listinfo/sugar-devel" target="_blank">http://lists.sugarlabs.org/listinfo/sugar-devel</a><br>
</div></div></blockquote></div><br>