Re: Re: Making sense of GTK+ API (Was: [PHP-GTK] Gtk::pack_start - Parameters)
| From: | Steph | Date: | Tue, 26 Feb 2002 23:49:44 +0000 |
| Subject: | Re: Re: Making sense of GTK+ API (Was: [PHP-GTK] Gtk::pack_start - Parameters) | ||
| References: | 1 2 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-1356@lists.php.net to get a copy of this message | ||
Yes, please do talk to the GTK tutorial people ... I know they'll okay it because they have
done so for other language bindings recently (and before).
Also our hello.php is actually converted from the GTK tutorial example anyway, so it would make more
sense to use that text than it currently does (sorry J) .. the 'delete-event', for
instance, was only set up with a callback in order to demonstrate other uses of the return, and this
isn't obvious in our documentation currently.
----- Original Message -----
From: "Alan Knowles" <alan@akbkhome.com>
To: "Rich Payne" <rdp@talisman.mv.com>
Cc: <php-gtk-general@lists.php.net>
Sent: Tuesday, February 26, 2002 11:34 PM
Subject: Re: [PHP-GTK] Re: Making sense of GTK+ API (Was: [PHP-GTK] Gtk::pack_start - Parameters)
> Rich Payne wrote:
>
> >On Wed, 27 Feb 2002, Alan Knowles wrote:
> >
> >>anyway, it may be a good idea for somebody (sorry not me) to go through
> >>the tutorial document at www.gtk.org, and port that across - it would
> >>also be nice to have screen shots...... :) - if anymore documenation
> >>volunteers stick their hands up...... - it's probably easier than the
> >>class/method/callback etc. documentation...
> >>
> >
> >That's an interesting idea....presumably we would need to OK of the GTK
> >tutorial writter(s) first? However I wonder if converting the existing doc
> >would be just as much work as starting a new php-gtk tutorial...possibly
> >taking ideas from the GTK one.
> >
> >
> >>I'm a bit tied up playing with a version of gtkhtml written entirely in
> >>php at present - theoretically the base for a UML/XML/HTML editor.... -
> >>that is cross platform..!
> >>
> >
> >Care to tell us anymore (something along the lines off don't worry about
> >using GtkHTML in Teak as I'm writting a much better version in PHP?)?
> >
> I got teak to start up, but I think my php-imap is fried - it fails to
> connect, and hangs totally trying to use
>
> from what I now know about GtkHTML,
> pros,
> - It works for simple editing,
> - it is a pretty good browser.
> cons
> - It will probably never work on windows...
> - It's crap a being a complex editor - it strips html, on parsing - this
> problem is at the C code design level...
>
>
> the stuff I'm writing is in phpmole/tests/pgtkhtml -will probably be
> api compatible.. - even if it's just a wrapper.
> it's not that far along, I've prototyped
> 1. putting text on the screen at x/y locations (a little flakey)
> 2. a cursor eg. the flashy '|'
> 3. highlighting text (a little flakey)
> 4. adding/deleting text to stuff on the screen.
> 5. simple line wrapping on intial parsing (not on editing yet)
> 6. using the existing html parser in phpmole - it can read a html page,
> and render the _only_ the text to the screen
> 7. can work out bold, and foreground and background colours.
> (not bad for a days work - considering gtkhtml took them nearly 2 years
> :) - php+gtk is an amazing combination...
>
> It's alot of fun - most of the hard work of understanding the gdk
> drawing api is now done, its now a matter of getting the mathematics of
> the bounding boxes for tables, and paragraphs working, and fixing some
> of the maths of the font rendering/string width calculations..
> even at this stage though, it's supprisingly fast.
>
> regards
> alan
>
> >
> >
> >--rdp
> >
> >
>
>
>
>
> --
> PHP-GTK General Mailing List (http://gtk.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>