GtkSharp/glue/widget.c

22 lines
377 B
C
Raw Normal View History

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