[Gtk-sharp-list] GtkButton glue
Ken Foster
kenfoster@tampabay.rr.com
Fri, 12 Sep 2003 06:35:01 -0400
This is a multi-part message in MIME format.
--------------000102040308040807050302
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Sorry. Forgot to attach the gtk/Button.custom file.
As for a ChangeLog, are they usually provided as a diff? I've pasted the
entry below.
2003-09-12 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
--------------000102040308040807050302
Content-Type: text/plain;
name="Button.custom"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="Button.custom"
[DllImport("gtksharpglue")]
static extern int gtksharp_button_get_in_button (IntPtr button);
[DllImport("gtksharpglue")]
static extern void gtksharp_button_set_in_button (IntPtr button, int b);
public bool InButton {
get {
return gtksharp_button_get_in_button (Handle) == 1 ? true : false;
}
set {
gtksharp_button_set_in_button (Handle, value ? 1 : 0);
}
}
--------------000102040308040807050302--