mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-25 16:15:39 +00:00
7b5efe0866
* 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
22 lines
377 B
C
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;
|
|
}
|
|
|