Re: window size and hpaned
- From: "Marco Scholten" <mscholtn xs4all nl>
- To: <igorj pixelthorn com>
- Cc: gtkmm-list gnome org
- Subject: Re: window size and hpaned
- Date: Wed, 2 Feb 2005 10:04:27 +0100
Hello.
I'm trying to keep HPaned limitator position relative to main window
size.
So, I've connected the `signal_check_resize()` to main window with
the function that is called every time when main window resizing,
calculating `x` window size and setting HPaned limitator position.
But the `signal_check_resize()` is also emitted every time the HPaned
limitator is moved, and there is a dead-loop.
Is there a signal that will be emitted only when window changing its
size ?
Please help.
--
Igor Jovanovic <igorj pixelthorn com>
PixelThorn Studios
If you pack the child widgets with
m_HPaned.pack1(m_Widget1,true,true);
m_HPaned.pack2(m_Widget2,true,true);
Then both widgets will automagically increase/decrease in size relative to
the Hpaned size.
Downside to this is that when size gets to small then the widget may only be
partially visible, i don't know if that is acceptable in your case.
hope this helps,
Marco.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]