1. Is there a IDE for EuGTK?
- Posted by Trixar_za Jun 02, 2009
- 1058 views
I've been playing with EuGTK, but noticed a lack of an IDE.
To somebody with limited programming experience, doing in a text editor is fine when you work off examples, but I want to design something not quite within them.
Anyway, just wanted to know if there was a IDE floating around for it.
2. Re: Is there a IDE for EuGTK?
- Posted by m_sabal Jun 03, 2009
- 1064 views
No there's not. Part of the reason for that is unlike the Windows API, all controls in GTK are placed dynamically. You don't say, at point {X,Y} place control Z with a size of {M,N}. In GTK, you say, I have a window. In my window, place all controls and containers vertically. In one of the containers, place child controls horizontally. In another, place them in a grid. This isn't the type of thing that's well suited to an IDE. But for making the most flexible user-controlled UI possible, there's no better way to go IMHO.
3. Re: Is there a IDE for EuGTK?
- Posted by Trixar_za Jun 03, 2009
- 1037 views
So the dynamic setup allows for many automatic placements that auto adjust to window sizes?
Ok, that's actually pretty cool and less programming on my side (yay!).
Anyway idea how I can utilize this into a basic window IRC or MUD client like way? I'm used to command line programming (I did a course on pascal YEARS ago), but I never really learned how to do windows and dialogs (beyond mIRC scripting, but yeah...).
4. Re: Is there a IDE for EuGTK?
- Posted by irv Jun 03, 2009
- 1060 views
So the dynamic setup allows for many automatic placements that auto adjust to window sizes?
Ok, that's actually pretty cool and less programming on my side (yay!).
That's the idea. Often, but not always, this approach is more 'user-friendly' than a fixed size/layout. Hard-coded sizes and positions make things difficult for people who use non-standard hardware or perhaps have vision problems.
Anyway idea how I can utilize this into a basic window IRC or MUD client like way? I'm used to command line programming (I did a course on pascal YEARS ago), but I never really learned how to do windows and dialogs (beyond mIRC scripting, but yeah...).
Since it's been done before using GTK, play with XChat: http://www.xchat.org/ You can see the kinds of controls you'll need for your own version. Duplicating XChat's main window is just a few minutes work. Duplicating the functionality is a LOT of work :)