Re: [gtk-list] RE: Problem with scroll bar
- From: Tim Janik <timj gtk org>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] RE: Problem with scroll bar
- Date: Sun, 31 May 1998 20:32:04 +0200 (CEST)
On Sun, 31 May 1998, Damon Chaplin wrote:
> > Hi,
> > For some reason I need to have a vertical scroll bar that ignores
> > key presses. Is it possible at all(other than creating one from
> > scratch!)?!?
> You could try connecting your own "key_press_event" signal handler to
> the scrollbar and stopping the signal from getting to the widget itself
> with gtk_signal_emit_stop_by_name(GTK_OBJECT(scrollbar), "key_press_event").
hm, i think
GTK_WIDGET_UNSET_FLAGS (scrollbar, CAN_FOCUS);
should already do the trick.
] [Thread Prev