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
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...
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?
i found it on this site hume.com
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
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
And various other books and tutorials:
tcl.tk
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