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

Fabien Bodard gambas.fr at ...626...
Tue Jun 1 13:15:39 CEST 2010


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




More information about the User mailing list