[Gtk-sharp-list] GtkButton glue
Ken Foster
kenfoster@tampabay.rr.com
Thu, 11 Sep 2003 15:33:43 -0400
This is a multi-part message in MIME format.
--------------050105010601010905000507
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Attached is a new glue file and diff for the make's to expose the
GdkButton struct in_button memeber. If possible could someone review the
change and commit it?
The exposue of the struct member allows custom widget designers to
change the mouse over state of the button after the input is grabbed
away from it. An example is a custom combo control.
--------------050105010601010905000507
Content-Type: text/plain;
name="button.c"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="button.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;
}
--------------050105010601010905000507
Content-Type: text/plain;
name="glue.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="glue.diff"
? button.c
? glue.diff
Index: Makefile.am
===================================================================
RCS file: /mono/gtk-sharp/glue/Makefile.am,v
retrieving revision 1.29
diff -u -r1.29 Makefile.am
--- Makefile.am 6 Sep 2003 18:11:12 -0000 1.29
+++ Makefile.am 11 Sep 2003 19:28:44 -0000
@@ -2,6 +2,7 @@
BASESOURCES = \
adjustment.c \
+ button.c \
clipboard.c \
colorseldialog.c \
combo.c \
Index: makefile.win32
===================================================================
RCS file: /mono/gtk-sharp/glue/makefile.win32,v
retrieving revision 1.4
diff -u -r1.4 makefile.win32
--- makefile.win32 7 Sep 2003 12:01:21 -0000 1.4
+++ makefile.win32 11 Sep 2003 19:28:44 -0000
@@ -5,6 +5,7 @@
GLUE_OBJS = \
adjustment.o \
+ button.o \
clipboard.o \
colorseldialog.o \
combo.o \
--------------050105010601010905000507--