GTK+ Forums

Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
It is currently Mon Oct 20, 2014 9:14 pm

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 
Offline
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:

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


with this call:

Code:
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

_________________
First they ignore you...
then they laugh at you...
then they fight you...
then you win!
(Gandhi)


Top
 Profile  
 
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: No registered users and 5 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:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group