Re: Help to connect a signal gtkmm



Lebon Sylvain wrote:

Don't know if my first message has been sent so:



Ok so i want to resize  an Gtk::Image each time  that the window  has a
rescale / resize.

this->signal_configure_event().connect(sigc::mem_fun(*this,
&function_resize_and_show_image));

And this doesn't work , i can't figure out why. this is a Gtk::Window

replace signal_configure_event with signal_expose_event, and use saved_width, saved_height values to optimize performance.

-andrew




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