Bug 120262 - Enhanced itemDropped-func with x,y-value
Summary: Enhanced itemDropped-func with x,y-value
Status: RESOLVED FIXED
Alias: None
Product: superkaramba
Classification: Miscellaneous
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR wishlist
Target Milestone: ---
Assignee: Ryan Nickell
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-16 21:02 UTC by onsen-neko
Modified: 2006-01-18 18:26 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description onsen-neko 2006-01-16 21:02:43 UTC
Version:            (using KDE KDE 3.5.0)
Installed from:    Ubuntu Packages
OS:                Linux

The Python-Function itemDropped, which is used for catch up dropped items (or better say, their url), should also return the value for x,y-axis. So, it's possible to define individuel areas on a widget with different beheaviour for droped items (like a tasklist which relay the dropped url to the running app).
Comment 1 Ryan Nickell 2006-01-18 18:26:07 UTC
SVN commit 499776 by nickell:

BUG:120262 - itemDropped callback now has x/y cooridinates
BUG:116618 - Many new functions added:
callTheme - Pass a string to another theme
changeInterval - Change the refresh interval of the theme
createServiceClickArea - Create a Service-named Click Area Sensor
getIncomingData - Get incoming data passed from another theme
getPrettyThemeName - Get the pretty name of the theme
getServiceGroups - Get KDE Service Groups
getSystraySize - Get the size of the Systray
getUpdateTime - Get last updated time
managementPopup - Activates the Management Popup menu (i.e. SK right click config menu)
openNamedTheme - Open a new theme giving it a new name
removeClickArea - Remove a Click Area Sensor
run - Execute a command with KRun
setIncomingData - Set incoming data passed in another theme
setUpdateTime - Set last updated time
setWantRightButton - Set to 1 to deactivate management popups (i.e. SK right click config menu)
setWidgetOnTop - changes 'on top' status

Patch reviewed by Matt Rogers.



 M  +7 -1      AUTHORS  
 M  +16 -16    src/Makefile.am  
 M  +32 -12    src/clickarea.cpp   [POSSIBLY UNSAFE: KRun::runCommand]
 M  +4 -0      src/clickarea.h  
 M  +3 -0      src/dcopinterface.h  
 M  +1 -0      src/imagelabel_python.cpp  
 M  +97 -12    src/karamba.cpp  
 M  +40 -4     src/karamba.h  
 M  +53 -5     src/karamba_python.cpp  
 M  +3 -2      src/karamba_python.h  
 M  +20 -0     src/karambaapp.cpp  
 M  +1 -0      src/karambaapp.h  
 M  +29 -2     src/karambainterface.cpp  
 M  +3 -0      src/karambainterface.h  
 M  +2 -0      src/karambasessionmanaged.cpp  
 M  +1 -0      src/main.cpp  
 M  +5 -0      src/meter.cpp  
 M  +4 -0      src/meter.h  
 M  +270 -3    src/misc_python.cpp   [UTF-8 ENCODING PROBLEMS]
 M  +239 -4    src/misc_python.h   [UTF-8 ENCODING PROBLEMS]
 M  +4 -0      src/systemtray.cpp  
 M  +1 -0      src/systemtray.h  
 M  +22 -0     src/systray_python.cpp  
 M  +1 -0      src/systray_python.h  
 M  +20 -0     src/widget_python.cpp  
 M  +1 -0      src/widget_python.h