[Sugar-devel] Turteleart dependency on xdpyinfo

Gonzalo Odiard gonzalo at laptop.org
Tue Oct 30 08:01:44 EDT 2012


Actually, this needs some investigation. The "tip", which I wrote,

> works for GTK3. I need to make sure that (a) there is a GTK2
> equivalent ; and (b) that is works on older versions of Sugar. For
> sure, going forward, the GTK3 version of Turtle Blocks will use Gtk
> for this. Stay tuned.
>
>
At least the part to get the dpi info worked in gtk2:

Gtk2:
    xft_dpi = gtk.settings_get_default().get_property('gtk-xft-dpi')
Gtk3:
    xft_dpi = Gtk.Settings.get_default().get_property('gtk-xft-dpi')

Gonzalo




> -walter
> >>
> >> --
> >> Daniel Narvaez
> >
> > I am switch Turtle Art over. I may have this dependency in other
> > activities as well.
> >
> > -walter
> >
> >
> > --
> > Walter Bender
> > Sugar Labs
> > http://www.sugarlabs.org
>
>
>
> --
> Walter Bender
> Sugar Labs
> http://www.sugarlabs.org
> _______________________________________________
> Sugar-devel mailing list
> Sugar-devel at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20121030/f3da0989/attachment.html>


More information about the Sugar-devel mailing list