Re: How do you parse the XDG/gnome/kde menu/desktop item structure programmatically (using c)



On Sat, May 08, 2010 at 10:13:07PM -0700, Hans Joseph Solbrig wrote:
> I would like to parse the menu structure for Gnome Panels (the
> standard Gnome Desktop application launcher) using c/c++ function
> calls. That is, I'd like a list of what the base menus and submenus
> for Gnome panels are install in a given machine. I would like to do
> with using fairly simple c/c++ function calls (with no shelling out
> hopefully). 

See gnome-menus repository. It has a libmenu thing. This handles parsing
of those files and so on.

Not a dev, rest you'll have to search.

-- 
Regards,
Olav


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]