scrolled window adjustment 'changed' signal question
- From: James Morris <jwm art net gmail com>
- To: gtk-app-devel-list gnome org
- Subject: scrolled window adjustment 'changed' signal question
- Date: Thu, 23 Sep 2010 00:54:02 +0100
Hi,
As from my previous email, I require the dimensions of the scrolled
window. I decided to detect when they change (due to the top level
window being resized) by using the 'changed' signal emitted by the
hadjustment and vadjustment respectively.
So I create two user functions one for when window width is changed,
and the other for when window height is changed. Using
g_signal_connect I connect the scrolled window's hadjustment and
vadjustments respectively (to the user functions).
The behaviour seems a little odd though: if I only change width OR
height (NOT both) then BOTH adjustments emit the 'changed' signal.
Is this supposed to happen like this?
(gtk version 2.20)
Thanks,
James.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]