xmenu: my first project with xlib - Programming On Unix
Users browsing this thread: 3 Guest(s)
|
|||
I am learning C and Xlib, and this is my first project with xlib: xmenu.
It is a small utility that receives a menu specification in stdin, shows a menu where you can select one of the options, and outputs the option selected to stdout. It receives as input a menu specification where each line is a menu entry. Each line can be indented with tabs to represent nested menus. Each line is made out of a label and a command separated by tab. When you select an entry in the menu, the corresponding command is output to the stdout. It becomes clearer by trying it. I need some help with xlib, though, if someone here understand it, I will appreciate some help. EDIT: I updated the program, here is how it looks now: |
|||
Messages In This Thread |
xmenu: my first project with xlib - by seninha - 14-05-2020, 06:45 PM
RE: xmenu: my first project with xlib - by z3bra - 14-05-2020, 07:32 PM
RE: xmenu: my first project with xlib - by seninha - 14-05-2020, 08:08 PM
RE: xmenu: my first project with xlib - by venam - 15-05-2020, 02:47 AM
RE: xmenu: my first project with xlib - by z3bra - 15-05-2020, 06:33 AM
RE: xmenu: my first project with xlib - by movq - 15-05-2020, 09:49 AM
RE: xmenu: my first project with xlib - by seninha - 15-05-2020, 10:20 AM
RE: xmenu: my first project with xlib - by venam - 15-05-2020, 03:04 PM
RE: xmenu: my first project with xlib - by seninha - 15-05-2020, 07:29 PM
RE: xmenu: my first project with xlib - by seninha - 18-05-2020, 10:48 PM
RE: xmenu: my first project with xlib - by venam - 19-05-2020, 12:49 AM
RE: xmenu: my first project with xlib - by seninha - 28-07-2020, 03:29 PM
RE: xmenu: my first project with xlib - by opfez - 29-07-2020, 01:17 PM
|