Module dgstuff :: Class dgscroll
[frames] | no frames]

Class dgscroll

source code


An helper class to ease to make a scroller panel

Instance Methods
 
__init__(self, data) (Inherited from dgstuff.dgstuff) source code
 
butenex(self, evt, index, pos)
Hilight management entering and exiting w/ the mouse pointer
source code
 
dbgprint(self, msg) (Inherited from dgstuff.dgstuff) source code
 
finish(self) source code
 
onClick(self, *value)
Common callback for all the items with no specific callback defined (to be overriden)
source code
 
pause(self)
pause the menu controls
source code
 
play(self)
(re)start the menu controls
source code
 
scrollindex(self, delta) source code
 
settexture(self, model, texture=None, wrapmode='clamp', scale=None)
Apply a texture over the menu panel model and set transparency automatically (Inherited from dgstuff.dgstuff)
source code

Inherited from direct.showbase.DirectObject.DirectObject: accept, acceptOnce, addTask, classTree, detectLeaks, doMethodLater, getAllAccepting, ignore, ignoreAll, isAccepting, isIgnoring, removeAllTasks, removeTask

Method Details

pause(self)

source code 

pause the menu controls

Overrides: dgstuff.pause

play(self)

source code 

(re)start the menu controls

Overrides: dgstuff.play