[Glade-users] Hi Cameron!
- From: kshivdeep rediffmail com (Shivdeep Krishnan)
- Subject: [Glade-users] Hi Cameron!
- Date: 18 May 2001 07:58:42 -0000
I have given a call to the function in the radiobutton's "toggled" event as below in "interface.c":
=========================================================
GtkWidget *frBatchMonitor; /*the BatchMonitor Frame */
GtkWidget *rbBatch; /* the radiobutton */
gtk_signal_connect (GTK_OBJECT (rbBatch), "toggled",
GTK_SIGNAL_FUNC(on_rbBatch_toggled),(gpointer)"rbBatch");
=========================================================
callbacks.c:
------------
void on_rbBatch_toggle (GtkToggleButton *togglebutton,
gpointer user_data)
{
GtkWidget *frBatchMon;
frBatchMon=lookup_widget(togglebutton,user_data);
gtk_widget_show(frBatchMon);
}
=====================================================
Thats it...! ;-)
love,
Shivdeep
_____________________________________________________
Chat with your friends as soon as they come online. Get Rediff Bol at
http://bol.rediff.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]