Re: Timing Problem



Greetings all!

I have an editable cell renderer in a treeview which has a callback slot
connected to its "signal_edited" signal.  The actions taken in this
callback slot depend upon knowing to which widget the cell renderer lost
focus.  Because the cell renderer's callback slot is called prior to the
callback slot (wherein status variables are set) connected to the
"signal_clicked" signal of the widget gaining focus from the cell
renderer, the cell renderer's callback slot doesn't have fresh status data.

Anyone have any ideas on how I can get around this problem?

Bob

Maybe i don't fully understand your problem, but it sounds like you want to process the data from the cellrenderer in the signal_clicked of the widgets that get the focus. If you want this to be done in one function then you can connect the callback slot to all the signal_clicked signals of the widgets instead of the signal_edited of your
cell renderer.

--
Marco





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]