Adding widgets to a viewer [message #452339] |
Thu, 17 March 2005 14:46 |
Eclipse User |
|
|
|
Originally posted by: gte240u.mail.gatech.edu
My application needs to add canvases to the viewer based on mouse events.
However,
these canvases are not visible in the view until the view is manually
resized. I have tried
calling update(), redraw() on both the canvas and the parent widget with no
luck.
What do I need to do so that the canvases become visible as soon as they are
added?
Thanks,
Jai
|
|
|
Re: Adding widgets to a viewer [message #452360 is a reply to message #452339] |
Fri, 18 March 2005 08:26 |
Eclipse User |
|
|
|
Originally posted by: bob.objfac.com
layout()?
Bob Foster
Jai Kejriwal wrote:
> My application needs to add canvases to the viewer based on mouse events.
> However,
> these canvases are not visible in the view until the view is manually
> resized. I have tried
> calling update(), redraw() on both the canvas and the parent widget with no
> luck.
>
> What do I need to do so that the canvases become visible as soon as they are
> added?
>
> Thanks,
>
> Jai
>
>
|
|
|
Re: Adding widgets to a viewer [message #452406 is a reply to message #452360] |
Sun, 20 March 2005 08:19 |
Eclipse User |
|
|
|
Originally posted by: gte240u.mail.gatech.edu
Thanks, that works.
"Bob Foster" <bob@objfac.com> wrote in message
news:423A90C8.8030609@objfac.com...
> layout()?
>
> Bob Foster
>
> Jai Kejriwal wrote:
> > My application needs to add canvases to the viewer based on mouse
events.
> > However,
> > these canvases are not visible in the view until the view is manually
> > resized. I have tried
> > calling update(), redraw() on both the canvas and the parent widget with
no
> > luck.
> >
> > What do I need to do so that the canvases become visible as soon as they
are
> > added?
> >
> > Thanks,
> >
> > Jai
> >
> >
|
|
|
Powered by
FUDForum. Page generated in 0.03306 seconds