Generate a signal when the ComboBoxText is clicked.
- From: sourav <nordic_kutes yahoo co in>
- To: gtkmm-list gnome org
- Subject: Generate a signal when the ComboBoxText is clicked.
- Date: Tue, 21 Jan 2014 08:46:33 -0800 (PST)
I am writing a simple GUI, in which I have a ComboBoxText. I write a log
message when ever the user clicks on the ComboBoxText.
I have tried almost all the button release and popup signals but no results.
The only thing which works is signal_changed() but I don't not need that.
Please help me, below is my sample code :
myCombo->signal_button_release_event().connect(sigc::mem_fun(this,&ComboBoxText::ComboInput),false);
and here is the call back function:
bool ComboBoxText::ComboInput(GdkEventButton *pEvt) {
// Here do the desired stuffs !!
return false;
}
--
View this message in context:
http://gtk.10911.n7.nabble.com/Generate-a-signal-when-the-ComboBoxText-is-clicked-tp83546.html
Sent from the Gtkmm mailing list archive at Nabble.com.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]