mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-26 11:35:31 +00:00
e83c55a242
* */Makefile.am : automakify the build * */Makefile.in : kill * *.custom : remove System.Drawing dependencies * *.cs : remove System.Drawing dependencies * *-api.xml : mv to *-api.raw * glue/* : mv to lib specific gluelibs for glib, gdk, gtk, and glade. * gtk/gtk-symbols : alias GtkType to GType * sources/gtk-sharp-sources.xml : create .raw files. They are now transformed to .xml files by the metadata compilation step. svn path=/trunk/gtk-sharp/; revision=23967
33 lines
691 B
C
33 lines
691 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>
|
|
|
|
/* Forward declarations */
|
|
GdkRectangle *gtksharp_gtk_widget_get_allocation (GtkWidget *widget);
|
|
GdkWindow *gtksharp_gtk_widget_get_window (GtkWidget *widget);
|
|
int gtksharp_gtk_widget_get_state (GtkWidget *widget);
|
|
/* */
|
|
|
|
GdkRectangle*
|
|
gtksharp_gtk_widget_get_allocation (GtkWidget *widget)
|
|
{
|
|
return &widget->allocation;
|
|
}
|
|
|
|
GdkWindow *
|
|
gtksharp_gtk_widget_get_window (GtkWidget *widget)
|
|
{
|
|
return widget->window;
|
|
}
|
|
|
|
int
|
|
gtksharp_gtk_widget_get_state (GtkWidget *widget)
|
|
{
|
|
return GTK_WIDGET_STATE (widget);
|
|
}
|