GtkSharp/glue/button.c
Mike Kestner 7cf6671bce 2003-10-30 Ken Foster <kenfoster@tampabay.rr.com>
* glue/button.c: initial creating of glue file for GdkButton
	* glue/Makefile.am: added button.c to glue make
	* glue/makefile.win32: added button.c to win32 glue make
	* gtk/Button.custom: expose in_button GdkButton member

svn path=/trunk/gtk-sharp/; revision=19486
2003-10-30 18:19:59 +00:00

22 lines
415 B
C

/*
* button.c : Glue for utility functions for GtkButton
*/
#include <gtk/gtkbutton.h>
/* Forward declarations */
int gtksharp_button_get_in_button (GtkButton* button);
void gtksharp_button_set_in_button (GtkButton* button, int b);
int
gtksharp_button_get_in_button (GtkButton* button)
{
return button->in_button;
}
void
gtksharp_button_set_in_button (GtkButton* button, int b)
{
button->in_button = b;
}