I'm creating a Xsubwindow for playing videos with mplayer, thanx for the response. gonna check that out.
On Thu, Jul 30, 2009 at 1:46 AM, Julien Nadeau <[email protected]>wrote: > > When SizeAllocate is invoked, the final, absolute view coordinates of > the widget are not yet known. The AG_SizeAlloc argument (a->x, a->y, > a->w, a->h) only gives you the relative coordinates of the widget inside > of its parent container. > > Elsewhere in your code, you can always retrieve the absolute view > coordinates of a widget using the rView structure (see AG_Widget(3) > "STRUCTURE DATA" for details). Note that the rendering routines in > AG_Widget(3) all operate on local widget coordinates so widgets rarely > need to be aware of own coordinates, unless you are doing things such > as raw GL calls or video in your draw routine. > > On Wed, Jul 29, 2009 at 09:50:15PM -0300, Paulo Pinheiro wrote: > > Hello, > > > > How do i get the absolute position of the widget inside the SizeAllocate > > function? > > > > I'm using agar1.3.3 > > > > thanks in advance, > > -- > > Paulo Victor de Almeida Pinheiro > > ------------------------------ > > Laboratório de Redes de Comunicação e Segurança da Informação - LARCES > > Mestrado em Ciência da Computação - UECE > > > _______________________________________________ > > Agar mailing list > > [email protected] > > http://libagar.org/lists.html > > -- Paulo Victor de Almeida Pinheiro ------------------------------ Laboratório de Redes de Comunicação e Segurança da Informação - LARCES Mestrado em Ciência da Computação - UECE
_______________________________________________ Agar mailing list [email protected] http://libagar.org/lists.html
