Combining Brick, Bloc, Glamour and Morphic

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Combining Brick, Bloc, Glamour and Morphic

Peter Uhnak
Hi,

is it possible to combine Glamour bricks with the new Bricks?

Namely I am looking for text field input and select box (drop box).

There is GLMRubTextFieldBrick or RubTextFieldMorph
however the GLM* seems to require some kind of special themer, and regular morphs fail on #isBrickedBloc (I also tried asBrick, however that returns GLMMorphBrick which also doesn't respond to #isBrickedBloc).

So is it possible to combine it somehow, or do I have to wait until all the basic widgets are written in Bloc/Brick?

Thanks,
Peter

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: [Pharo-dev] Combining Brick, Bloc, Glamour and Morphic

Aliaksei Syrel
You have to wait :)

Reusing morph brick widgets in bloc world is not possible... you have to wait until basic widgets are rewritten. For text field try BrTextPane - it is based on TxText, Rubric is depreciated in Bloc. Select box is not yet implemented 

Cheers,
Alex

On Sat, Aug 29, 2015 at 4:24 PM, Peter Uhnák <[hidden email]> wrote:
Hi,

is it possible to combine Glamour bricks with the new Bricks?

Namely I am looking for text field input and select box (drop box).

There is GLMRubTextFieldBrick or RubTextFieldMorph
however the GLM* seems to require some kind of special themer, and regular morphs fail on #isBrickedBloc (I also tried asBrick, however that returns GLMMorphBrick which also doesn't respond to #isBrickedBloc).

So is it possible to combine it somehow, or do I have to wait until all the basic widgets are written in Bloc/Brick?

Thanks,
Peter


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev