Re: GtkImageMenuItem:: forall includes the internal GtkImage Widget?
- From: "BJörn Lindqvist" <bjourne gmail com>
- To: "Yu Feng" <rainwoodman gmail com>
- Cc: gtk-devel-list gnome org
- Subject: Re: GtkImageMenuItem:: forall includes the internal GtkImage Widget?
- Date: Sat, 24 May 2008 15:51:02 +0000
On Fri, May 23, 2008 at 11:24 PM, Yu Feng <rainwoodman gmail com> wrote:
> Hi everyone,
>
> Isn't the GtkImage in a GtkImageMenuItem an internal widget?
No, GtkImageMenuItem is a GtkContainer and the image widget is set
explicitly as its child, so it is not internal. gtk_container_forall
says ""internal" (implementation details of the container). "Internal"
children generally weren't added by the user of the container, but
were added by the container implementation itself."
I agree that it is a little strange that GtkImageMenuItem is a GtkBin,
logically it has two children.
--
mvh Björn
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]