Re: PHP - Glib causing it to crash!?
| From: | Steph | Date: | Wed, 28 Nov 2001 01:21:45 +0000 |
| Subject: | Re: PHP - Glib causing it to crash!? | ||
| References: | 1 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-719@lists.php.net to get a copy of this message | ||
- I'm wondering from that story whether it's a case of somehow having created the objects
in the wrong order?
I'm not a Glade expert. I'm certain there are many people reading this who know more
about what occurred there than I do :)
----- Original Message -----
From: "root" <root@physicianquest.com>
To: "Steph" <steph.fox@btinternet.com>
Cc: <php-gtk-general@lists.php.net>
Sent: Wednesday, November 28, 2001 1:18 AM
Subject: Re: [PHP-GTK] PHP - Glib causing it to crash!?
> Actually im using glade and grabbing and using objects (like menuitems) as
> so:
>
> $menuitem = $gladefile->get_widget('menuitem1');
> $menuitem->connect('activate', 'function-call', *args*);
>
> But the funny thing is ... i freaking dropped the menubar, re-created it and the menu
> items... and walla ... behold a prefect working menu... Very strange... i
> was getting seg' faults earlier but its smooth now... I dont usually call
> class->array type deals, is there a reason I should or is it fine what Im
> doing right now?
>
> TIA
>
> Hey Steph... sorry my code attach. didnt go
> through... somethings up with my mail client... its also sending all my
> e-mails with HTML mime-type, so I cant directly send you guys a mesg
> unless its from root in the shell on my box....
>
> Strange days I tell ya...
>