Hi Peter.

Right now you can only add an action to the context menu by adding to the  class side of GTPlayground  a method annotated with <playgroundContextMenu> that takes a parameter and returns a list of glamour actions. The parameter will be the actual instance of the playground. You can find an example in #contextMenuBasicActionsFor:

GTPlayground class>>#customActions: aPlayground
<playgroundContextMenu>
^ {
GLMGenericAction new
action: [ self inform: 'action' ];
icon: GLMUIThemeExtraIcons glamorousBrowse;
title: 'Action' }

Indeed we should have a similar  option for  customizing the buttons from the toolbar.
https://pharo.fogbugz.com/f/cases/19008/GTPlaygroung-should-offer-a-solution-for-customizing-the-toolsbut-buttons

Cheers,
Andrei

On Sat, Aug 27, 2016 at 5:42 PM, Peter Uhnak <i.uhnak@gmail.com> wrote:
Hi,

(how) can one add a new button to GTPlayground, next to the "do it all and go" and "remote publish"?

I want to add integration with Gists (because I find the remote publish only remotely useful),
however it seems that the buttons are hard coded.

Thanks,
Peter
_______________________________________________
Moose-dev mailing list
Moose-dev@list.inf.unibe.ch
https://www.list.inf.unibe.ch/listinfo/moose-dev