Send mouse button press event to widget??
- From: eminemence <mayur_kankanwadi persistent co in>
- To: gtk-app-devel-list gnome org
- Subject: Send mouse button press event to widget??
- Date: Thu, 30 Aug 2007 03:37:04 -0700 (PDT)
Hi All,
Am a newbie to linux gtk programming.I want trying to send the mouse button
press event to my widget and so I tried this code:
Code:
###########################################
guint signalid = g_signal_new("button_press_event",
G_TYPE_FUNDAMENTAL(0),
G_SIGNAL_RUN_FIRST,
NULL,
NULL,
NULL,
NULL,
G_TYPE_NONE,0);
g_signal_emit(GTK_OBJECT(gPage),signalid,0);
###########################################
Can someone tell me what is wrong out there?
Thanks in advance.
--eminemence.
--
View this message in context:
http://www.nabble.com/Send-mouse-button-press-event-to-widget---tf4353330.html#a12404489
Sent from the Gtk+ - Apps Dev mailing list archive at Nabble.com.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]