[Gtk-sharp-list] TreeView trouble
George Farris
george@gmsys.com
21 Feb 2003 18:12:14 -0800
--=-ywgqAa0GSlyZ3OjbAQ3p
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
On Fri, 2003-02-21 at 15:46, Jorge De Gante wrote:
> Hi there
>
>
> I'm trying to make this program work, I enterrly based on gtk and
> gtksharp api documents, but a I think you guys can show how to do it
> right.
>
> this is the source
> ---------------------------------------------------
>
> using Gtk;
> using Gdk;
> using GLib;
Here is a small test program that uses glade. It also has an anjuta
project file. You can compile and run this. I'll post some TreeView
code here when I get a chance to dig it out. Gota run.
--
George Farris <george@gmsys.com>
--=-ywgqAa0GSlyZ3OjbAQ3p
Content-Disposition: attachment; filename=mono-test.tar.gz
Content-Type: application/x-gzip; name=mono-test.tar.gz
Content-Transfer-Encoding: base64
H4sIAK2MVT4AA+w9eX/btpL91/wUqOJfY+dZ1Ol440R+lWXaUStLWklumm2yCkRCEmuK5OPho8d+
9p0BeJu25NR28l7FNgkJzAwGg8HM4BCwsEyr6DHXK33zaE+5XC/v7e7Cv+Xy3st66t/g+QYSqru1
8stqFeAq1Vqt/A3ZfTyW4sd3PeoQ8s2MWc6M3Q63LP/f9FlE7X9Kz9lUNx6hiuVKufwy0+7J9t+t
VLD9Ky9rL8u1GrxXaqAN35Dyw7Ny8/mbt/9pa0gaZKG60kAZ9s4GLQW/Sw5zLd9R2b5cmhlUYyVU
EZm/7sSvgHOsDJSuQCo6ZGZaC1Z059Sx+ad3nvgw9EnyC/ATn1oAKcVMuI5aWlgOk1WX8I+Zr+N7
8OpZluGG3wuqm/AuSdQw9snimvPIrpgkxe/7ZHMroL4tbWxuQdW3ISmq9zYpWmTz+wQUzw1ruC1J
qsGouS9tFJ0FeYEk4e8JPScv/k+SvnRDfuYT93+qqpY51Wfy/KHLWNb/6/XdoP/XamADAL5eXff/
p3me+abGpkTpNg87yrjbGUpBytvmT8q41RydKKN0GiSMlJ9HqbROa3yqDIfNEyUNOxz1W/33adD2
4fA0T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