Re: Gtk::HPaned size and divider
- From: Matthias Kaeppler <nospam digitalraid com>
- To: gtkmm-list gnome org
- Cc: Vladislav Grinchenko <3rdshift comcast net>
- Subject: Re: Gtk::HPaned size and divider
- Date: Thu, 14 Apr 2005 19:45:25 +0200
Vladislav Grinchenko wrote:
Matthias,
sorry for confusion - must have been very late at night
when I wrote it:
pane.signal_size_allocate ().connect (
mem_fun (*foobar, &FooBar::geom_changed_cb));
void FooBar::geom_change_cb (Gtk::Allocation& allocation_)
{
pane.set_position( allocation_.get_width() / 2 );
}
Hm, the programs hangs when doing that, I guess because the set_position
method itself triggers that signal and thus the program loops in this
signal handler.
--
Matthias Kaeppler
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]