• 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
Functions
widget.h File Reference
#include <Python.h>
Include dependency graph for widget.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

PyObject * py_create_widget_mask (PyObject *self, PyObject *args)
 
PyObject * py_get_widget_position (PyObject *self, PyObject *args)
 
PyObject * py_move_widget (PyObject *self, PyObject *args)
 
PyObject * py_redraw_widget (PyObject *self, PyObject *args)
 
PyObject * py_redraw_widget_background (PyObject *self, PyObject *args)
 
PyObject * py_resize_widget (PyObject *self, PyObject *args)
 
PyObject * py_set_widget_on_top (PyObject *self, PyObject *args)
 
PyObject * py_toggle_widget_redraw (PyObject *self, PyObject *args)
 

Function Documentation

PyObject* py_create_widget_mask ( PyObject *  self,
PyObject *  args 
)

Widget/createWidgetMask.

SYNOPSIS long createWidgetMask(widget, mask) DESCRIPTION This function doesn't work currently due to a bug in KDE. Please use MASK= in your .theme file for the time being. ARGUMENTS

  • long widget – karamba
  • string mask – The name of the widget mask file. RETURN VALUE 1 if successful

Definition at line 50 of file widget.cpp.

PyObject* py_get_widget_position ( PyObject *  self,
PyObject *  args 
)

Widget/getWidgetPosition.

SYNOPSIS tuple getWidgetPosition(widget) DESCRIPTION Returns a Python Tuple containing the x and y position of you widget. widget is a reference to the current widget. ARGUMENTS

  • long widget – karamba RETURN VALUE position of the widget

Definition at line 37 of file widget.cpp.

PyObject* py_move_widget ( PyObject *  self,
PyObject *  args 
)

Widget/moveWidget.

SYNOPSIS long moveWidget(widget, x, y) DESCRIPTION Moves your karamba widget to a new screen location ARGUMENTS

  • long widget – karamba
  • long x – x coordinate
  • long y – y coordinate RETURN VALUE 1 if successful

Definition at line 121 of file widget.cpp.

PyObject* py_redraw_widget ( PyObject *  self,
PyObject *  args 
)

Widget/redrawWidget.

SYNOPSIS long redrawWidget(widget) DESCRIPTION This is THE most important function. After you do a bunch of other calls (moving images, adding images or text, etc), you call this to update the widget display area. You will not see your changes until you call this. Redraws widget background. ARGUMENTS

  • long widget – karamba RETURN VALUE 1 if successful

Definition at line 82 of file widget.cpp.

PyObject* py_redraw_widget_background ( PyObject *  self,
PyObject *  args 
)

Widget/redrawWidgetBackground.

SYNOPSIS long redrawWidgetBackground(widget) DESCRIPTION Redraws widget background. ARGUMENTS

  • long widget – karamba RETURN VALUE 1 if successful

Definition at line 62 of file widget.cpp.

PyObject* py_resize_widget ( PyObject *  self,
PyObject *  args 
)

Widget/resizeWidget.

SYNOPSIS long resizeWidget(widget, w, h) DESCRIPTION Resizes your karamba widget to width=w, height=h ARGUMENTS

  • long widget – karamba
  • long w – width
  • long h – height RETURN VALUE 1 if successful

Definition at line 103 of file widget.cpp.

PyObject* py_set_widget_on_top ( PyObject *  self,
PyObject *  args 
)

Definition at line 144 of file widget.cpp.

PyObject* py_toggle_widget_redraw ( PyObject *  self,
PyObject *  args 
)

Widget/toggleWidgetRedraw.

SYNOPSIS long toggleWidgetRedraw(widget, b) DESCRIPTION Toggles widget redraw. ARGUMENTS

  • long widget – karamba
  • long b – 1 = widget is drawn RETURN VALUE 1 if successful

Definition at line 154 of file widget.cpp.

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