GTK+ Forums

Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
It is currently Sat Aug 27, 2016 9:52 am

All times are UTC

Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: connected handler for Gtk::FileChooserButton not triggered
PostPosted: Sun Sep 25, 2005 6:09 am 
Familiar Face

Joined: Wed Sep 21, 2005 4:14 am
Posts: 17
Location: Aachen, Germany
Greetings everybody!

I have a Gtk::FileChooserButton (read/generated from a .glade file) to which I connect my handler:

void on_file_activated ()
   std::cout << "on_file_activated() triggered - selected file = \""
         << pFCB->get_filename ()
         << "\""
         << std::endl;

with this call:

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...


First they ignore you...
then they laugh at you...
then they fight you...
then you win!

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC

Who is online

Users browsing this forum: Google Adsense [Bot], Yahoo [Bot] and 4 guests

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group