Re: [gtk-list] CList button selections
- From: Lars Hamann <lars gtk org>
- To: "Rostedt, Steven" <steven rostedt lmco com>
- Cc: gtk-list redhat com
- Subject: Re: [gtk-list] CList button selections
- Date: Wed, 21 Oct 1998 21:08:43 +0200
On Wed, Oct 21, 1998 at 11:38:26AM -0400, Rostedt, Steven wrote:
> Does anyone know how to limit which button selects a row in the CList
> widget.
signal_connect to button_press_event of the clist and call
gtk_signal_emit_stop_by_name for buttons you don't want to do a selection.
> I want to have each button perform a different task while on a clist, but I
> only want
> the left (or right) mouse button to make a selection.
>
> I wrote a quick patch to the gtkclist.c and gtkclist.h file to handle this.
> If there isn't a solution
> to this, I'm willing to submit the patch. (it's really quit simple :)
You use gtk+ 1.0.x , right ? In gtk+ 1.1.x clist uses only button 1 for
selections.
bye,
Lars
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]