Re: [gtkmm] why is Gtk::Widget::set_parent protected ?
- From: murrayc t-online de (Murray Cumming)
- To: Detlef Reichl <detlef reichl arcor de>
- Cc: GTK-- <gtkmm-list gnome org>
- Subject: Re: [gtkmm] why is Gtk::Widget::set_parent protected ?
- Date: 08 Mar 2003 12:17:33 +0100
On Sun, 2003-03-02 at 22:26, Detlef Reichl wrote:
> hi,
>
> please ignore if this is stupide caus i'm new to gtk--...
>
> i want to make a new container class that simply holds some buttons. for
> this i need the Gtk::Widget::set_parent methode. but, caus my new class
> is not a subclass of the buttons the set_parent methode is unreacheble
> for me.
Why not just use add() or pack_start() or attach(), depending on the
base class of your container class?
--
Murray Cumming
murray usa net
www.murrayc.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]