[Gambas-user] Bug trying to use gb.ncurses component

tobi tobiasboege01 at ...1601...
Fri May 11 21:06:58 CEST 2012


On Fri, 11 May 2012, Benoît Minisini wrote:
> Le 11/05/2012 20:29, tobi a écrit :
> >
> > Hi,
> >
> > if I could read it correctly (you know why I began developing gb.ncurses? I have no X running, I had
> > to use my framebuffer web browser to view the image, so I hope, it rendered the picture entirely)
> > that, utilising my little french knowledge, Window.Top was incorrectly overridden, right?
> > According to that message, there must be another Window class already loaded that gets overridden by
> > gb.ncurses' Window class (or vice versa). Do you use any GUI-related components? I haven't found in
> > the docs any Window.Top symbol but I may be wrong (there are .Top symbols in the graphical
> > components, don't know if they are somehow involved). I have never tried to run gb.ncurses in the
> > IDE and I suppose further that it would not work since ncurses wants a terminal to run in - AFAIK -
> > and I really can't say if the IDE console is a PTY or something that ncurses accepts.
> >
> > However, if you have enabled GUI components, try to disable them.
> >
> > Regards,
> > Tobi
> >
> 
> By the way, I suggest that you rename the Top() and Bottom() methods as 
> Raise() and Lower(), to mimic the GUI components.
> 
> Methods should normally be verbs, and properties names.
> 
> Regards,
> 
> -- 
> Benoît Minisini
> 
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and 
> threat landscape has changed and how IT managers can respond. Discussions 
> will include endpoint security, mobile security and the latest in malware 
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user

I thought, the corresponding GUI Windows had such _methods_. Sorry for that.
Will be done in the next commit which will appear when the component is not broken anymore here ;)
(Testing the GB.Signal API but errors seem to arise from my code)

Regards,
Tobi




More information about the User mailing list