• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdeutils API Reference
  • KDE Home
  • Contact Us
 

superkaramba

  • sources
  • kde-4.12
  • kdeutils
  • superkaramba
  • src
  • python
svcgrp.h
Go to the documentation of this file.
1 /***************************************************************************
2  * Copyright (C) 2004 Luke Kenneth Casson Leighton <lkcl@lkcl.net> *
3  * *
4  * This program is free software; you can redistribute it and/or modify *
5  * it under the terms of the GNU General Public License as published by *
6  * the Free Software Foundation; either version 2 of the License, or *
7  * (at your option) any later version. *
8  ***************************************************************************/
9 
10 #ifndef SVC_GRPS_PYTHON_H
11 #define SVC_GRPS_PYTHON_H
12 
13 #include <Python.h>
14 
15 //****p* Misc/getServiceGroups
16 //
17 // SYNOPSIS
18 // list getServiceGroups(widget, path)
19 // DESCRIPTION
20 // This function returns a list of services and service groups
21 // that are in the user's KDE Menu. It is not a recursive
22 // function, so if there are submenus (service groups) in the
23 // returned results, you must call getServiceGroups with the
24 // path of the submenu in order to obtain the information in
25 // that submenu.
26 // The return result is complex: it's a list of tuples.
27 // The tuple contains two elements - a 1 if the second element
28 // is a service, and a 0 if it's a service group.
29 // The second element is a dictionary, with keys (if they exist)
30 // of caption, comment, icon, and relpath if it's a service group,
31 // and keys (if they exist) of exec, menuid, name, path, icon,
32 // library, comment, type and genericname.
33 // To fully understand the return results of this function,
34 // it is thoroughly recommended // that you look up the
35 // KDE documentation on KServiceGroup and KService.
36 // ARGUMENTS
37 // * long widget -- karamba
38 // * string path -- path to the Service Group you wish to retrieve
39 // RETURN VALUE
40 // List of Dictionaries of services and service groups
41 //***
42 PyObject* py_get_service_groups(PyObject *self, PyObject *args);
43 
44 #endif // SVC_GRPS_PYTHON_H
PyObject
struct _object PyObject
Definition: python/karamba.h:35
py_get_service_groups
PyObject * py_get_service_groups(PyObject *self, PyObject *args)
Definition: svcgrp.cpp:156
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:07:20 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

superkaramba

Skip menu "superkaramba"
  • Main Page
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdeutils API Reference

Skip menu "kdeutils API Reference"
  • ark
  • filelight
  • kcalc
  • kcharselect
  • kdf
  • kfloppy
  • kgpg
  • kremotecontrol
  • ktimer
  • kwallet
  • superkaramba
  • sweeper

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal