Re: [gtk-list] Re: er...subclassing related question
- From: "Jason A. Pfeil" <pfeil nu cs fsu edu>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] Re: er...subclassing related question
- Date: Tue, 21 Jul 1998 21:20:28 -0400 (EDT)
ARRRRRGH! Thank you VERY much!!! I simply overlooked one last change I
had made from before...I had called gtk_container_get_type instead of
getk_button_get_type for the parent get_type. It's on its way to working
now. Thanks again!
--Jason
On Tue, 21 Jul 1998, Havoc Pennington wrote:
>
> On Tue, 21 Jul 1998, Jason A. Pfeil wrote:
> >
> > I see nowhere in GtkToggleButton's code that excuses it from having
> > gtk_container_add_unimplemented called for it, but for some reason I am
> > blessed (cursed?) with that situation. Can anyone offer any ideas for
> > help, or point me to a better example for subclassing?
> >
>
> It looks kind of like you aren't doing the things in class_init. Look at a
> class_init to see what you need to do. Also make sure you're doing
> get_type correctly. Another possibility is that you have the wrong base
> class somewhere. Make sure you have it right in the object and class
> structs, and in the call to base_class_get_type() in get_type.
>
> If you don't see the problem you'll probably need to make the code
> available for people to look at.
>
> Havoc Pennington
>
> --
> To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null
>
>
-------------------------------------------------------------------------------
Jason A. Pfeil, Computer Science Graduate Student 101 Carothers Hall
http://www.cs.fsu.edu/~pfeil C3527 University Center
pfeil@cs.fsu.edu (850)644-8014
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]