Re: PHP-GTK resources: deafcat
| From: | Steph | Date: | Mon, 25 Mar 2002 14:33:29 +0000 |
| Subject: | Re: PHP-GTK resources: deafcat | ||
| References: | 1 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-1636@lists.php.net to get a copy of this message | ||
1, focus_row is a GtkCList property, and until the docs for GtkCList are complete you'll only
find those in the PHP-GTK source (ext/gtk+/gtk.defs, search from the top on 'clist' and
you'll find that the object specs are the first items given, each 'field' in there is
an accessible property using the syntax ' $clist->focus_row; ') Properties are also
given in the GTK docs, but there's no way of telling from there which are or which are not
exposed in PHP-GTK.
2, get_pixtext() is a GtkCList method which *should* be automatically generated into the manual and
I don't understand why it's not, thanks for that! It's been overridden to only need
2 params, row and column. GtkCTree inherits GtkCList methods. GtkCTree's node_get_pixtext()
takes different arguments & was less straightforward to use IMO.
3, that's very odd. Could you try replacing the numbers with the string 'yellow'
(in line 26) & let me know if that helps any please? - it should highlight the class names. The
other possibility is that &new GdkColor might be happier being new GdkColor without the &.
Dunno, suck it and see ;-)
----- Original Message -----
From: "Daniel García" <dani@buitre.pronym.org>
To: <php-gtk-general@lists.php.net>
Sent: Saturday, March 23, 2002 4:53 PM
Subject: Re: [PHP-GTK] PHP-GTK resources: deafcat
>
> Nice 'lightweight' script !
>
> Just as interesting as the results was the script itself, excellent for a newbie like myself to
> learn a few tricks (I just can't wait to see the application database in gtk.php.net with more
> 'instructive' code).
>
> Btw, I could not find some methods and object parameters in the bigmanual (downloaded on March
> 10th):
>
> focus_row ................... in $row = $ctree->clist->focus_row;
> get_pixtext.................. in $class = $ctree->get_pixtext($row, 0); (but
> node_get_pixtext...... deprecated ?)
>
> Fyi, in win2k I could see no "yellow" in the class methods window.
>
> Thanks for the help..............
>
> -- Daniel Garcia (8-)
>
>
>
> On Thu, 21 Mar 2002 21:37:25 -0000, Steph wrote:
>
> >I'm afraid it's gone, m8. f2s were threatening to remove their free sites in
> >January, but actually didn't for some time after. No idea when Sergio's mirror went
> >offline.
> >
> >If you're desperate, I still have it on my hard drive. But honestly, there is more
> >info in the manual now than there was on deafcat :)
> >
> >Attached is a lightweight script you may find useful to have around, this probably
> >won't make it to the list cos my attachments never do (strangely). It gives the GTK hierarchy
> >(I've put that part under the GtkCTree
> constructor in the manual) and clicking on a class pops up a window listing all the methods
> available to that class. Less complete than the deafcat setup, but hey .. !
> >
> >----- Original Message -----
> >From: "Daniel García" <dani@buitre.pronym.org>
> >To: <php-gtk-general@lists.php.net>
> >Sent: Thursday, March 21, 2002 12:45 PM
> >Subject: [PHP-GTK] PHP-GTK resources: deafcat
> >
> >
> >> Hi,
> >>
> >> Anybody knows if the deafcat site is still running, maybe on a different URL ?
> >>
> >> I have these URLs:
> >> http://www.deafcat.f2s.com/
> >> http://sitework.pt/deafcat/
> >>
> >> , which have been down for quite a while
> >>
> >> -- Daniel Garcia (8-)
> >>
> >>
> >>
> >>
> >> --
> >> PHP-GTK General Mailing List (http://gtk.php.net/)
> >> To unsubscribe, visit: http://www.php.net/unsub.php
> >>
> >
>
>
>
>
>
>
>
> --
> PHP-GTK General Mailing List (http://gtk.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>