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

Re: GUI



On Wed, May 21, 2014 at 12:54:59PM +0530, Divya Subramanian wrote:
>    I want to create a GUI, in which, on clicking applications menu, it must
>    show the installed apps in a grid view.
> 
>    Can anyone help me ?

First of all, create the application in your favourite programming
language. Personally, I would look at using some sort of flexible
container as the main element of the GUI and populating it with cells
according to the list of applications. Consult the manual of your widget
toolkit for how to do that.

Next, in order to learn what applications are installed, you're probably
best following the XDG-Menu specification[1]. AFAIK, all the major
desktops follow the XDG specifications to some extent so you should be
able to pick up all the application information that way.

Finally, depending on your desktop, remove the existing application menu
from the panel and add an application launcher with calls your new
application.

For extra credit, why not package up the result and get it into Debian?
:)


[1] https://freedesktop.org/www/Specifications/menu-spec/

>     Regards,
>    Divya Subramanian

Attachment: signature.asc
Description: Digital signature


Reply to: