[ prog / sol / mona ]

prog


Simple gui toolkit

1 2022-07-19 18:55

I want to make simple text editor for personal use. What graphics library should I use. I will write it in C++ or C depending on which can be ported easier. I use Linux mainly so I dont care about windows support.

2 2022-07-19 19:19 *

vga programming

3 2022-07-19 19:58 *

Desktop GUI programming https://textboard.org/prog/438

4 2022-07-19 23:19 *

First, I presume this is just for for personal learning, otherwise just use Emacs or Vim.

The next question then is, what do you want to learn? If it's GUI programming, fair enough. Otherwise, curses may be a better way to get characters on screen (especially for ssh access). If it *is* GUI programming you're interested in, I've been revisiting Tk lately, in particular working through the Python examples in https://tkdocs.com/tutorial/ . People may complain, but I think it looks fine.

If on the other hand it's C or C++ you want to learn, I'd actually do a text UI using curses (which would yield a more flexible editor for things like ssh access in the end). But I'm also on a Quixotic crusade to wean everyone off unsafe languages like C or C++. I like D myself.

I'd recommend against trying to learn two things in the same project.

5 2022-07-20 09:04

Learn from the Kilo text editor.
https://github.com/antirez/kilo

Build Your Own Text Editor: https://viewsourcecode.org/snaptoken/kilo/

6


VIP:

do not edit these