Re: GtkScrolledWindow signals
- From: "Tim Barnard" <tbarnard timville org>
- To: <gtk-list gnome org>
- Subject: Re: GtkScrolledWindow signals
- Date: Sun, 30 Jan 2005 07:22:57 -0800
Thanks, that works well :)
Tim
----- Original Message -----
From: "Owen Taylor" <otaylor redhat com>
To: "Tim Barnard" <tbarnard timville org>
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]