Re: [GtkGLExt] Multiple view problem
- From: "Timothy M. Shead" <tshead k-3d com>
- To: gtkglext-list gnome org
- Subject: Re: [GtkGLExt] Multiple view problem
- Date: Tue, 30 May 2006 18:39:15 -0600
On Tue, 2006-05-30 at 14:07 +0200, Jordi Rovira wrote:
> Hi all,
>
> First of all thanks to the original developer and current
> maintainers of this project. It is really helpful.
>
> And now the problem: I have multiple GL widgets derived from
> Gtk::GL::DrawingArea and added into a Paned hierarchy that can resize
> them. See the attached image. The user interface is dynamic: the views
> can be split and merged like in Blender. My problem is that only one
> of the views works, and the funny thing is that it depends on how you
> resize the main window: if i enlarge it to the left, the right GL
> widget works, if i shrink it the right, the one in the left works.
>
> It might be somethin like the last one receiving the resize event is
> the one that keeps working. The other one doesn react to events or
> refresh (it is usually black, not like in the image).
I would throw some printf statements into your handlers and see whether
the configure and expose events are being received the way you think.
This may be a subtlety of the way the Gtk::Paned widget works, you may
need to experiment with the parameters to the pack1() and pack2()
methods.
Cheers,
Tim
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]