Re: GTK 1.2 Tree Item Signal



> 
> Jonathan Smith <jonsmith dragonstar dhs org> writes:
> > 
> > I am only aware/able to find one user signal function.  Someone submitted
> > a fix for this which was using gtk_signal_emit_stop_by_name on the Widget
> > this function was called on and "button_press_event".
> > 
> > Is this right-click to collapse a feature of the Tree?  If so, is there a
> > way properly disable this?  We use right-clicks for popup menus and it is
> > bizarre to have both the item collapse its children AND the menu to pop
> > up.
> > 
> 
> emit_stop_by_name is a reasonable way to disable it. In GTK 2 you can
> also stop emission by returning TRUE from the button press handler.



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