From: Duncan C. <du...@co...> - 2003-12-11 22:54:42
|
On Thu, 2003-12-11 at 21:00, Axel Simon wrote: > On Thu, Dec 11, 2003 at 06:11:49PM +0000, Duncan Coutts wrote: > > it will be used like so: > > button <- xmlGetWidget dialogXml "button1" castToButton > > Do you mind swapping the String and the cast function around? I think it > would scan better. Furthermore, a partial application of (xmlGetWidget > dialogXml castToButton) is definitely more useful in practice for e.g. > looking up a list of buttons. Done. > > What should I call the package and subdirectory? glade or libglade? > > In the configure/make stuff I talk about libglade, but I've called the > > module, the ghc package, the demo and the subdirectory glade. It made > > sense to me at the time :-) > > Well, glade is the UI builder, libglade is the C library. Maybe everything > should be called glade2hs? That would reflect more what the library is > doing rather how it is implemented. Since the package for the gtk bindings is just "gtk", I'll follow the same pattern and leave it as "glade". > Please commit! Committed. People tracking cvs will need to rerun autoconf and ./configure to enable building the libglade bindings. Duncan |