Re: Signal of a button dynamically created
- From: Michael Cronenworth <mike cchtml com>
- To: gtk-app-devel-list gnome org
- Subject: Re: Signal of a button dynamically created
- Date: Mon, 28 Oct 2013 10:32:49 -0500
Borja Mon Serrano wrote:
The point here is: how can I know what button was pressed in order to
remove a row?
You need to attach to the "clicked" signal on each button[1]. Each button could
call a separate function or you can pass a pointer to different values to know
which button is which.
[1]
https://developer.gnome.org/gtkmm-tutorial/unstable/sec-connecting-signal-handlers.html.en
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]