XCB

This is a discussion on XCB within the Xwindows forums, part of the Tools category; Dear All! Is XCB an official replacement for Xlib? And how soon you would expect it to replace the Xlib? Thanks....

Go Back   Unix Linux Forum > Technologies & Tools > Tools > Xwindows

FixUnix.com - Unix Linux Forums

Unix Content Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 10-01-2008, 02:23 AM
Default XCB

Dear All!

Is XCB an official replacement for Xlib? And how soon you would expect
it to replace the Xlib?

Thanks.
Reply With Quote
  #2  
Old 10-01-2008, 02:44 AM
Default Re: XCB

eotcl wrote:
>
> Is XCB an official replacement for Xlib? And how soon you would expect
> it to replace the Xlib?


I've been wondering the same thing. XCB was designed as a replacement,
but from what I've seen from my bit of Google searching, is that the
update is very slow to nothing.

I guess it's not as easy as the designers or XCB thought, to change the
habits of all the X11 developers. The other issue is that XCB libraries
do not ship with all distros, which puts an extra burden on deploying
applications. I know I had to manually install XCB on Ubuntu Linux 7.10.

Regards,
- Graeme -

__________________________________________________ _____
fpGUI - a cross-platform GUI toolkit using Free Pascal
http://opensoft.homeip.net/fpgui/

Reply With Quote
  #3  
Old 10-01-2008, 05:27 PM
Default Re: XCB

Graeme Geldenhuys writes:
> eotcl wrote:
>>
>> Is XCB an official replacement for Xlib? And how soon you would expect
>> it to replace the Xlib?


> I've been wondering the same thing. XCB was designed as a replacement,
> but from what I've seen from my bit of Google searching, is that the
> update is very slow to nothing.


> I guess it's not as easy as the designers or XCB thought, to change the
> habits of all the X11 developers. The other issue is that XCB libraries
> do not ship with all distros, which puts an extra burden on deploying
> applications. I know I had to manually install XCB on Ubuntu Linux 7.10.


Most of the recent distros these days have libX11 built with XCB backend
. So all of your apps will be using XCB indirectly. Ofcourse, it'll be
great if UI toolkits are ported to use XCB directly .

Ashish
--
() ascii ribbon campaign - against HTML e-mail
/\ www.asciiribbon.org - against proprietary attachments
·-- ·- ···· ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- --

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)

iEYEARECAAYFAkjj608ACgkQHy+EEHYuXnRlaQCgpveV3Oi5cm Y4/4DOelk5VHt/
knAAoLGvcXZGmMaCcxM5m4CPPk91W2cb
=mM4g
-----END PGP SIGNATURE-----
Reply With Quote
  #4  
Old 10-02-2008, 04:07 AM
Default Re: XCB

Ashish Shukla आशीष शुक्ल wrote:
>
> Most of the recent distros these days have libX11 built with XCB backend
> . So all of your apps will be using XCB indirectly.


I never knew that. Thanks for the info.

> Ofcourse, it'll be
> great if UI toolkits are ported to use XCB directly .


In that case, I could always have a XLib and XCB backend for my GUI
toolkit. :-) I've already abstracted the toolkit enough to support GDI
and XLib, so adding a new backend is not a major issue. I'm planing for
Mac's Cocoa as well. I'll have to investigate XCB in more detail though
- I don't know the api at all.


Regards,
- Graeme -

__________________________________________________ _____
fpGUI - a cross-platform GUI toolkit using Free Pascal
http://opensoft.homeip.net/fpgui/

Reply With Quote
Reply

Thread Tools


All times are GMT -5. The time now is 12:48 AM.

In an effort to better serve ads to our visitors, cookies are used on Fixunix.com. For more information, check out our Privacy Policy.

Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Ad Management by RedTyger