[Gtk-sharp-list] Should I use Reflection in gtk-demo c-sharp demo ?

Daniel Kornhauser dkor@media.mit.edu
Fri, 26 Sep 2003 15:55:14 -0400

I'm porting the gtk-demo to c-sharp. 
Please type:
$ gtk-demo
in your terminal to see the application in C.

I'm almost finished doing the porting but main.c and there is a place
where you instance the list items in gtk-demo with a custom Demo struct.

struct _Demo 
  gchar *title;
  gchar *filename;
  GDoDemoFunc func;
  Demo *children;

it is in a long file called demos.h that has the pointers to the
functions to call and other info. It looks that it has meta information
you could access through reflection.

Should I mimic the structured programming in the C of demo ?
Or try to achieve this in a more c# way using Reflection ?
I could even do it plugin style like in Miguel's plugin doc ?

Any suggestion welcome.