Re: call connected signal



On Friday 02 December 2005 11:02, Andreas Volz wrote:
> Hi,
>
> how could I force gtkmm to call a signal. I need this for redraw of a
> GUI part. I connected it this way:
>
>     target_combo.signal_changed().connect (sigc::mem_fun (*this,
>                                           
> &Application::on_target_combo_changed));
>
> If I call the on_target_combo_changed() function there're several
> warnings and the app crash. I think there's a libsig call for this. But
> I couldn't find it.

On your first point, just provide your own custom signal object and connect it 
to the same slot.

On the second, presumably there is a bug in your code.  I do not think there 
is a special libsig call for crashing your application.

Chris




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