Re: GTK 1.2 Tree Item Signal
- From: Jonathan Smith <jonsmith dragonstar dhs org>
- To: Havoc Pennington <hp redhat com>
- Cc: gtk-list gnome org
- Subject: Re: GTK 1.2 Tree Item Signal
- Date: Sun, 5 Aug 2001 10:34:11 -0500 (EST)
>
> 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]