Re: GtkScrolledWindow signals

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

 



Thanks, that works well :)

Tim

----- Original Message ----- 
From: "Owen Taylor" <otaylor@xxxxxxxxxx>
To: "Tim Barnard" <tbarnard@xxxxxxxxxxxx>
Cc: <gtk-list@xxxxxxxxx>
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@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux