Re: Gtk::Frame and remove function
- From: Bernd Robertz <bernd robertz cssweb de>
- To: gtkmm-list gnome org
- Subject: Re: Gtk::Frame and remove function
- Date: Mon, 17 Sep 2007 11:19:40 +0200
Hello,
you don't need a remove-function. Because you can use the member hide, to hide
the Gtk::Frame, or override the frame with new content again with the member add.
Gtk::Frame is just a single container class wich there is no really need to remove contents.
(Or just I never need it :-)) )
If you specially need to remove it, put it into a pointer like Glib::RefPtr or the STL traditional
way.
Hope it helps.
Cheers
Bernd
Am Montag, 17. September 2007 schrieb Iker Perez de Albeniz:
> Hi,
>
> I was reading the gtkmm API lookin for the Gtk::Frame public member
> functions...
>
> http://www.gtkmm.org/docs/gtkmm-2.4/docs/reference/html/classGtk_1_1Frame.html
>
> as it apears on the graph.. Gtk::Frame have the container function
> "add".. so i suposed that it will have the function "remove" (as a
> gtl::Containet).. but when i try to build apear this error..
>
> "imposible to find Gtk::Frame::remove function"
>
> is there any function to remove elements from a gtk::Frame??
>
> thanks!
>
> _______________________________________________
> gtkmm-list mailing list
> gtkmm-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtkmm-list
>
>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]