> From: [email protected]
> Date: Wed, 16 Oct 2013 01:50:52 +0100
> To: [email protected]
> Subject: Re: [Emc-developers] Embedded Tab Events
> 
> On 16 October 2013 01:30, Chris Morley <[email protected]> wrote:
> > here are the widget signals explained:
> > http://www.pygtk.org/docs/pygtk/class-gtkwidget.html#signal-prototypes-gtkwidget
> >
> > I think hide and show may be the best ones.
> > I think expose will be called everytime the widget needs to be redrawn.
> > Possibly map and unmap might work too.
> 
> Do I need to do something to the widgets to make them signal events? I
> really am getting very little action.
> I can get things to happen with the expected signals (like a button
> being pressed or a text box being edited) but nothing much seems to
> happen by way of events when I try trapping the generic "event"
> signal.
> (Or, the event-after signal). Both only seem to show GDK_EXPOSE events
> on entry, and nothing on exit from the tab.

Are you setting the signals in a handler file or with the glade editor?

Try map and unmap that seemed to work for me.
(tried it on Gscreen but that should act the same as gladeVCP)

> 
> 
> > Remember to add the event to the second object in the hierarchy of
> > the panel as the top window will be removed in the embedding process.
> 
> Ah, now that is worth knowing.
> 
Makes a big difference and is easy to miss!

Chris M
                                          
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to