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

Leonardo Miliani leonardo at ...1237...
Tue Jun 1 10:08:38 CEST 2010


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? ;-)

-- 
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