#include <gcu/application.h>
Public Member Functions | |
| Application (string name, string datadir=DATADIR) | |
| void | OnHelp (string s="") |
| bool | HasHelp () |
| string & | GetName () |
Definition at line 37 of file application.h.
| gcu::Application::Application | ( | string | name, | |
| string | datadir = DATADIR | |||
| ) |
| name,: | the name to use for the default icon of all windows and the help file (with .xml extension). | |
| datadir,: | where data for the application are stored. |
| string& gcu::Application::GetName | ( | ) | [inline] |
Definition at line 67 of file application.h.
| bool gcu::Application::HasHelp | ( | ) |
| void gcu::Application::OnHelp | ( | string | s = "" |
) |
| s,: | an optional tag in the help file. Displays the help file using the file browser retrieved from GConf using the "/desktop/gnome/applications/help_viewer/exec" key. If a tag is given, it will be added to the help uri. For an application named "myapp" and a tag "mytag", the uri will be: helpfilename::myapp-mytag. |
1.4.7