[lazarus] TNotebook error
Shane Miller
smiller at lakefield.net
Sat Sep 25 12:56:00 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?
>
Those are NOT the errors I was getting. I was actually getting the error
Gtk-CRITICAL **: file gtksomething.c: line ??? (gtk_parent_set): assertion
`widget == NULL' failed.
>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?
>
I don't use gdb either because I never looked at it to see if it was easy or
not. I just don't know how to use it either.
------------------------------------------------------------
Shane Miller
Get paid to surf the net!
http://alladvantage.com/go.asp?refid=DEX-870
Home page : http://www.lakefield.net/~smiller
Auto-IP Publisher : http://www.lakefield.net/~smiller/autoip
Advanced Clipboard : http://www.lakefield.net/~smiller/advclipboard
Lazarus : http://www.miraclec.com/lazarus
----------------------------------------------------------
-----Original Message-----
From: Curtis White <osiriz at teleport.com>
To: lazarus at miraclec.com <lazarus at miraclec.com>
Date: Thursday, September 23, 1999 9:44 PM
Subject: Re: [lazarus] TNotebook error
>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/
>----------------------------------
>
>_________________________________________________________________
> To unsubscribe: mail lazarus-request at miraclec.com with
> "unsubscribe" as the Subject
> archives at http://www.miraclec.com/list_archives/lazarus
>
More information about the Lazarus
mailing list