Re: gobject inheritance for GtkWindow
- From: Claudio Saavedra <csaavedra alumnos utalca cl>
- To: Sergio Perticone <g4ll0ws gmail com>
- Cc: gtk-list gnome org
- Subject: Re: gobject inheritance for GtkWindow
- Date: Thu, 11 Oct 2007 09:19:15 -0400
El jue, 11-10-2007 a las 15:05 +0200, Sergio Perticone escribi� struct _MyWindow {
> GtkWidget* window;
> GtkWidget* button;
> };
Typically, you wouldn't want to use a pointer to the parent class in the
class definition. Something like
struct _MyWindow {
GtkWidget window;
GtkWidget* button;
};
should make it.
Claudio
--
Claudio Saavedra <csaavedra alumnos utalca cl>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]