Re: hye szg
- From: Peter Krueger <pkrueger appss de>
- To: gxw <szg309 sina com>
- Cc: vivek r patel <vivek_vrp2000 rediffmail com>, gtk-app-devel <gtk-app-devel-list gnome org>
- Subject: Re: hye szg
- Date: Wed, 11 Feb 2004 18:10:45 +0100 (MET)
On Wed, 11 Feb 2004, gxw wrote:
because GTK_CONTAINER is GTK_WINDOW's parent class,so a window is a
container,a container has only a child,you can't add a text_pane and a
button to a window.
Hi!
The correct explanation why you can only put one child into a window is
because it inherits from GtkBin (which itself inherits from GtkContainer).
A GtkContainer in general can have more than one child, but all widgets
that inherit from GtkBin are limited to one child.
Regards...Peter
--
====================================================================
Peter Krüger
applied software solutions (appss) GmbH
Sandtorstr. 23
D-39106 Magdeburg
Germany
Phone: +49-(0)391-54486-19388
Fax: +49-(0)391-54486-19222
email: krueger appss de
URL: http://www.appss.de
Managing Director: Uwe Hess, Dietmar Schäfer
Register: HRB12386, AG Mageburg
"Virtual business becomes reality!"
This e-mail may contain confidential and/or privileged information. If
you are not the intended recipient (or have received this e-mail in
error) please notify the sender immediately and destroy this e-mail. Any
unauthorised copying, disclosure or distribution of the material in this
e-mail is strictly forbidden.
====================================================================
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]