Re: View Frame Patch



> One scenario I had in mind was the Sorting View in Achtung.  The view
> consists of a scrollable window filled with BonoboViewFrames, one for
> each slide in the slideshow.  When the user clicks on a viewframe, we
> need to highlight the slide and set the current slide in the view
> object.

You can do this by attaching to the wrapper.  I do not see why do you
need to do this on the ViewFrame at all.

> I know this can be accomplished by attaching to the button_press_event
> signal of the wrapper widget, but so can user_activate and user_context,
> which have been encapsulated in the viewframe with their own signals.  I
> proposed this patch for consistency of handling clicks on a viewframe.

I am not quite sure why those were added.  I think they were utility
functions that Nat added.  nat?

Miguel.




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