[sugar] GTK, Hippocanvas, and sugar.graphics
Eduardo Silva
edsiper at gmail.com
Thu Sep 20 07:18:05 EDT 2007
Hi,
Try to use just GTK widgets, for buttons use gtk.Button, canvas are
for internal uses of sugar.
best.
Eduardo
On 9/19/07, Benjamin M. Schwartz <bmschwar at fas.harvard.edu> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Dear sugar,
>
> I have made an activity with the world's simplest GUI: one button, and one text
> display field. I used a HippoCanvas and added a gtk.Button and a gtk.Label. It
> works. It's ugly. The default color of the button is the same as the color of
> the canvas, so it's invisible. The fonts and shapes don't look like the
> pictures in the Sugar HIG.
>
> I then found sugar.graphics.button.CanvasButton and hippo.CanvasText. I tried
> to switch to them, but they are totally undocumented, so I have no idea how to
> use them. I asked on IRC, and was told that we are moving to GTK.
>
> As an activity developer, what widgets and canvas am I supposed to use?
>
> - --Ben
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.7 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFG8eg2UJT6e6HFtqQRAifYAJ4t2SjLCeZVlDtWeK027aMX+oR5ygCdHXds
> 3StFaVmsoxFw/CNQhZA+Yjk=
> =IgKf
> -----END PGP SIGNATURE-----
> _______________________________________________
> Sugar mailing list
> Sugar at lists.laptop.org
> http://lists.laptop.org/listinfo/sugar
>
More information about the Sugar
mailing list