Login  Register

Re: New widget

Posted by Mariano Martinez Peck on Mar 09, 2011; 9:01pm
URL: https://forum.world.st/New-widget-tp3344098p3344537.html

Indeed, in 1.2 it works fine. But I guess I am so stupid to understand it or there is a bug ;)
When I select for example,  #isLiteral, then the #isSelfEvaluating is also with color.

Or if select #and: then, #ifFalse: #ifTrue: and #or:   are selected.

is this normal, if true, what does it mean?

thanks!

mariano

On Wed, Mar 9, 2011 at 9:02 PM, laurent laffont <[hidden email]> wrote:
I've tried in Pharo 1.2, it works. I'm waiting for a real usage before giving feedback ;)

Laurent.

On Wed, Mar 9, 2011 at 6:09 PM, Benjamin <[hidden email]> wrote:
Hello everyone,

I've done a new Morphic widget, that allow to easily switch from a categorized view to a "all elements" view (quite hard to explain, let me give you an example ^^)



Gofer new
       squeaksource: 'SwitchableTreeWidget';
       package: 'SwitchableTreeWidget';
       load.

SwitchableCategoriesTreeExample new openInWorld.

If you click on the button or just double click on the tree, you will switch the view :)

I wrote that widget to integrate it in a new browser (and if I succeed, to create a new Glamour widget)



Thanks in for your feedback :)


Ben