[Bug 1055744] Re: can't remove a widget correctly from a Gtk::ScrolledWindow

2012-10-07 Thread Jonas Platte
Thanks! :)
I wondered why the remove function doesn't work, if it's just the function from 
Gtk::Bin and no additional function from the ScrolledWindow class. This is the 
solution!

Now that opens up a simple way to work around this, but I think this
still is a misbehaviour and should be fixed. I already opened a thread
in the gtkmm mailing list: https://mail.gnome.org/archives/gtkmm-
list/2012-October/msg2.html so I'll ask there again.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1055744

Title:
  can't remove a widget correctly from a Gtk::ScrolledWindow

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gtkmm3.0/+bug/1055744/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1055744] Re: can't remove a widget correctly from a Gtk::ScrolledWindow

2012-10-05 Thread hermann meyer
This happen because you remove the viewport instead the button in your example 
code. 
when you call
main_area.add(button_test);
you add a Gtk::Viewport to the scrolled window, the button is then a child of 
the viewport.
So after the call to 
main_area.remove();
you remove the viewport and the button is still a child of the viewport.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1055744

Title:
  can't remove a widget correctly from a Gtk::ScrolledWindow

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gtkmm3.0/+bug/1055744/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1055744] Re: can't remove a widget correctly from a Gtk::ScrolledWindow

2012-09-24 Thread Jonas Platte
** Attachment added: main.cc
   https://bugs.launchpad.net/bugs/1055744/+attachment/3339066/+files/main.cc

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1055744

Title:
  can't remove a widget correctly from a Gtk::ScrolledWindow

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gtkmm3.0/+bug/1055744/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs