Re: GtkScrolledWindow signals

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

 



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

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________

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