0.84/Notes: Difference between revisions

Erikos (talk | contribs)
Erikos (talk | contribs)
Line 49: Line 49:


=== 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 widget] to pick the color has been introduced. 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 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. An example is the import image functionality in Write.
The Object Chooser can now be filtered by data type. An example is the import image functionality in Write.


Support for accelerators has been added to [http://git.sugarlabs.org/projects/sugar-toolkit/repos/mainline/blobs/master/src/sugar/graphics/menuitem.py ''MenuItem'']. The sub classed ''hippo.CanvasWidget'', ''CanvasTextView'' has been moved to the toolkit.
Support for accelerators has been added to the [http://git.sugarlabs.org/projects/sugar-toolkit/repos/mainline/blobs/master/src/sugar/graphics/menuitem.py MenuItem] widget. The sub classed hippo.CanvasWidget, CanvasTextView has been moved to the toolkit.


=== API ===
=== API ===