Re: Gtk::Image location
- From: José Alburquerque <jaalburquerque cox net>
- To: pxjdream <xjpeng buffalo gmail com>
- Cc: gtkmm-list gnome org
- Subject: Re: Gtk::Image location
- Date: Fri, 17 Jul 2009 18:24:28 -0400
On Fri, 2009-07-17 at 18:16 -0400, José Alburquerque wrote:
> I wonder why you would want to get the origin of the image with respect
> to the Gtk::ScrolledWindow. Maybe you're planning to react to some
> mouse event on the image. In that case, maybe you can place the image
> in a Gtk::EventBox and use the signals of the event box. If not,
> getting the Gtk::ScrolledWindow border with
> Gtk::Container::get_border_width() could be what you're looking for.
One little correction: The Gtk::Image can process its own signals so a
Gtk::EventBox may not be necessary. Anyway, I'm just guessing at your
needs.
--
José Alburquerque
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]