On Oct 5, 2009, at 3:51, Andy Stewart wrote: > Axel Simon <axel.si...@ens.fr> writes: >> Signals.chs is indeed generated. You just add the type >> NONE:BOXED,STRING to >> tools/callbackGen/marshall.list >> >>> In Gtk.hs.pp, in line 292, i add `setScrollAdjustments` in hiding >>> list of >>> Graphics.UI.Gtk.Multiline.TextView: >>> >>> import Graphics.UI.Gtk.Multiline.TextView hiding >>> (afterSetScrollAdjustments, >>> onSetScrollAdjustments, afterCopyClipboard, onCopyClipboard, >>> afterCutClipboard, onCutClipboard, afterInsertAtCursor, >>> onInsertAtCursor, afterPasteClipboard, onPasteClipboard, >>> afterToggleOverwrite, onToggleOverwrite, setScrollAdjustments) >>> >>> -- here >> >> >> Gtk.hs.pp does exist. Are you sure you didn't edit Gtk.hs? >> BTW if you add a new signal and some other widget has the same >> signal name, then we should find a >> new name for the signal. The goal is that you can import >> Graphics.UI.Gtk and have all the names of >> Gtk2Hs in scope. Thus, if setScrollAdjustments is a signal in any >> other widget, you should rename >> it to setTextViewScrollAdjustments . > I see, thanks. > > Below is new patch: > > <MultilineNewPatch.txt.zip> > But when i `make`, i got below error: > > ------------------------------> error start > <------------------------------ > gtk/Graphics/UI/Gtk/Pango/Types.chs.pp:85:0: > Failed to load interface for `Graphics.UI.Gtk.Types': > Use -v to see a list of the files searched for. > ------------------------------> error end > <------------------------------ > > Looks Pango/Types.dep control depend, and this file is generated, > so which > file i need change to fix above depend?
I don't know, maybe the Graphics.UI.Gtk.Types file wasn't generated correctly. You should do a 'make clean' or 'make distclean' and re- try to make sure that the dependencies are not stale. Axel. ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ Gtk2hs-devel mailing list Gtk2hs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gtk2hs-devel