[lazarus] TNotebook error
Curtis White
osiriz at teleport.com
Fri Sep 24 00:10:46 EDT 1999
Very interesting. How were you able to determine this? When I got the error, it
kept giving me all kinds of strange GTK errors, but I don't remember any of
them saying anything about the parent being nil. Instead, I received errors like
the following:
Gtk-CRITICAL **: file gtkfixed.c: line 176 (gtk_fixed_move): assertion `widget
!= NULL' failed.
Gtk-CRITICAL **: file gtkwidget.c: line 3731 (gtk_widget_set_usize): assertion
`widget != NULL' failed.
Is this the same error messages you were getting? And if so, how were you able
to determine that it was complaining about the "parent" not being null? I see
it is complaining about "widget != NULL", but that doesn't tell me it is the
parent it is having a problem with. So how were you able to determine that?
I wish I could figure out GDB because it seems to be very helpful to people who
know it. But I can't seem to be able to figure out how to use it with FPC to
help me debug things. I just don't understand how to use it for some reason. It
just isn't clicking. Does anyone know of any good tutorials or anything to help
me figure out how to use GDB to debug my FPC code?
Curtis
On 22-Sep-99 Shane Miller wrote:
> Actually the
>
> gtk_notebook_insert_page(blah, blah, blah)
>
> was complaining that the
> widget->parent
> was NOT nil. The procedure evidiently calls gtk_widget_set_parent inside the
> gtk_notebook_insert_page. The gtk_widget_set_parent claims that the
> widget->parent was NOT nil and it should be so I set them to nil and I don't
> get the gtk error (in gtkobject.inc Procedure AddNBPage). However, I still
> don't see the notebook. I'm not sure what the issue is yet.
>
> I'll update CVS with what I did so far.
>
> Shane
>
>
>
>>>> "Shane Miller" <SMiller1 at stvgb.org> 09/22/99 02:25PM >>>
> Right now it looks like during the TNBPages.Insert, it sends a semdmessage3
> and in the LM_ADDPAGE, it is complaining that the parent widget = nil.
>
> I'm still looking into it though.
>
> Shane
>
>
> _________________________________________________________________
> To unsubscribe: mail lazarus-request at miraclec.com with
> "unsubscribe" as the Subject
> archives at http://www.miraclec.com/list_archives/lazarus
>
> _________________________________________________________________
> To unsubscribe: mail lazarus-request at miraclec.com with
> "unsubscribe" as the Subject
> archives at http://www.miraclec.com/list_archives/lazarus
----------------------------------
Curtis White
Curtis White <osiriz at teleport.com>
http://www.teleport.com/~osiriz/
----------------------------------
More information about the Lazarus
mailing list