Thanks, that works well :)

Tim

----- Original Message ----- 
From: "Owen Taylor" <[EMAIL PROTECTED]>
To: "Tim Barnard" <[EMAIL PROTECTED]>
Cc: <gtk-list@gnome.org>
Sent: Saturday, January 29, 2005 9:12 AM
Subject: Re: GtkScrolledWindow signals

On Fri, 2005-01-28 at 23:48 -0800, Tim Barnard wrote:
> I'm trying to get a GtkScrolledWindow to notify via a scroll_child
> signal whenever the horizontal scrollbar is moved, but am having no
> success at all. The scrolled window contains a drawing are widget and
> the scrolled window itself is within a table widget. Everything works
> well except for the fact that I never get a scroll_child event. The
> commented out portion of the code has no effect if uncommented. Here's
> a simplified code snippit showing how it's all setup (note: the
> hardcoded numerics [800, 600, 2700, et al.] are there to simplify this
> snippit):

"scroll-child" is an "action signal" that is hooked to keybindings. 
What you want is to connected to the "value-changed" signal on the
scrolled window's adjustments.

Regards,     Owen



_______________________________________________
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list

Reply via email to