[Gambas-user] Gambas3:draw.begin(printer)

Leonardo Miliani leonardo at ...1237...
Wed Jun 2 15:49:35 CEST 2010


Il giorno mar, 01/06/2010 alle 13.15 +0200, Fabien Bodard ha scritto:
> 2010/6/1 Leonardo Miliani <leonardo at ...1237...>:
> > Il giorno lun, 31/05/2010 alle 18.51 +0200, Fabien Bodard ha scritto:
> >> 2010/5/31 charlesg <charles at ...1784...>:
> >> >
> >> > Hi
> >> >
> >> > Converting Gambas2 to Gambas3 using QT.
> >> >
> >> > draw.begin(printer) now says that printer is 'not a drawable object'
> >> > printer.name reports correctly.
> >> yes it's true as printer do not use, draw any now, but paint.
> >>
> >> so you have to draw the page in the _draw event of the printer
> >>
> >>
> >> http://gambasdoc.org/help/comp/gb.qt4/printer?v3
> >>
> >>
> >> http://gambasdoc.org/help/comp/gb.qt4/printer/.draw?v3
> >>
> >
> > Is the use of Printer still limited to Qt or is there a chance to see
> > this object supported under GTK too? ;-)
> >
> 
> Leo, it's supported by Qt AND GTK !   :-)
> 
> the doc page  about gb.gtk is not up to date :)
> 
> ------------------------------------------------------------------------------
> 
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user

VERY nice new XD
I'll try it as soon as possible.
-- 
Leonardo Miliani
www.leonardomiliani.com

Webmaster e co-fondatore di www.gambas-it.org
Il portale di riferimento per i programmatori Gambas italiani





More information about the User mailing list