Re: Editable lists and trees
| From: | Christian Weiske | Date: | Tue, 20 Dec 2005 18:15:40 +0000 |
| Subject: | Re: Editable lists and trees | ||
| References: | 1 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-6455@lists.php.net to get a copy of this message | ||
Hello Lirm,
> Checking Christian's demos installed with gnope, I saw that in trees and lists
> (Demo list and StockItemBrowserDemo list), if I start typing, a small window
> appears with the typed characters, like I am editing the cell.
That is the search-as-you-type functionality of Gtk2 lists. That's
delivered automatically with each GtkTreeView and one has to do nothing
to support it. It's just meant as a way to search fast through a list or
tree, not to edit it.
> If this is the way to edit list cells (I noticed that even in toggle cells
> happens the same) allow me to say that this is not a convenient way for end
> users.
I've not looked at this yet, but I will do so.
> It is strange for many application-end-users that every window is a separate
> task, even a message dialog window. Many of them will be confused.
That's your setting: You may set the window type hint which is currently
not documented in the php-gtk2 docs, but there:
http://developer.gnome.org/doc/API/2.0/gdk/gdk-Windows.html#GdkWindowTypeHint
If you use set_type_hint on the window, you can tell that it is a child
or a tool window of the given parent (if the parent window is set!) and
no two entries in the task bar will appear.
> And finally a question, is there a way not to deploy readable code to clients
> pcs?
You have to use a bytecode compiler such as bcompiler - but IMO they
work on Windows only.
--
Regards/MfG,
Christian Weiske
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc