Re: Pretend example problem

new topic     » goto parent     » topic index » view thread      » older message » newer message

Greg Haberek wrote:
> 
> Later in the code, the Pixmap 'Buffer' is being blitted to the entire screen.
> 
> On 10/12/06, don cole <guest at rapideuphoria.com> wrote:
> >
> >
> > posted by: don cole <doncole at pacbell.net>
> >
> >
> > Hello everyone.
> >
> > In the Pretend.exw example from Win32lib I attempted to add a PushButton.
> >
> >
> >
> > -----------------------------------------------------------------------------
> > -- the gui
> > constant
> > Win     = create( Window, "Pretender", 0, Default, Default, WinWide,
> > WinHigh+26, 0 ),
> > Buffer  = create( Pixmap, "", 0, 0, 0, WinWide, WinHigh, 0 )
> >
> > constant PushBu8utton3 = create( PushButton, "Hello", Win, 10, 10, 148, 20,
> > 0)
> >
> > -----------------------------------------------------------------------------
> > But it does not show up on screen. anyone know why?
> > Don Cole
> >
> >
Thank you Greg,

So to make the pushButton show up on every tick one must Cut a hole in the
buffer at that point. Or what?

 I appreciate your help  smile


Don Cole

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu