Re: [Wt-interest] On radiobutton checked signals, pushbuttons and gd
On Mon, Mar 19, 2007 at 12:09:33PM +0100, Koen Deforche wrote:
> > Three unrelated questions. I have trouble with the
> > Wt:WAbstractToggleButton::checked signal. The connected slot does
> > not get executed right away after clicking but is delayed until the
> > next slot is called (in my case because the user clicked a different
> > button)
> That sounds bad but plausible, as the code got a bit messy around there and
> several times rewritten. I'll check that ASAP.
Maybe related but there is also something fishy going on with the
checked handler for interactive widgets. For example I have a
Wt::WText where I connected a slot to
its checked handler (it basically does a show on a particular box
that serves as a help text). Now this slot gets executed whenever
I click on whatever element that is defined after this particular
Wt::WText item. (When I spoke you earlier on msn about this problem
I didnt fully get what the problem was and described it a bit
different. So it is not only the Close button that reopens the
helptext it is any click anywhere that opens this text.)
> > Next I'd like to have a WPushButton but with an image instead of
> > a text as appearance.
> Oops. I'm surprised myself it's not there. Will be done.
> > Lastly the Mandelbrot example saves the generated image to a temporary
> > file, only to read it right back in and unlink the file. Why not
> > simple use the gdImagePngPtr function which saves to memory?
> True. Sounds like you're a pro