[Gtk-sharp-list] A rudimentary proposal for supporting complex binding in TreeView

Chas chastamar@yahoo.com
Wed May 11 09:12:57 EDT 2005


--0-1282584470-1115799177=:68071
Content-Type: text/plain; charset=us-ascii

Thanks; I'm actually familiar with these.
 
A point worth making, though - one of the things you mention (no. 2) is a TreeModel which wraps a DataTable; IMHO this is conceptually incorrect as a bindable data table is represented by a DataView which as such implements the standard interfraces I was suggesting to rely on - IBindingList and ITypedList (of which, ITypedList is used also in sqkgtksharp AFAIK). Since these are generic interfaces relying on them is more correct & powerful.

Daniel Morgan <danielmorgan@verizon.net> wrote:
Here are some things that can help you implement data binding in a gtk# 
TreeView/ListStore
1. take a look at the work Duncan Mak did with NodeView/NodeStore. This 
has been part of GTk# for awhile.
2. take a look at the work Vladimir Vukicevic did with the managed tree 
model stuff. DataTreeModel I think.
3. take a look at sqlsharpgtk the svn - DataGrid.cs - this does not have 
true data binding, it is more like
data loading

There maybe other examples...

See how MonoDevelop or MonoQuery loads a TreeView/ListStore.

Chas wrote:

>Attached is an html file describing a rudimentary
>proposal for supporting complex binding in TreeView
>(binding to a list).
>
>Comments would be most welcome; especially as there
>are open questions and issues.
> 
>



__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
--0-1282584470-1115799177=:68071
Content-Type: text/html; charset=us-ascii

<DIV>
<DIV>Thanks; I'm actually familiar with these.</DIV>
<DIV>&nbsp;</DIV>
<DIV>A point worth making, though -&nbsp;one of the things you mention (no. 2)&nbsp;is a&nbsp;TreeModel which wraps a&nbsp;DataTable; IMHO this is conceptually incorrect as a bindable data table is represented by a DataView which as such implements the standard interfraces I was suggesting to rely on -&nbsp;IBindingList&nbsp;and ITypedList (of which, ITypedList is used also in sqkgtksharp AFAIK). Since these are generic interfaces relying on them is more correct &amp; powerful.</DIV>
<DIV><BR><B><I>Daniel Morgan &lt;danielmorgan@verizon.net&gt;</I></B> wrote:</DIV>
<BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">Here are some things that can help you implement data binding in a gtk# <BR>TreeView/ListStore<BR>1. take a look at the work Duncan Mak did with NodeView/NodeStore. This <BR>has been part of GTk# for awhile.<BR>2. take a look at the work Vladimir Vukicevic did with the managed tree <BR>model stuff. DataTreeModel I think.<BR>3. take a look at sqlsharpgtk the svn - DataGrid.cs - this does not have <BR>true data binding, it is more like<BR>data loading<BR><BR>There maybe other examples...<BR><BR>See how MonoDevelop or MonoQuery loads a TreeView/ListStore.<BR><BR>Chas wrote:<BR><BR>&gt;Attached is an html file describing a rudimentary<BR>&gt;proposal for supporting complex binding in TreeView<BR>&gt;(binding to a list).<BR>&gt;<BR>&gt;Comments would be most welcome; especially as there<BR>&gt;are open questions and issues.<BR>&gt;
 <BR>&gt;<BR><BR></BLOCKQUOTE></DIV><p>__________________________________________________<br>Do You Yahoo!?<br>Tired of spam?  Yahoo! Mail has the best spam protection around <br>http://mail.yahoo.com 
--0-1282584470-1115799177=:68071--



More information about the Gtk-sharp-list mailing list