Hi,
I started to work on a UI package for Iliad. The code is available in the svn repository in More/UI. This addon aims to be a higher abstraction layer over html to build web applications. I started it with libs like GTK+ and QT in mind. Some parts are already working (but not well tested yet): - Layouts: vertical and horizontal boxes - Trees and Tabs I have to write a bit of javascript code to make hpaned and vpaned work. I also moved widgets from More/Widgets to More/UI (the Calendar widget is still not working) Cheers! Nico _______________________________________________ help-smalltalk mailing list [hidden email] http://lists.gnu.org/mailman/listinfo/help-smalltalk signature.asc (204 bytes) Download Attachment |
On Fri, 10 Jul 2009 12:33:52 +0200
Nicolas Petton <[hidden email]> wrote: > Hi, > > I started to work on a UI package for Iliad. The code is available in > the svn repository in More/UI. > > This addon aims to be a higher abstraction layer over html to build > web applications. I started it with libs like GTK+ and QT in mind. > > Some parts are already working (but not well tested yet): I'll give it a try later today! Did make_packages.sh work on your box? I had to tweak it a bit to make the symlinks work. stefan@g128 iliad $ svn diff Index: make_packages.sh =================================================================== --- make_packages.sh (revision 1391) +++ make_packages.sh (working copy) @@ -14,12 +14,12 @@ for i in `find More/UI/stylesheets -type f | grep -v '\.svn'` do echo "linking $i to Public..." - ln -s $i Public/stylesheets/ + ln -fs ../../$i Public/stylesheets/ done for i in `find More/UI/images -type f | grep -v '\.svn'` do echo "linking $i to Public..." - ln -s $i Public/images/ + ln -fs ../../$i Public/images/ done fi Thanks, s. _______________________________________________ help-smalltalk mailing list [hidden email] http://lists.gnu.org/mailman/listinfo/help-smalltalk signature.asc (205 bytes) Download Attachment |
Le vendredi 10 juillet 2009 à 13:05 +0200, Stefan Schmiedl a écrit :
> On Fri, 10 Jul 2009 12:33:52 +0200 > Nicolas Petton <[hidden email]> wrote: > > > Hi, > > > > I started to work on a UI package for Iliad. The code is available in > > the svn repository in More/UI. > > > > This addon aims to be a higher abstraction layer over html to build > > web applications. I started it with libs like GTK+ and QT in mind. > > > > Some parts are already working (but not well tested yet): > > I'll give it a try later today! BTW, I'm trying to figure out what other widgets would be useful in this package. Any idea? > > Did make_packages.sh work on your box? I had to tweak it a bit > to make the symlinks work. Hmm, yes, but I'll give a look at your patch anyway ;) Cheers! Nico _______________________________________________ help-smalltalk mailing list [hidden email] http://lists.gnu.org/mailman/listinfo/help-smalltalk signature.asc (204 bytes) Download Attachment |
Hi Nico,
It would be just nice if you put some on-line demo of Iliad and recent UI widgets. I'm sure this will impress the people a lot! Best regards Janko Nicolas Petton pravi: > Le vendredi 10 juillet 2009 à 13:05 +0200, Stefan Schmiedl a écrit : >> On Fri, 10 Jul 2009 12:33:52 +0200 >> Nicolas Petton <[hidden email]> wrote: >> >>> Hi, >>> >>> I started to work on a UI package for Iliad. The code is available in >>> the svn repository in More/UI. >>> >>> This addon aims to be a higher abstraction layer over html to build >>> web applications. I started it with libs like GTK+ and QT in mind. >>> >>> Some parts are already working (but not well tested yet): >> I'll give it a try later today! > > Great, but please keep in mind that it's just a first draft :) > > BTW, I'm trying to figure out what other widgets would be useful in this > package. Any idea? > > >> Did make_packages.sh work on your box? I had to tweak it a bit >> to make the symlinks work. > > Hmm, yes, but I'll give a look at your patch anyway ;) > > Cheers! > > Nico > > > ------------------------------------------------------------------------ > > _______________________________________________ > help-smalltalk mailing list > [hidden email] > http://lists.gnu.org/mailman/listinfo/help-smalltalk -- Janko Mivšek Svetovalec za informatiko Eranova d.o.o. Ljubljana, Slovenija www.eranova.si tel: 01 514 22 55 faks: 01 514 22 56 gsm: 031 674 565 _______________________________________________ help-smalltalk mailing list [hidden email] http://lists.gnu.org/mailman/listinfo/help-smalltalk |
In reply to this post by Nicolas Petton
On Fri, 10 Jul 2009 13:56:32 +0200
Nicolas Petton <[hidden email]> wrote: > Le vendredi 10 juillet 2009 à 13:05 +0200, Stefan Schmiedl a écrit : > > On Fri, 10 Jul 2009 12:33:52 +0200 > > Nicolas Petton <[hidden email]> wrote: > > > > > Hi, > > > > > > I started to work on a UI package for Iliad. The code is > > > available in the svn repository in More/UI. > > > > > > This addon aims to be a higher abstraction layer over html to > > > build web applications. I started it with libs like GTK+ and QT > > > in mind. > > > > > > Some parts are already working (but not well tested yet): > > > > I'll give it a try later today! > > Great, but please keep in mind that it's just a first draft :) of how the boxes or paneds are used in code? Also, I don't grok the names HorizontalPaned and VerticalPaned. A HorizontalBox is a horizontal box, but a HorizontalPaned is - a horizontal pane? - a container for something horizontally paned? > > BTW, I'm trying to figure out what other widgets would be useful in > this package. Any idea? About the only thing I could come up with today was the wish for another way to build tabs. You have Tab new labels: aCollection; widgets: aCollection I'd also like to use something like Tab new addLabel: string1 widget: widget1; addLabel: string2 widget: widget2... It puts labels and widgets next to each other and avoids the intermediate collections. How would I do the following: Assume I'd like to use tabs like a "wizard". I'd put some static explanation on the first page and then add widgets as necessary. Do I have to create a dedicated widget subclass for the static text or is there a way around this? I guess this boils down to something like Tab new addLabel: 'intro' build: [:e | e text: 'hi!' ...]; addLabel: 'step 1' widget: w1; addLabel: 'step 2' widget: w2; heh ... a Wizard widget might be nice, actually. Based on tabs, with a "next" button at the bottom and active tab switches from 1...n (assuming you've completed n-1 steps) good night, s. _______________________________________________ help-smalltalk mailing list [hidden email] http://lists.gnu.org/mailman/listinfo/help-smalltalk signature.asc (205 bytes) Download Attachment |
> I'm too exhausted today to be smart ... is there a short example
> of how the boxes or paneds are used in code? Not yet, but I will add one :) > > Also, I don't grok the names HorizontalPaned and VerticalPaned. > A HorizontalBox is a horizontal box, but a HorizontalPaned is > - a horizontal pane? > - a container for something horizontally paned? Yes, I took the class names from GTK. A *Paned is a container with 2 panes. > > > > > BTW, I'm trying to figure out what other widgets would be useful in > > this package. Any idea? > > About the only thing I could come up with today was the wish for > another way to build tabs. You have > Tab new labels: aCollection; widgets: aCollection > I'd also like to use something like > Tab new > addLabel: string1 widget: widget1; > addLabel: string2 widget: widget2... > It puts labels and widgets next to each other and avoids the > intermediate collections. > > How would I do the following: Assume I'd like to use tabs like > a "wizard". I'd put some static explanation on the first page > and then add widgets as necessary. > > Do I have to create a dedicated widget subclass for the static text > or is there a way around this? I guess this boils down to something > like > > Tab new > addLabel: 'intro' build: [:e | e text: 'hi!' ...]; > addLabel: 'step 1' widget: w1; > addLabel: 'step 2' widget: w2; > > heh ... a Wizard widget might be nice, actually. Based on tabs, > with a "next" button at the bottom and active tab switches from > 1...n (assuming you've completed n-1 steps) > Cheers! Nico _______________________________________________ help-smalltalk mailing list [hidden email] http://lists.gnu.org/mailman/listinfo/help-smalltalk signature.asc (204 bytes) Download Attachment |
In reply to this post by Stefan Schmiedl
On Sun, 12 Jul 2009 19:36:41 +0200
Nicolas Petton <[hidden email]> wrote: > > Also, I don't grok the names HorizontalPaned and VerticalPaned. > > A HorizontalBox is a horizontal box, but a HorizontalPaned is > > - a horizontal pane? > > - a container for something horizontally paned? > > Yes, I took the class names from GTK. A *Paned is a container with 2 > panes. GtkHPaned — A container with two panes arranged horizontally so they are getting the "d" at the end from "horizontally paned". HorizontalPaned scrapes against my English grammar bone. It's in the same league as the HTTP header HTTP_REFERER, which got into the standard in spite of the typo (should be referrer). Things like that place a constant burden on the user, so I'm going all Don Quixote on these things :-) s. -- Stefan Schmiedl EDV-Beratung Schmiedl, Berghangstr. 5, D-93413 Cham im Büro: 09971 9966 989, am Handy: 0160 9981 6278 _______________________________________________ help-smalltalk mailing list [hidden email] http://lists.gnu.org/mailman/listinfo/help-smalltalk signature.asc (205 bytes) Download Attachment |
Le dimanche 12 juillet 2009 à 20:17 +0200, Stefan Schmiedl a écrit :
> On Sun, 12 Jul 2009 19:36:41 +0200 > Nicolas Petton <[hidden email]> wrote: > > > > Also, I don't grok the names HorizontalPaned and VerticalPaned. > > > A HorizontalBox is a horizontal box, but a HorizontalPaned is > > > - a horizontal pane? > > > - a container for something horizontally paned? > > > > Yes, I took the class names from GTK. A *Paned is a container with 2 > > panes. > > GtkHPaned — A container with two panes arranged horizontally > > so they are getting the "d" at the end from "horizontally paned". > HorizontalPaned scrapes against my English grammar bone. Cheers! Nico > > It's in the same league as the HTTP header HTTP_REFERER, which > got into the standard in spite of the typo (should be referrer). > Things like that place a constant burden on the user, so I'm > going all Don Quixote on these things :-) > > s. > _______________________________________________ help-smalltalk mailing list [hidden email] http://lists.gnu.org/mailman/listinfo/help-smalltalk signature.asc (204 bytes) Download Attachment |
On Sun, 12 Jul 2009 20:23:39 +0200
Nicolas Petton <[hidden email]> wrote: > Ok, let's name it HorizontallyPaned then :) Thanks alot, really! s. _______________________________________________ help-smalltalk mailing list [hidden email] http://lists.gnu.org/mailman/listinfo/help-smalltalk signature.asc (205 bytes) Download Attachment |
Free forum by Nabble | Edit this page |