Re: GtkInvisible - a subclass of GtkWidget or GtkBin?
- From: Owen Taylor <otaylor redhat com>
- To: gtk-devel-list redhat com
- Subject: Re: GtkInvisible - a subclass of GtkWidget or GtkBin?
- Date: 18 Mar 1999 10:44:27 -0500
Damon Chaplin <damon@karuna.freeserve.co.uk> writes:
> The GtkInvisible widget has GtkBin at the start of its struct, yet uses
> GTK_WIDGET_TYPE when creating its type:
>
> invisible_type = gtk_type_unique (GTK_TYPE_WIDGET, &invisible_info);
>
>
> Is it meant to be a subclass of GtkWidget or GtkBin?
GtkWidget. I copied some code from GtkWindow, so that's
probably where the mistake came from. (It's pretty harmless,
since GtkBin only adds 4 bytes)
Owen
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]