Article View: comp.windows.x
Article #38434Re: new free widget library
From: J. Cameijo Cerdeira
Date: Mon, 17 Mar 1997 00:00
Date: Mon, 17 Mar 1997 00:00
27 lines
2317 bytes
2317 bytes
Take a look at amulet (at http://www.cs.cmu.edu/~amulet) it's a free GUI toolkit for cross platform development (X11, windoze and mac). It's written in C++ on top of Xlib (in the unix flavour). I think it's got a handful of very nice concepts/ideas built in: *contraints*: most objects' attributes can accept functions in addition to values in order to restrict/control the allowed values. for instance you can use a function to set the width of a graphical object to be a function of another object's width/height/whatever. Net result: writing geometry managers is a no-brainer. *interactors*: you have built in mechanisms to deal with most common user interaction paradigms: single one shot events, creating new objects, moving objects, etc. The amulet framework already supports many nice features you can control like rubber-banding, gridding (when moving objects), undoing, selecting (grouping/ungrouping),... Net result: easy to write an advanced graphical editor. It's really much, much more than a widget set. You can argue it has a rather strange design, doesn't use C++ effectively (STL, etc), doesn't use Xt resource manager but anyway i think the pros greatly overtake the cons. J Cameijo Cerdeira
Technical Details
Message-ID:
<332D39B7.4A4E@mail.telepac.pt>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<E6vBxI.MtG@world.std.com> <5g3fe4$sae@news.IAEhv.nl> <33276CFB.5C61@ics.com> <3329E7BE.27EAD998@snet.net>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103734,a8c746231dfc1302 X-Google-Attributes: gid103734,public X-Google-Thread: 1103af,a8c746231dfc1302 X-Google-Attributes: gid1103af,public X-Google-Thread: 108717,a8c746231dfc1302 X-Google-Attributes: gid108717,public X-Google-Thread: f6356,a8c746231dfc1302 X-Google-Attributes: gidf6356,public X-Google-Thread: 1108a1,a8c746231dfc1302 X-Google-Attributes: gid1108a1,public X-Google-Thread: 107393,a8c746231dfc1302 X-Google-Attributes: gid107393,public X-Google-Thread: 1025b4,a8c746231dfc1302 X-Google-Attributes: gid1025b4,public From: "J. Cameijo Cerdeira" <jverissi@mail.telepac.pt> Subject: Re: new free widget library Date: 1997/03/17 Message-ID: <332D39B7.4A4E@mail.telepac.pt> X-Deja-AN: 226160184 References: <E6vBxI.MtG@world.std.com> <5g3fe4$sae@news.IAEhv.nl> <33276CFB.5C61@ics.com> <3329E7BE.27EAD998@snet.net> Organization: Home Sweet Home Newsgroups: comp.windows.x,comp.unix.user-friendly,comp.os.linux.misc,comp.editors,comp.programming,comp.object,gnu.misc.discuss