logo       

Sponsor
FREE Network Mapping Tool for Microsoft® Office Visio® Professional 2007
Don't map your network by hand - let LANsurveyor Exx press for Microsoft Visio Professional 2007 automatically create network diagrams for you!

Re: question about the QueryTree: msg#00052

freedesktop.xcb

Subject: Re: question about the QueryTree



On Sun, 10 Apr 2005, Jamey Sharp wrote:

> On Sun, Apr 10, 2005 at 06:06:58PM +0200, Vincent Torri wrote:
> > Hello,
>
> Hi Vincent!
>
> > i would like to parse the list of all the children of a window. For that,
> > I use XCBQueryTreeChildrenIter. But i would like to know in which order
> > the children appear when i iterate over them (from bottommost to topmost,
> > or the reverse order).
>
> The protocol specification says, "The children are listed in
> bottom-to-top stacking order."

Ok, so, it's not the order that I want.

> > In case it's not the good sort, I have the same question for
> > XCBQueryTreeChildren. Also, which function should I use to free the
> > windows returned by this function ?
>
> All of the functions that return iterators or arrays from replies are
> just returning pointers into the reply, which is allocated as one big
> block. You can only free the reply as a whole.

Ok, that's exactly what I want. Thank you :)

Vincent





Only community members can participate in forum threads. You must Register or log in to contribute.

<Prev in Thread] Current Thread [Next in Thread>
Sponsor
FREE Network Mapping Tool for Microsoft® OfficeVisio Professional 2007
Don't map your network by hand - let LANsurveyor Express for Microsoft Visio Professional 2007
automatically create network diagrams for you!
Google Custom Search

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation

Home | sitemap | advertise | OSDir is an inevitable website. super tiny logo