Re: Help to connect a signal gtkmm
- From: Luca Cappa <luca cappa i-medlab com>
- To: gtkmm-list gnome org
- Subject: Re: Help to connect a signal gtkmm
- Date: Thu, 12 May 2005 14:27:44 +0200
Hi,
you could get the resize event on any child widget by using the
signal_size_allocate() signal (beside to the expose_event one)
Something like this:
this->signal_size_allocate ().connect (
sigc::mem_fun (*this, &View2D::onResizeEvent));
where it is:
void View2D::onResizeEvent (Gtk::Allocation& pAllocation)
{
....
}
Greetings,
Luca
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
If you could help me
thank you
LEBON Sylvain
_______________________________________________
gtkmm-list mailing list
gtkmm-list gnome org
http://mail.gnome.org/mailman/listinfo/gtkmm-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]