mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-25 17:55:35 +00:00
15 lines
367 B
Plaintext
15 lines
367 B
Plaintext
|
|
||
|
[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);
|
||
|
}
|
||
|
}
|