GtkSharp/glue/widget.c
Miguel de Icaza 7b5efe0866 2002-09-23 Miguel de Icaza <miguel@ximian.com>
* gtk/Style.custom: bind it.

	* gtk/Widget.custom: bind it.

	* glue/widget.c: Wrapper to fetch a GdkWindow from a widget.

	* glue/style.c: wrapper routines for getting/setting the thickness
	on a GtkStyle.

svn path=/trunk/gtk-sharp/; revision=7755
2002-09-24 03:21:37 +00:00

22 lines
377 B
C

/* 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;
}