Set up callbacks for dynamically created buttons
- From: 3saul <saul_lethbridge hotmail com>
- To: gtk-app-devel-list gnome org
- Subject: Set up callbacks for dynamically created buttons
- Date: Fri, 21 Apr 2006 23:11:41 -0700 (PDT)
I'm creating some buttons using:
buttons = g_new(GtkWidget*, n);
for (i = 0; i < n; i++) {
buttons[i] = gtk_button_new...
gtk_button_whatever(GTK_BUTTON(buttons[i])...
...
gtk_box_pack_start(GTK_BOX(some_box), buttons[i]...
}
how would I set these buttons up with call backs once they're created?
--
View this message in context:
http://www.nabble.com/Set-up-callbacks-for-dynamically-created-buttons-t1490320.html#a4038183
Sent from the Gtk+ - Apps Dev forum at Nabble.com.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]