Quantcast
Download
(7 Kb)
Download
Updated: 11-28-15 03:58 PM
Updated:11-28-15 03:58 PM
Created:01-06-12 11:31 PM
Downloads:956
Favorites:0
MD5:
LibDraggable
Version: 0.6
by: seebs [More]
Super simple:

Library.LibDraggable.draggify(window, callback)

makes window draggable and calls callback(window, x, y) every time the window is moved (in case you, say, want to SavedVariables the location.)

Does not save locations, just provides hooks to let you do it.

This is pretty trivial, but it's easy to get almost-right, and it's something I wanted more than once.
0.3: Minor tweaks, ToC update
0.4: SL ToC update
0.5: New event model.
0.6: Workaround for a different usage from Gadgets, who included a modified version for reasons unknown.
Optional Files (0)


Archived Files (4)
File Name
Version
Size
Author
Date
0.5
7kB
seebs
07-12-13 07:56 PM
0.4
7kB
seebs
11-03-12 01:35 AM
0.3
3kB
seebs
06-22-12 09:52 PM
0.1
3kB
seebs
01-06-12 11:31 PM


Post A Reply Comment Options
Unread 06-26-12, 12:26 PM  
Montage
Zombie
 
Montage's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 65
Uploads: 7
Ooooo I might use this for the addon that I'm writing!
Montage is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: