[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Choosing a parent class



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]