public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] [OT] Xlib tutorial
@ 2013-01-15 11:55 pat
  2013-01-15 12:16 ` [SOLVED]Re: " pat
  2013-01-15 13:22 ` Michael Mol
  0 siblings, 2 replies; 5+ messages in thread
From: pat @ 2013-01-15 11:55 UTC (permalink / raw
  To: gentoo-user

Hello,

Sorry for this off topic. I want to learn how to develop UI applications using
Xlib. I've searched web, but I could not find a tutorial which will explain it
all (found some short examples). Please, could someone suggest a website or a
book?

Thanks

     Pat

----------------------------------------
Freehosting PIPNI - http://www.pipni.cz/



^ permalink raw reply	[flat|nested] 5+ messages in thread

* [SOLVED]Re: [gentoo-user] [OT] Xlib tutorial
  2013-01-15 11:55 [gentoo-user] [OT] Xlib tutorial pat
@ 2013-01-15 12:16 ` pat
  2013-01-15 13:22 ` Michael Mol
  1 sibling, 0 replies; 5+ messages in thread
From: pat @ 2013-01-15 12:16 UTC (permalink / raw
  To: gentoo-user

Sorry, should search for xlib and not x.org :-|

     Pat

On Tue, 15 Jan 2013 12:55:59 +0100, pat wrote
> Hello,
> 
> Sorry for this off topic. I want to learn how to develop UI 
> applications using Xlib. I've searched web, but I could not find a 
> tutorial which will explain it all (found some short examples). 
> Please, could someone suggest a website or a book?
> 
> Thanks
> 
>      Pat


----------------------------------------
Freehosting PIPNI - http://www.pipni.cz/



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] [OT] Xlib tutorial
  2013-01-15 11:55 [gentoo-user] [OT] Xlib tutorial pat
  2013-01-15 12:16 ` [SOLVED]Re: " pat
@ 2013-01-15 13:22 ` Michael Mol
  2013-01-15 14:12   ` pat
  1 sibling, 1 reply; 5+ messages in thread
From: Michael Mol @ 2013-01-15 13:22 UTC (permalink / raw
  To: gentoo-user

On Tue, Jan 15, 2013 at 6:55 AM, pat <pat@xvalheru.org> wrote:
> Hello,
>
> Sorry for this off topic. I want to learn how to develop UI applications using
> Xlib. I've searched web, but I could not find a tutorial which will explain it
> all (found some short examples). Please, could someone suggest a website or a
> book?

http://rosettacode.org/wiki/Category:Xlib

Why the specific interest in Xlib? XCB is probably the better C
library to use at this point. Actually almost any higher-level toolkit
would be a better place to start:

https://en.wikipedia.org/wiki/List_of_widget_toolkits

GUI programming is a PITA to do in the first place, and it's
progressively more painful the more you want to "do it right." Don't
make it harder than it has to be, particularly if you're just getting
started.

-- 
:wq


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] [OT] Xlib tutorial
  2013-01-15 13:22 ` Michael Mol
@ 2013-01-15 14:12   ` pat
  2013-01-15 14:40     ` Florian Philipp
  0 siblings, 1 reply; 5+ messages in thread
From: pat @ 2013-01-15 14:12 UTC (permalink / raw
  To: gentoo-user

Thanks for suggestion. Well I don't want to depend on GTK or Qt.

Thanks

     Pat

On Tue, 15 Jan 2013 08:22:03 -0500, Michael Mol wrote
> On Tue, Jan 15, 2013 at 6:55 AM, pat <pat@xvalheru.org> wrote:
> > Hello,
> >
> > Sorry for this off topic. I want to learn how to develop UI applications using
> > Xlib. I've searched web, but I could not find a tutorial which will explain it
> > all (found some short examples). Please, could someone suggest a website or a
> > book?
> 
> http://rosettacode.org/wiki/Category:Xlib
> 
> Why the specific interest in Xlib? XCB is probably the better C
> library to use at this point. Actually almost any higher-level 
> toolkit would be a better place to start:
> 
> https://en.wikipedia.org/wiki/List_of_widget_toolkits
> 
> GUI programming is a PITA to do in the first place, and it's
> progressively more painful the more you want to "do it right." Don't
> make it harder than it has to be, particularly if you're just getting
> started.
> 
> -- 
> :wq
> 
> ----------------------------------------
> Freehosting PIPNI - http://www.pipni.cz/


----------------------------------------
Freehosting PIPNI - http://www.pipni.cz/



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] [OT] Xlib tutorial
  2013-01-15 14:12   ` pat
@ 2013-01-15 14:40     ` Florian Philipp
  0 siblings, 0 replies; 5+ messages in thread
From: Florian Philipp @ 2013-01-15 14:40 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1379 bytes --]

Am 15.01.2013 15:12, schrieb pat:
> On Tue, 15 Jan 2013 08:22:03 -0500, Michael Mol wrote
>> On Tue, Jan 15, 2013 at 6:55 AM, pat <pat@xvalheru.org> wrote:
>>> Hello,
>>>
>>> Sorry for this off topic. I want to learn how to develop UI applications using
>>> Xlib. I've searched web, but I could not find a tutorial which will explain it
>>> all (found some short examples). Please, could someone suggest a website or a
>>> book?
>>
>> http://rosettacode.org/wiki/Category:Xlib
>>
>> Why the specific interest in Xlib? XCB is probably the better C
>> library to use at this point. Actually almost any higher-level 
>> toolkit would be a better place to start:
>>
>> https://en.wikipedia.org/wiki/List_of_widget_toolkits
>>
>> GUI programming is a PITA to do in the first place, and it's
>> progressively more painful the more you want to "do it right." Don't
>> make it harder than it has to be, particularly if you're just getting
>> started.
>>
>> -- 
>> :wq
>>
> Thanks for suggestion. Well I don't want to depend on GTK or Qt.
> 
> Thanks
> 
>      Pat
> 

Is this for an embedded platform? Because otherwise, for the sake of
your own sanity and the usability of your application, don't do this!

At least use some lightweight GUI toolkit like xforms or tk.

PS: Please don't top-post if you can avoid it.

Regards,
Florian Philipp


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 262 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-01-15 14:40 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-15 11:55 [gentoo-user] [OT] Xlib tutorial pat
2013-01-15 12:16 ` [SOLVED]Re: " pat
2013-01-15 13:22 ` Michael Mol
2013-01-15 14:12   ` pat
2013-01-15 14:40     ` Florian Philipp

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox