def _create_top_panel(self): panel = self._create_panel(gtk.POS_TOP) zoom_toolbar = ZoomToolbar() panel.append(zoom_toolbar, expand=False) zoom_toolbar.show() activities_tray = ActivitiesTray() panel.append(activities_tray) activities_tray.show() return panel
def _create_top_panel(self): panel = self._create_panel(Gtk.PositionType.TOP) zoom_toolbar = ZoomToolbar() panel.append(zoom_toolbar, expand=False) zoom_toolbar.show() zoom_toolbar.connect('level-clicked', self._level_clicked_cb) activities_tray = ActivitiesTray() panel.append(activities_tray) activities_tray.show() return panel