Signal of a button dynamically created
- From: Borja Mon Serrano <borjamonserrano gmail com>
- To: gtk-app <gtk-app-devel-list gnome org>
- Subject: Signal of a button dynamically created
- Date: Mon, 28 Oct 2013 16:22:38 +0100
Hi,
I'm building a popup window that has a Gtk::Grid inside it. The first row
has a form with three Gtk::Entry and a button to add the information to the
program. The rest of the rows has the items created before in that way
(just with Gtk::Label) and a button to remove the information. Like this:
|--------------------------------------------------------------------------------------|
| Gtk::Entry | Gtk::Entry | Gtk::Entry | Gtk::Button (add) |
|--------------------------------------------------------------------------------------|
|----------------------- rows dynamically added --------------------------|
| Gtk::Label | Gtk::Label | Gtk::Label | Gtk::Button (remove) |
|--------------------------------------------------------------------------------------|
| Gtk::Label | Gtk::Label | Gtk::Label | Gtk::Button (remove) |
|--------------------------------------------------------------------------------------|
| Gtk::Label | Gtk::Label | Gtk::Label | Gtk::Button (remove) |
|--------------------------------------------------------------------------------------|
...
The point here is: how can I know what button was pressed in order to
remove a row?
Thanks! :)
Borja.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]