/* widget.c : Glue to access fields in GtkWidget. * * Author: Rachel Hestilow * * 2002 Rachel Hestilow, Mike Kestner */ #include GdkRectangle* gtksharp_gtk_widget_get_allocation (GtkWidget *widget) { return &widget->allocation; } GdkWindow * gtksharp_gtk_widget_get_window (GtkWidget *widget) { return widget->window; }