GtkRange and adjust_bounds



Hi,

I'm looking for a way to automatically grow a pixmap in a
GtkScrolledWindow if the user tries to scroll farther to the right or
bottom when the scroll thumb is already at the edge.

I've tried a bunch of things and there doesn't seem to be a documented way
of finding out if someone attempts to scroll when the thumb is at the
edge. GtkScrolledWindow's GtkAdjustment emits value_changed if the value
has changed, but in this case it won't have changed.

I dug through the GTK 2.2 source and the adjust_bounds signal in GtkRange
seems to do exactly what I want: it's emitted whenever someone clicks the
scroll buttons or drags the thumb. My question is, since the signal isn't
documented anywhere, can I rely on it still being there in a later
release? :)

Thanks,
Mike




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