Thread: RE: [java-gnome-hackers] RE: [Java-gnome-checkins] CVS: java-gnom e/gtk/src/java/org/gnu/gt k TreeS
Brought to you by:
afcowie
From: Jeffrey M. <Jef...@Br...> - 2004-02-26 17:57:34
|
Mark, I have updated many of the tree classes over the past few days. Can you please take a look and prioritize the remaining tree items? -Jeff > Thanks > > > Thanks Jeff, this is brilliant! You are doing an amazing job! > > > > On Wed, Feb 25, 2004 at 01:40:35PM -0800, Jeffrey S. Morgan wrote: > > > public TreePath[] getSelectedRows(){ > > > ! int[] hndls = > > gtk_tree_selection_get_selected_rows(handle); > > > ! if (null == hndls) > > > ! return null; > > > ! TreePath[] paths = new TreePath[hndls.length]; > > > ! for (int i = 0; i < hndls.length; i++) { > > > ! paths[i] = new TreePath(hndls[i]); > > > ! } > > > ! return paths; > > > } > > > > -- > > .''`. Mark Howard > > : :' : > > `. `' http://www.tildemh.com > > `- mh...@de... | mh...@ti... | mh...@ca... > > > > NOTE: THIS IS A CONFIDENTIAL COMMUNICATION. This > transmission is intended > only for the use of the individuals or entity to which it is > addressed. If > you are not the intended recipient, or the person responsible > for delivering > the message to the intended recipient, please return or delete it > immediately. Although this e-mail and any attachments are > believed to be > free of any virus or other defect, it is the responsibility > of the recipient > to ensure that it is virus free and no responsibility is > accepted by us for > any loss or damage arising in any way from its unauthorized > modification or > use. > > > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click > _______________________________________________ > java-gnome-hackers mailing list > jav...@li... > https://lists.sourceforge.net/lists/listinfo/java-gnome-hackers > NOTE: THIS IS A CONFIDENTIAL COMMUNICATION. This transmission is intended only for the use of the individuals or entity to which it is addressed. If you are not the intended recipient, or the person responsible for delivering the message to the intended recipient, please return or delete it immediately. Although this e-mail and any attachments are believed to be free of any virus or other defect, it is the responsibility of the recipient to ensure that it is virus free and no responsibility is accepted by us for any loss or damage arising in any way from its unauthorized modification or use. |
From: 'Mark H. <mh...@ca...> - 2004-02-28 10:44:38
|
On Thu, Feb 26, 2004 at 12:47:40PM -0500, Jeffrey Morgan wrote: > I have updated many of the tree classes over the past few days. Can > you please take a look and prioritize the remaining tree items? You have been doing an excellent job Jeff - thanks. Is the current release status to release on Monday? Hasn't there been changes in gtk API in the last couple of days? Looking through the todo... (I've deleted a few items already completed) Most important items at the top of this list CellEditable * implemented by GtkEntry and GtkSpinButton. - The class is done but Entry and SpinButton don't implement it, so it's effectively useless. It's a case of the usual gtk multiple inheritance, so I'm not sure how it's best handled. * GtkSelectionData enhancements are almost certainly needed for treeDrag* - This would be really useful. I can't find docs for it though, just references to it in the treeDrag* classes TreeIter * - add ref to treeModel * - include many methods from treemodel What do you think to these changes? IMHO, they would make the treeIter API nicer - iter.moveNext() rather than model.moveIterNext( iter ); * Make pixmap creation functions take a GdkDrawable not a GdkWindow - This is a bug. I think the other items will probably have to wait for 2.7 (but anything we can get done will be a bonus). -- .''`. Mark Howard : :' : `. `' http://www.tildemh.com `- mh...@de... | mh...@ti... | mh...@ca... |
From: Jeffrey M. <ku...@zo...> - 2004-02-28 13:44:14
|
On Sat, 2004-02-28 at 05:33, 'Mark Howard' wrote: > On Thu, Feb 26, 2004 at 12:47:40PM -0500, Jeffrey Morgan wrote: > > I have updated many of the tree classes over the past few days. Can > > you please take a look and prioritize the remaining tree items? > > You have been doing an excellent job Jeff - thanks. > > Is the current release status to release on Monday? Hasn't there been > changes in gtk API in the last couple of days? There have been several changes to the gtk API since the 2.3.4 release. I sent an email to the language-bindings list asking what we should do. > > Looking through the todo... (I've deleted a few items already completed) > Most important items at the top of this list > > CellEditable > * implemented by GtkEntry and GtkSpinButton. > - The class is done but Entry and SpinButton don't implement it, so > it's effectively useless. It's a case of the usual gtk multiple > inheritance, so I'm not sure how it's best handled. > > * GtkSelectionData enhancements are almost certainly needed for treeDrag* > - This would be really useful. I can't find docs for it though, just > references to it in the treeDrag* classes I should be able to get to this today. This will be necessary for all drag-and-drop. > > TreeIter > * - add ref to treeModel > * - include many methods from treemodel > What do you think to these changes? IMHO, they would make the treeIter > API nicer - iter.moveNext() rather than model.moveIterNext( iter ); Good idea. Let me see what I can come up with. > > * Make pixmap creation functions take a GdkDrawable not a GdkWindow > - This is a bug. Which classes are you talking about. I should also be able to get to this today. > > I think the other items will probably have to wait for 2.7 (but anything > we can get done will be a bonus). -Jeff |
From: Mark H. <mh...@ca...> - 2004-02-28 13:50:30
|
On Sat, Feb 28, 2004 at 08:16:00AM -0500, Jeffrey Morgan wrote: > > * Make pixmap creation functions take a GdkDrawable not a GdkWindow > > - This is a bug. > > Which classes are you talking about. I should also be able to get to > this today. gdk.Pixmap seems to be one place where it's needed. (The above line was copied from the gtk NEWS file) -- .''`. Mark Howard : :' : `. `' http://www.tildemh.com `- mh...@de... | mh...@ti... | mh...@ca... |
From: 'Mark H. <mh...@ca...> - 2004-02-28 13:47:46
Attachments:
diff
|
On Sat, Feb 28, 2004 at 10:33:44AM +0000, 'Mark Howard' wrote: > TreeIter > * - add ref to treeModel > * - include many methods from treemodel > What do you think to these changes? IMHO, they would make the treeIter > API nicer - iter.getNext() rather than model.getIterNext( iter ); Patch attached. Please let me know what you think - should I commit it? -- .''`. Mark Howard : :' : `. `' http://www.tildemh.com `- mh...@de... | mh...@ti... | mh...@ca... |
From: Jeffrey M. <ku...@zo...> - 2004-02-28 14:41:39
|
This does seem to make the API quite simpler. Please go ahead and commit. We should update all of the examples and perform some testing prior to the beta release. On Sat, 2004-02-28 at 08:36, 'Mark Howard' wrote: > On Sat, Feb 28, 2004 at 10:33:44AM +0000, 'Mark Howard' wrote: > > TreeIter > > * - add ref to treeModel > > * - include many methods from treemodel > > What do you think to these changes? IMHO, they would make the treeIter > > API nicer - iter.getNext() rather than model.getIterNext( iter ); > > Patch attached. Please let me know what you think - should I commit it? |
From: Jeffrey M. <ku...@zo...> - 2004-02-28 16:17:02
|
Please make sure you also update ComboBox and EntryCompletion. They were broken with this patch. -Jeff On Sat, 2004-02-28 at 09:13, Jeffrey Morgan wrote: > This does seem to make the API quite simpler. Please > go ahead and commit. We should update all of the > examples and perform some testing prior to the beta > release. > > > On Sat, 2004-02-28 at 08:36, 'Mark Howard' wrote: > > On Sat, Feb 28, 2004 at 10:33:44AM +0000, 'Mark Howard' wrote: > > > TreeIter > > > * - add ref to treeModel > > > * - include many methods from treemodel > > > What do you think to these changes? IMHO, they would make the treeIter > > > API nicer - iter.getNext() rather than model.getIterNext( iter ); > > > > Patch attached. Please let me know what you think - should I commit it? > > > > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click > _______________________________________________ > java-gnome-hackers mailing list > jav...@li... > https://lists.sourceforge.net/lists/listinfo/java-gnome-hackers > |
From: Mark H. <mh...@ca...> - 2004-02-28 17:42:03
|
On Sat, Feb 28, 2004 at 10:48:41AM -0500, Jeffrey Morgan wrote: > Please make sure you also update ComboBox and > EntryCompletion. They were broken with this patch. Sorry about that. Was the cvs commit I just saw from you fixing this? -- .''`. Mark Howard : :' : `. `' http://www.tildemh.com `- mh...@de... | mh...@ti... | mh...@ca... |
From: Jeffrey M. <ku...@zo...> - 2004-02-28 18:00:05
|
Yes. On Sat, 2004-02-28 at 12:31, Mark Howard wrote: > On Sat, Feb 28, 2004 at 10:48:41AM -0500, Jeffrey Morgan wrote: > > Please make sure you also update ComboBox and > > EntryCompletion. They were broken with this patch. > > Sorry about that. Was the cvs commit I just saw from you fixing this? |