Smart Code

If you are enrolled on a Gtk# project perhaps you are interested on this. Surely, you read some time ago on Planet Gnome, how Emmanuele Bassi solved the problem of not blocking the user interface while loading data into a TreeView using gtk+. This piece of code was so smart I decide to port to Gtk#. Now you can keep listening to events while your Treeview is loaded in the background silently.

I don't smoke threads, thank you.

Details and example code with a nice Gtk.ProgressBar at my new project Wiki, here.

Don't bother me if the code could be better… I know it , just make a nice patch.

update: E.Bassi added my code to his initial post! :-).

About these ads

Deja un comentario

Introduce tus datos o haz clic en un icono para iniciar sesión:

Logo de WordPress.com

Estás comentando usando tu cuenta de WordPress.com. Cerrar sesión / Cambiar )

Imagen de Twitter

Estás comentando usando tu cuenta de Twitter. Cerrar sesión / Cambiar )

Foto de Facebook

Estás comentando usando tu cuenta de Facebook. Cerrar sesión / Cambiar )

Google+ photo

Estás comentando usando tu cuenta de Google+. Cerrar sesión / Cambiar )

Conectando a %s