Re: [java-gnome-hackers] Update
Brought to you by:
afcowie
From: Mark H. <mh...@ca...> - 2003-12-26 17:12:47
|
> > native static final protected int gtk_binding_set_new(String setName); Looking at the gtk docs, this is most probably mapped to GtkBindingSet* gtk_binding_set_find (const gchar *set_name); So the int return value is a handle, or NULL. BindingSet is not documented. The most useful comment I've found is: "It isn't documented. There are two major examples to look at: GtkCList and my GtkTextView. It's quite straightforward, if you look at the examples." This leads me to think that this is probably something internal to gtk and so not something we should be wrapping. If I am wrong, then from looking at the api, it looks like something that would be used by very few people and would be difficult to translate to java; in which case, writing bindings for it may be questionable. It would be a good idea to look at what some of the other bindings have done with this class (but remembering that some other bindings try to just copy everything rather than make an api more suited to their language) -- .''`. Mark Howard : :' : `. `' http://www.tildemh.com `- mh...@de... | mh...@ti... | mh...@ca... |