GTK+ Forums
Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
FAQ
Search
Memberlist
Usergroups
Register
Profile
Log in to check your private messages
Log in
connected handler for Gtk::FileChooserButton not triggered
GTK+ Forums Forum Index
->
GTK+ Programming
Author
Message
MacSlow
Familiar Face
Joined: 21 Sep 2005
Posts: 17
Location: Aachen, Germany
Posted: Sun Sep 25, 2005 6:09 am
Post subject: connected handler for Gtk::FileChooserButton not triggered
Greetings everybody!
I have a Gtk::FileChooserButton (read/generated from a .glade file) to which I connect my handler:
Code:
(Plaintext)
1
2
3
4
5
6
7
void on_file_activated ()
{
std::cout << "on_file_activated() triggered - selected file = \""
<< pFCB->get_filename ()
<< "\""
<< std::endl;
}
with this call:
Code:
(Plaintext)
1
pFCB->signal_file_activated().connect (sigc::ptr_fun (on_file_activated));
I successfully compile and run my program, but when using the Gtk::FileChooserButton in question the text-output from the handler-function does not get executed. What am I missing here?
BTW, I'm using gtk+-2.8.3 (gktmm-2.8.0).
Thanks in advance for your time and kind advice!
Best regards...
MacSlow
Back to top
Display posts from previous:
All Posts
1 Day
7 Days
2 Weeks
1 Month
3 Months
6 Months
1 Year
Oldest First
Newest First
GTK+ Forums Forum Index
->
GTK+ Programming
All times are GMT
Page
1
of
1
Powered by
phpBB
© 2001, 2005 phpBB Group
CodeBB
1.0 Beta 2
Protected by
Anti-Spam ACP