Hey anons, what is most *EASIEST* GUI lib to learn with C? GTK3 is shit, QT is shit and only for cpp, FKTL only for cpp...

hey anons, what is most *EASIEST* GUI lib to learn with C? GTK3 is shit, QT is shit and only for cpp, FKTL only for cpp... i need something easy just to write some programs i dont need all that stuff that gtk/qt provides... i googled but results are shit too

Other urls found in this thread:

tcl.tk/man/tcl8.5/TkLib/contents.htm
hume.com/html85/indexes/tkc_api.html
tldp.org/HOWTO/NCURSES-Programming-HOWTO/mouse.html
beedub.com/book/
tcl.tk/doc/
tvision.sourceforge.net/
docs.enlightenment.org/efl/current/index.html
twitter.com/NSFWRedditImage

Cairo?

use tk nigga

good point, but where can i find fuckin tutorials?

ncurses is all you need my friend

i though about that, but, i believe ncurses can receive mouse clicks? right?

Not too many options in pure C, besides gtk (ewww) you have IUP and libgui.

Tk is technically C, but I've never seen documentation in how to use it from C, The focus is on using it from Tcl/Python/Ruby/Perl. You can always make your GUI a thin layer over a C core.

And then there are options that are more geared towards games, such as SDL and Allegro.

TBH, there's a reason most GUI frameworks use C++. GUIs are one of the cases in which OOP actually works better than the alternatives.

if you write a GUI program in C then you might write a GUI lib for it as well

i am searching for almost 3 hours for any sign of documentation about tk in C.... there is only API reference listing function names... i cannot do anything with that... i think im just going to use ncurses after all, i just need several buttons that will do something after you click on them

and forgot, btw i think ncurses is easiest to learn... i dont have much time to spend learning gui lib...

You mean the man pages?

tcl.tk/man/tcl8.5/TkLib/contents.htm

i found it on this site hume.com/html85/indexes/tkc_api.html
same stuff, but on official site its better organized

Motif.

not cross-platform...

Skia is way superior

Jesus fuck, man! Stop being so lazy.
First result on startpage for ncurses mouse event:
tldp.org/HOWTO/NCURSES-Programming-HOWTO/mouse.html

Stick with ncurses. Go with tk if you really need something with more graphics.

It's not even in my repos (Gentoo).

It's used internally by both Chrome and Firefox, and it's the 2D API for Android.

system("chromium")

Here's an entire book for free:
beedub.com/book/
And various other books and tutorials:
tcl.tk/doc/

tvision.sourceforge.net/
Or just use old Borland stuff and distribute program with/for dosbox.

that are tcl docs, not for C

There's also EFL

docs.enlightenment.org/efl/current/index.html