[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sc-dev] EZ methods



Should other EZs do something similar for consistency?

On 21 Dec 2008, at 09:38, jostM wrote:

Just to let people know:

both EZPopUpMenu and EZListView now allow for quick creation without a
window (good for preference panes, etc.)

       (
       g = EZListView.new(label: "My PopUp List:");
       g.addItem(\item0, {"this is item 0". postln});
       g.addItem(\item1, {"this is item 1". postln});
       g.addItem(\item2, {"this is item 2". postln});
       )


       (
       g = EZPopUpMenu.new(bounds: 200@20 , label:"PopUp Menu:");
       g.addItem(\item0, {"this is item 0". postln});
       g.addItem(\item1, {"this is item 1". postln});
       g.addItem(\item2, {"this is item 2". postln});
       )

jost

_______________________________________________
sc-dev mailing list

info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: https://listarc.bham.ac.uk/marchives/sc-dev/
search: https://listarc.bham.ac.uk/lists/sc-dev/search/


_______________________________________________
sc-dev mailing list

info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: https://listarc.bham.ac.uk/marchives/sc-dev/
search: https://listarc.bham.ac.uk/lists/sc-dev/search/