0.86/Notes: Difference between revisions
→Widgets: RadioPalette |
|||
| Line 88: | Line 88: | ||
* '''New Toolbars:''' Sugar has switched to a new toolbar design. The simplest example can be found in the [http://git.sugarlabs.org/projects/hello-world/repos/mainline/blobs/master/activity.py#line44 hello world] activity. If you want to group functionality into a secondary toolbar you can have a look at the [http://git.sugarlabs.org/projects/terminal/repos/mainline/blobs/master/terminal.py terminal activity]. To have a consistent layout over activities please group the edit and view toolbar to the left. The items on the toolbar should be aligned to the left. | * '''New Toolbars:''' Sugar has switched to a new toolbar design. The simplest example can be found in the [http://git.sugarlabs.org/projects/hello-world/repos/mainline/blobs/master/activity.py#line44 hello world] activity. If you want to group functionality into a secondary toolbar you can have a look at the [http://git.sugarlabs.org/projects/terminal/repos/mainline/blobs/master/terminal.py terminal activity]. To have a consistent layout over activities please group the edit and view toolbar to the left. The items on the toolbar should be aligned to the left. | ||
* '''New Share button''': The design of the share button has changed ([[0.86/Notes#New_share_button]]). If your activity does not support collaboration you can set the activity class member max_participants to '1' which makes the share button insensitive. | * '''New Share button''': The design of the share button has changed ([[0.86/Notes#New_share_button]]). If your activity does not support collaboration you can set the activity class member max_participants to '1' which makes the share button insensitive. | ||
* '''CellRenderIcon:''' This new widget allows to place sugar svg icons in a gtk.TreeView. | * '''CellRenderIcon:''' This new widget allows to place sugar svg icons in a gtk.TreeView. The '''CellRendererInvoker''' is used for the palette accordingly. | ||
* '''RadioPalette''': Base class for the ShareButton. | * '''RadioPalette''': Base class for the ShareButton. | ||