From: Duncan C. <dun...@wo...> - 2005-03-06 18:30:35
|
On Sun, 2005-03-06 at 14:39 +0000, Duncan Coutts wrote: > So I'll modify the code generator to produce module prefixed property > names and then anyone with cvs write access is welcome to commit any > properties that currently compile. That change has is now in cvs. > Currently the properties that will compile will only be properties that > look like: > > layout :: Attr ButtonBox ButtonBoxStyle > layout = Attr > buttonBoxGetLayout > buttonBoxSetLayout > > I'm still pondering over the kind that look like: > > iconSize :: Attr Image Int > iconSize = Attr > (\obj -> do GVint result <- objectGetProperty "icon_size" > return result) > (\obj val -> objectSetProperty obj "icon_size" (GVint val)) BTW the gtk2hs-devel list now appears to be working so this sort of email will go there in future. Duncan |