Re: GTKmm Window Signal
- From: Bob Caryl <bob fis-cal com>
- To: Rok <stefanic_rok siol net>
- Cc: gtkmm-list gnome org
- Subject: Re: GTKmm Window Signal
- Date: Thu, 10 Nov 2005 11:31:15 -0600
Rok wrote:
Hello,
I have a problem when user resizes a window. How could I catch that
event and get the new width and height?
Thank you for the answer,
Rok
_______________________________________________
gtkmm-list mailing list
gtkmm-list gnome org
http://mail.gnome.org/mailman/listinfo/gtkmm-list
Connect to Gtk::Widget::signal_expose_event with a callback slot. In
that callback slot use the Gtk::Widget::get_window method to get a
pointer to the underlying Gdk::Window. Then use the
Gdk::Window::get_geometry method can be used to obtain the width and
height of the window.
Bob Caryl
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]