Re: Key bindings and clist?

From: Date: Thu, 05 Jun 2003 22:53:15 +0000
Subject: Re: Key bindings and clist?
References: 1 2 3 4  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-3522@lists.php.net to get a copy of this message
> Steph, > > As always, I appreciate your words of wisdom. > > On Wednesday 04 June 2003 09:56 pm, you wrote: > > If you _do_ need to rewrite them, isn't set_focus_row more likely to be > > useful to you? > > Fatal error: Call to undefined function: set_focus_row() in > C:\PROGRA~1\CWORKS\mainassign.php on line 772 Hrm, I really am pushed for time and it's causing me to give silly answers :-\ toggle_focus_row (not set_focus_row()) is a signal in GtkCList. gtk_binding_entry_add_signal (binding_set, GDK_space, 0, "toggle_focus_row", 0); I don't know whether it's usable or not outside that key binding, as I said earlier. The method doesn't appear to be public, at first glance (and I do mean glance). > > I did the search you mentioned for "_focus" > http://gtk.php.net/manual-lookup.php?function=_focus > and this function wasn't in there. I found the function call elsewhere via > google, and when I got the above result, I stopped. Would this function be > hard to put into the nightly CVS so that I can get a new build tomorrow from > Frank's site? Yes :) especially if it's private :) > > And also, could you explain what you meant by 'mostly working search > > engine'? D'you mean because I haven't got free text searches running > > yet, or because it doesn't find things that don't exist in the manual? > > or did you mean something I can actually fix? (Quick while I'm still on > > structural work) > > I wasn't trying to knock it, (honest!) it was an off-hand comment based on > your previous complaints. I use it alot. I wasn't worried, I just want to know what you'd change really ... > If I were to change anything, it'd be: > > a) Enter in a search term > b) If there's a function, method, or signal that matches, display that first. > If there's more than one match, display a prompt to select one. I thought it did this already? > c) If (!b) then do the email list search as is done now. Hm, how'd you mean? Automatically going into a list search could be ultra-annoying if you realise you just spelled it wrong or something .. > Obviously, I don't know how the underpinnings of the search engine work, so > this may be a significant effort. > > I'm only just now getting familiar with the XML files in what I laughingly > call "spare time" in the hopes of contributing to something I'd really like > to see move forward. Nightmare, heh? > Is this XML the same format as used by the main php.net site? Why is php-gtk > not using the same search codebase used there? The PHP doc group are some way behind us in adopting xsltproc, they've only just converted across. I didn't see a point in adding tons of complex software to our search engine when a simple PHP script will do the job. We don't have the same issues as the PHP doc team (or rarely) so neither James nor I have looked to their ways of producing the manual - we've basically come up with one that's all our own. In some ways we're ahead of them (eg we already have an offline searchable version in the build system if not yet for downloads), in other ways behind (do we really need CHM before we have 100% manual content?) We're all meeting up in Germany next month to discuss ways forward, it's likely to be an all-day meeting and irc attendees are likely to be welcomed, more info as I get it. > -Ben - Steph

« previous php.gtk.general (#3522) next »