Thank you so much! As silly as it sounds, all the github repos I was looking at examples for had terrible build instructions that relied on complex tooling which meant I had no idea how to actually build anything. You showed the simple command and didn't waste any time getting into the rest of this, just overall amazing video
@tylerlwsmith3 жыл бұрын
That was the best intro ever. Every second of this video was direct and valuable.
@gujjardachhora98626 жыл бұрын
I expected an Indian man judging by your channel name
@EngineerMan6 жыл бұрын
Ha, sorry to disappoint.
@gujjardachhora98626 жыл бұрын
Not at all man, amazing video, it is hard to find GUI tutorials for C
@EngineerMan6 жыл бұрын
Just wanted something small that I could do and explain in under 5 minutes.
@ShivamJha005 жыл бұрын
@@gujjardachhora9862 provided that why would anyone wanna use C for GUIs
@gujjardachhora98625 жыл бұрын
@@ShivamJha00 just for the heck of it
@ramankr00222 жыл бұрын
thank u very much, i was creating a matrix calculator and was troubled how to take inputs and adjust buttons, the code given in the description is proving to be very helpful for me.
@llothar685 жыл бұрын
My question about GTK is very shakespearean: To glade or not to glade ?
@veg7nlif3765 жыл бұрын
Yes
@LogicEu3 жыл бұрын
So useful, short and precise. Great work and thank you!
@Ricko652 жыл бұрын
Thank you very much - Thanks to your video I was able to do my first GTK application! Looking forward to expanding with the GREAT start!!!! A++++++++
@AGUNGKAYA5 жыл бұрын
Wow cool! GUI in C !! What a great man!
@justafreak15able2 ай бұрын
How much C do you need to know to start working with GTk? I am learning C and I want to make a GTK app.
@Nunya582942 ай бұрын
GTK3 if you're really new to C is quite involved. I won't stop you from learning how to make an app though. Happy coding!
@bennguyen13138 ай бұрын
I built a simple wxWidget application but want to use GTK and its editor for the Gui deign (Glade/Cambalache). However, not sure what I need to install.. Meson, MSYS2, GTKMM vs GTK4 vs GTK3 etc. For example, I have Visual Studio Community do I still need MSYS2 (pacman -S mingw-w64-x86_64-toolchain base-devel etc) ? or can I just unzip the GTK source and build using VS? Do I need gvsbuild (Visual Studio Project or Meson Project) ? Also for testing , do you recommend CppUTest, google test , catch2, doctest, ??
@ucr2256 Жыл бұрын
Hello! Nice to meet you,i would like to know where can I find more documentation of GTK,i need it because I have to create a text editor in C with GUI and include some functions with the mouse cursor,i would like to know something else
@higiniofuentes255110 ай бұрын
In the case of using Glade for the design, do you have a video on it? Thank you!
@higiniofuentes255110 ай бұрын
Thank you for this very useful video!
@aaronrennyvargheseOriginal4 жыл бұрын
Thank you so much! Greetings from India.
@blasttrash5 жыл бұрын
I thought Java Swing and JavaFX had a lot of boilerplate, but this gtk thing also has a lot of boilerplate.
@gest074 жыл бұрын
GREAT VIDEO! Straight to the point. Thanks!!
@MmmBopsPops5 жыл бұрын
What do you prefer: GTK, Qt, or depends?
@veg7nlif3765 жыл бұрын
Yes
@jayzeejm5 жыл бұрын
Yes
@AGUNGKAYA5 жыл бұрын
Expert would always say depend....
@FeelingShred5 жыл бұрын
fuck C++ and fuck OOP xDDDDD I just had to get that out of my chest today, feels good
@pixelPlex4 жыл бұрын
A tutorial video on concurrency with Gtk 3 would be very useful.
@gandsnut6 жыл бұрын
Lessee... The command line invocation first sets an ENV variable GDK_SCALE=3 and - even though you have main() args - none are used here. So something in the library checks ENV at program startup, but in this example, nothing in the code needs to know about the application window size? Am I barking up the right tree? Thx.
@ThePandaProcrastinates6 жыл бұрын
Are Jayem the gtk_init takes in &argc, &argv developer.gnome.org/gtk3/stable/gtk3-General.html#gtk-init
@Ryan-xq3kl3 жыл бұрын
For whatever reason the compiling code for gcc in the github gives me a weird error which puts me in some loop in the terminal I have to kill manually. I have to compile it more like this to get it to work gcc `pkg-config --cflags gtk+-3.0` -o engCode engCode.c `pkg-config --libs gtk+-3.0`
@TEXASF1ERCE5 жыл бұрын
Thank you so much for the videos you make Mr Engineer Man :)
@ahmadawalluddin87114 жыл бұрын
Hi i know this video been 3 year and i am totally begineer can you give me the link where did you downloaded the library. Thank you very much in advance. Btw i love that you make think so simple and fast.I am on widow machine
@aaronrennyvargheseOriginal4 жыл бұрын
But this is for Linux......
@ahmadawalluddin87114 жыл бұрын
@@aaronrennyvargheseOriginal yeah i know i figured it out using msys2 to set up the library
@aaronrennyvargheseOriginal4 жыл бұрын
@@ahmadawalluddin8711 oh good!
@pixelPlex3 жыл бұрын
Why is the application being developed the GTK 2 way instead of using the GTK 3 way?
@nathantoulbert44062 жыл бұрын
what editor are you using? From the window (heh. gtk) Im guessing youre on linux, but I don't recognise the editor. Is it gedit?
@svgaming2342 жыл бұрын
He uses Atom. You can see it on the top title bar of the app.
@yarolmj3 жыл бұрын
excelent tutorial!
@HenrySGoldIX4 жыл бұрын
Hi can you help me Engineer Man. How do you install this gtk/gtk.h?
@jaymesc44364 жыл бұрын
ever find out?
@HenrySGoldIX4 жыл бұрын
@@jaymesc4436 Not yet. I don't know what to do
@HenrySGoldIX4 жыл бұрын
@@jaymesc4436 I use windows and I'm trying to integrate GTK with Atom. Do you know how to do that
@s.v.dedicated96213 жыл бұрын
Are you guys serious? Literally all you have to do is google "How to install gtk3 on Win/Linux/Mac"
@Nunya582942 ай бұрын
Oh God just don't bother if you have no idea what you're doing......
@christ-marieanzianbrou75644 жыл бұрын
salut Mr. EngineerMan je peux avoir une vidéo qui explique comment faire une interface graphique qui est liée avec une base de donnée. je suis sur Ubuntu. je ne trouve pas de vidéo sur KZbin. Merci d'avance
@BladeAurora7 жыл бұрын
hey how do you install gtk on linux? Can you make a video on installing C libraries and linking them statically and dynamically?
@EngineerMan7 жыл бұрын
You likely already have it installed. Click on the link to GitHub in the description and see if you can compile and run the file I made.
@BladeAurora7 жыл бұрын
Package gtk+-3.0 was not found in the pkg-config search path. No package 'gtk+-3.0' found
@EngineerMan7 жыл бұрын
If you're on ubuntu, apt-get install libgtk-3-dev should do it.
@imeza49885 жыл бұрын
@@EngineerMan Thanks the documentation was hard for me.
@amalirfan3 жыл бұрын
Could pls tell me the dependency packages, I am noob, sorry if the answer obvious.
@amalirfan3 жыл бұрын
I have installed libgtk-3-dev and it works, could any one find me any other programs, actively developed in C?
@arcanelore1686 жыл бұрын
I'd like to get a course on this. I want to create a IDE like VSCode or Atom.
@EngineerMan6 жыл бұрын
You should look into Electron. That's what both of those are made in.
@sachinprabhu15715 жыл бұрын
What operating system do you use? Fedora?
@SteveHazel4 жыл бұрын
at the risk of ridicule for commenting on an old video and about linux installs... i've got gcc8, and i THINK this chromebox has gtk-3. but the gtk dir ain't in my include and i haven't messed with pkg-config yet (command not found). tryna make this dang chromeos debian work fer me... Oh and a video about your opinion on Qt versus gtk pleeeeez :)
@eugenenovikov6714 жыл бұрын
Hello, i installed gtk through msys2 pacman, what should i write in os windows in system path variable e:\msys64\mingw64\bin or e:\msys64\mingw64\include or e:\msys64 or e:\msys64\mingw64?
@SumitSingh-sb6jn6 жыл бұрын
Which software are you using for writing of code?
@shivashankar286 жыл бұрын
Its called Atom Text editor just google it bro
@SumitSingh-sb6jn6 жыл бұрын
Thanks pal
@shivashankar286 жыл бұрын
@@SumitSingh-sb6jnHere it is atom.io. This is a slow text editor, i recommend VS Code which is better in every aspect than Atom :)
@SumitSingh-sb6jn6 жыл бұрын
How to set up atom for C environment
@maxi03616 жыл бұрын
I really want to know how to develop Graphic application on linux, thanks.
@EngineerMan6 жыл бұрын
I had a gtk video.
@AGUNGKAYA5 жыл бұрын
Actually the easiest is using lazarus. Check that out... But still, C is the most respected language if u want some proud..lol
@NymezWoW4 жыл бұрын
Agung Sudrajat Supriatna Object Pascal is a dead language. I would strongly recommend to not use them for new projects. If you want a Lazarus/Delphi style of GUI Desiner you should go for things like Visual Studio or QtCreator. Those are way more modern and feature rich.
@virginiakennedy6078Ай бұрын
7467 Judson Islands
@zonayedpca5 жыл бұрын
Exactly!
@octavianc.25697 жыл бұрын
(Having this many views for such a new video) You're welcome :)
@EngineerMan7 жыл бұрын
Ha, thanks. This is going to be, without question, my most popular video to date. Primarily, I hope it helps you though.
@octavianc.25697 жыл бұрын
You mentioned on reddit something about creating a separate video series for Linux desktop app development. Seriously, there is a lot of potential/gapps to fill in in this area and people (devs) don't generally agree on what's the best tool for the job (Qt, perhaps?). Also you could inspire lots and lots of people to create more *NATIVE* graphical interface software for Linux/cross-platform. Save us from all this Electron / NW.JS garbage.
@EngineerMan7 жыл бұрын
Yeah there is already a dispute on my post on Reddit regarding tech. I did mention a possible series. It's such a HUGE topic. Atom editor (the editor I use in all of my videos) was created using Electron. I'm not sold on it though, there are a lot of skeletons and dark magic being hidden beneath what appears to be a welcoming exterior of "cross platform desktop app development". When I use Electron apps, I can't help but think it's just Chrome without tabs and an address bar.
@LMGaming05 жыл бұрын
Why i can't use librarie GTK .. " gtk/gtk.h: No such file or directory "
On macOS it takes more time to get gtk setup than anything else 🤦♂️ if you use brew, macports, fink etc you need to create a new user account that doesn’t make use of those package managers. It messes with the build environment and makes everything fail. So -rerunning the install as a new user “gtk” 😊…🤦♂️
@nattakiet13 жыл бұрын
Too much step for one component.
@Nunya58294Ай бұрын
Welcome to application development.
@freeNode55 жыл бұрын
wtf... you didn't run it at the end???
@gomezjp5 жыл бұрын
Yes, he did. It's in the lower part of the video . 2 boxes, and an adittional one with the sum result