0.84/Notes: Difference between revisions

Erikos (talk | contribs)
Erikos (talk | contribs)
Line 15: Line 15:
=== Widgets ===
=== Widgets ===
A [http://git.sugarlabs.org/projects/sugar-toolkit/repos/mainline/blobs/master/src/sugar/graphics/colorbutton.py colorpicker] widget has been added. It is similar to the gtk.ColorButton, but does not have any alpha support. Instead of a color selector dialog it will pop up a Sugar palette. An example on how to use the ColorToolButton in your activity can be examined in the Write activity.
A [http://git.sugarlabs.org/projects/sugar-toolkit/repos/mainline/blobs/master/src/sugar/graphics/colorbutton.py colorpicker] widget has been added. It is similar to the gtk.ColorButton, but does not have any alpha support. Instead of a color selector dialog it will pop up a Sugar palette. An example on how to use the ColorToolButton in your activity can be examined in the Write activity.
The Object chooser can now be filtered by data type. This lets you open the dialog only showing entries of a specific data type, an example is the import image functionality in Write.


=== API ===
=== API ===
Line 30: Line 32:
* Add view-source-related methods HandleViewSource and GetDocumentPath
* Add view-source-related methods HandleViewSource and GetDocumentPath


* The Object chooser can now be filtered by data type. This lets you open the dialog only showing entries of a specific data type, an example is the import image functionality in Write.


* created the canvastextview in sugar/graphics
* created the canvastextview in sugar/graphics