[Gtk-sharp-list] How do i access my window object in a event?

Joeri Belis joeri.belis at nollekens.be
Mon Oct 10 10:33:00 EDT 2005


I have the following event

I know that object obj will be a window. How do i access the window
properties and methods through this obj object?

static void test1 (object obj, EventArgs args)
 {
// i tried

(Window)obj.some_method_in_window

// but got error about cast
}



More information about the Gtk-sharp-list mailing list