Slot never called



Hi,
	I new on gtk-- and also in C++, so please be patient =)

I'm doing this:
	- I create a window with glade (with anjusta)
	- I create a button in that window (with glade) and connect the click signal
to some slot named on_clicked (with glade)
	- I manually add on_clicked to the class declaration (is that correct ?) 				
because glade didn't do it.
	- In that function I call the constructor of a file_select dialog created 
with glade. Then there is no problem the file_select dialog is created and 
sown.
	- I connected the clicked signal of the ok button to a slot named on_clicked 
(with glade) and add that slot to the file_select class declaration manually.
	- That slot is never called, why ?

Pablo






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]