Actually i was using "if statements" to find which radio button is selected. So alternative of using "If statements" is to extend RadioButtonGroup and adding a method which return " ^buttons detect: [ :b | b state ] ifNone: [ nil ] " and categorized it under *name_of_my_package protocol. This method will return which button is selected by user. I was confused with Who we extending RadioButtonGroup. Initially i was facing problem with loading a repository in pharo but now its fine. Thanks Rohit On Sat, Mar 14, 2015 at 6:57 PM, Esteban Lorenzano <estebanlm@gmail.com> wrote:
I do not understand what are you trying to do.
you cloned a repo in your disk, then you have, for example:
path/to/myProject/myPackage.package/etcâ¦
to use it, you have to add the repository (path/to/myProject) to monticello browser, as a filetree repository. then you can browse and interact exactly as any other monticello repository: you can save and load packages you see listed there.
so⦠what lost me is the question about the .extension⦠you DO NOT HAVE to do anything⦠saving a package from monticello browser will save also the extensions belonging to that package.
cheers, Esteban
Le 8/3/15 10:14, rohit sharma a écrit :
hi everyone. I am facing a problem. I cloned a repo. of package. After that i tried saving and opening that package using Monticello Browser. But whenever i try save & open that package in pharo, all class and extension files are getting deleted and pharo is showing nothing in that package. Any suggestion??? One more thing i want to ask, i.e, how to make .extension files (like .class files) in pharo. Any resources on this topic?
Thanks Rohit