• Is learning XCB lib better than learning GTK+ for x programming?

    From onlooker@21:1/5 to All on Thu Jan 5 16:56:45 2017
    Could you please suggest whether learning XCB lib with C is a good idea
    for a novice, aged learner who wants to write desktop applications?

    I have tried GTK+ but some suggest that learning XCB apparently looks
    difficult but ultimately it would become easier and better than that of
    GTK in the long run.

    I am a self learner and have become interested in gui programming in C
    and C++. I have got basic knowledge on C and C++ programming.

    I am planning to use FLTK library with C++ (tried Qt but found very cumbersome).

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Sam@21:1/5 to onlooker on Thu Jan 5 06:55:16 2017
    This is a MIME GnuPG-signed message. If you see this text, it means that
    your E-mail or Usenet software does not support MIME signed messages.
    The Internet standard for MIME PGP messages, RFC 2015, was published in 1996. To open this message correctly you will need to install E-mail or Usenet software that supports modern Internet standards.

    onlooker writes:

    Could you please suggest whether learning XCB lib with C is a good idea for
    a novice, aged learner who wants to write desktop applications?

    I have tried GTK+ but some suggest that learning XCB apparently looks difficult but ultimately it would become easier and better than that of GTK in the long run.

    XCB is a low-level protocol library API. GTK is a high level widget toolkit.

    You will not be able to write desktop applications, with traditional GUI elements like edit boxes, dropdown lists, and menus, with XCB. At least not until you spend a year, or two, writing your own widget toolkit with XCB.
    Then you can develop a desktop application.


    -----BEGIN PGP SIGNATURE-----

    iQIcBAABAgAGBQJYbjQkAAoJEGs6Yr4nnb8lF1UP/isodSeIChvbGLd20XHURwyc UH2FM+MUh9BFKdaz26wVnlGj3AciznNQV/TKKedH5oPG+g7j3z5tH7dkvFExGu8u 4HCxGztfyRXA37N9DAJKMuERSRdKwwx7QLb9m6S7DlZHcVg5tpu45o+3jWV3pxl5 gAYNtkRpWB2j/gTYiZPXvyer6YeBLEvsGE+yGXgL7IcuTNs85uhIO/DDnESdeDTG ByFoC1m9Cw3hmas6+NJt9w6InJIQulKCgTdU+8Wpkscoyc5iXAR/NMj0FbTorhk+ KdriHA3Yr7py9jP6idtNJj6Gz0+FOA2qXzcO7OjhEBAkIHoy4+4JSIU5iwrrz+aj rLwyZLhH8FK5WOSgL2EZIOFb3AAHF2nsZNoUq5CxYhxm7hiGumAmuOO+krLuMLZa eh3rVHwksdiC9FTzTMF4KXLMMgPnf/yJT4dou6puWU6zdZetcvfmO1T6h/ZDkGuq bdaKPOQGd26EdnCOV5LVaKBkjE9g5fLqnyx8+3zV+ow8SENrr3luCbjMcd9V1yZL CQfCLgPCrwZ6zMmlpZ5ru2bIIH+gAEGr47flX+hZoIS9nUwus9m8Tr5e8r/T1r2t zo1wIgHjw0eITBP4RcxWVNX2TxHDkM0gtwFlSooHgkGNQh59ZVJJyLrFkoNCFVdu 3zrC5ZXczXDt5ljtLFIR
    =UHmD
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Moai@21:1/5 to onlooker on Sat Jan 21 05:04:11 2017
    On 2017-01-05 06:26, onlooker wrote:
    Could you please suggest whether learning XCB lib with C is a good idea
    for a novice, aged learner who wants to write desktop applications?

    I have tried GTK+ but some suggest that learning XCB apparently looks difficult but ultimately it would become easier and better than that of
    GTK in the long run.

    I am a self learner and have become interested in gui programming in C
    and C++. I have got basic knowledge on C and C++ programming.

    I am planning to use FLTK library with C++ (tried Qt but found very cumbersome).
    If you're looking for a portable toolkit, take a look at X Athena
    Widgets (Xaw). They're what xcalc, xedit, etcetera use. Maybe you'll
    like it. Maybe you won't. But it's an idea.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)