[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> </DIV>
<DIV>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.</DIV>
<DIV><BR><B><I>Daniel Morgan <danielmorgan@verizon.net></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>>Attached is an html file describing a rudimentary<BR>>proposal for supporting complex binding in TreeView<BR>>(binding to a list).<BR>><BR>>Comments would be most welcome; especially as there<BR>>are open questions and issues.<BR>>
<BR>><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