[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Choosing a parent class
- From: Andreas Kotowicz <kotoml mynetix de>
- To: "Brian J. Tarricone" <bjt23 cornell edu>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: Choosing a parent class
- Date: Wed, 12 Apr 2006 16:24:33 +0200
On Tue, 2006-04-11 at 14:04 -0700, Brian J. Tarricone wrote:
> Why are you creating 'main_box'? Your AppCalendar *is* the main box.
>
> > hbox = gtk_hbox_new(TRUE, DEF_PAD);
> > gtk_box_pack_start (GTK_BOX (main_box), hbox, TRUE, TRUE, 0);
> > gtk_widget_show (hbox);
>
> At this point, you'd just add hbox to your AppCalendar:
>
> gtk_box_pack_start(GTK_BOX(calendar), hbox, TRUE, TRUE, 0);
that's it! I didn't realize that my app actually *is* the hbox. now
things have lightened up.
cheers,
Andreas
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]