Re: configure event in children
- From: Krzesimir Nowak <qdlacz gmail com>
- To: Andreas Bauer <baueran rsise anu edu au>
- Cc: gtkmm-list gnome org
- Subject: Re: configure event in children
- Date: Mon, 20 Apr 2009 09:58:39 +0200
On Mon, 2009-04-20 at 17:26 +1000, Andreas Bauer wrote:
> On Mon, Apr 20, 2009 at 09:12:46AM +0200, Krzesimir Nowak wrote:
>
> > http://gtkmm.org/docs/gtkmm-2.4/docs/tutorial/html/sec-xeventsignals.html
> >
> > I suppose that especially "Signal Handler sequence" is important for
> > you.
>
> I should have added, trying to envoke the handler BEFORE the default
> handler had no effect whatsoever (if that's what you're hinting at).
>
> Cheers,
>
> Andreas.
Well, maybe mixing connect_notify with signals returning a value (x
events return bool) is doing something wrong, since connect_notify
connects a signal to a signal handler without a return value. I would
try writing:
notebook.signal_configure_event().
connect(sigc::mem_fun(*this, &EditorWin::on_my_configure_event),
false);
where EditorWin::on_my_configure_event has a prototype:
bool EditorWin::on_my_configure_event(GdkEventConfigure*
configure_event);
which return true on success or false otherwise.
But this is blindshooting, because I don't know signal internals very
well, but it's worth trying. :)
Krzesimir Nowak
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]