enigma2  2.6
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
Plugins.SystemPlugins.SoftwareManager.plugin.PacketManager Class Reference
Inheritance diagram for Plugins.SystemPlugins.SoftwareManager.plugin.PacketManager:
Screens.Screen.Screen Tools.NumericalTextInput.NumericalTextInput Components.GUISkin.GUISkin

Public Member Functions

def __init__ (self, session, plugin_path, args=None)
 
def keyNumberGlobal (self, val)
 
def keyGotAscii (self)
 
def setNextIdx (self, char)
 
def getNextIdx (self, char)
 
def exit (self)
 
def reload (self)
 
def setWindowTitle (self)
 
def setStatus (self, status=None)
 
def rebuildList (self)
 
def go (self, returnValue=None)
 
def runRemove (self, result)
 
def runRemoveFinished (self)
 
def RemoveReboot (self, result)
 
def runUpgrade (self, result)
 
def runUpgradeFinished (self)
 
def UpgradeReboot (self, result)
 
def ipkgCallback (self, event, param)
 
def IpkgList_Finished (self, result, retval, extra_args=None)
 
def IpkgListInstalled_Finished (self, result, retval, extra_args=None)
 
def OpkgListUpgradeable_Finished (self, result, retval, extra_args=None)
 
def buildEntryComponent (self, name, version, description, state)
 
def buildPacketList (self)
 
def reloadPluginlist (self)
 
- Public Member Functions inherited from Screens.Screen.Screen
def saveKeyboardMode (self)
 
def setKeyboardModeAscii (self)
 
def setKeyboardModeNone (self)
 
def restoreKeyboardMode (self)
 
def execBegin (self)
 
def execEnd (self)
 
def doClose (self, immediate=True)
 
def doCloseInternal (self)
 
def close (self, *retval)
 
def setFocus (self, o)
 
def show (self)
 
def hide (self)
 
def enable (self, do_show=True)
 
def disable (self)
 
def isEnabled (self)
 
def __repr__ (self)
 
def getRelatedScreen (self, name)
 
def setShowHideAnimation (self, animation_key)
 
def neverAnimate (self)
 
def canAnimate (self)
 
def ignoreSource (self, name)
 
- Public Member Functions inherited from Components.GUISkin.GUISkin
def __init__ (self, windowTitle=None)
 
def createGUIScreen (self, parent, desktop, updateonly=False)
 
def deleteGUIScreen (self)
 
def close (self)
 
def createSummary (self)
 
def addSummary (self, summary)
 
def removeSummary (self, summary)
 
def setTitle (self, title)
 
def getTitle (self)
 
def setDesktop (self, desktop)
 
def applySkin (self)
 
def setZPosition (self, z)
 
- Public Member Functions inherited from Tools.NumericalTextInput.NumericalTextInput
def setUseableChars (self, useable)
 
def getKey (self, num)
 
def nextKey (self)
 
def nextChar (self)
 
def timeout (self)
 

Public Attributes

 session
 
 skin_path
 
 list
 
 statuslist
 
 list_updating
 
 packetlist
 
 installed_packetlist
 
 upgradeable_packages
 
 Console
 
 cmdList
 
 cachelist
 
 cache_ttl
 
 cache_file
 
 oktext
 
 unwanted_extensions
 
 ipkg
 
 inv_cache
 
 vc
 
 run
 
- Public Attributes inherited from Screens.Screen.Screen
 skinName
 
 session
 
 parent
 
 onClose
 
 onFirstExecBegin
 
 onExecBegin
 
 onShown
 
 onShow
 
 onHide
 
 onExecEnd
 
 onHideFinished
 
 execing
 
 shown
 
 already_shown
 
 renderer
 
 helpList
 
 close_on_next_exec
 
 stand_alone
 
 keyboardMode
 
 active_components
 
 persisted_members
 
- Public Attributes inherited from Components.GUISkin.GUISkin
 onLayoutFinish
 
 summaries
 
 instance
 
 desktop
 
 scale
 
- Public Attributes inherited from Tools.NumericalTextInput.NumericalTextInput
 mapping
 
 lang
 
 useableChars
 
 nextFunction
 
 timer
 
 timer_conn
 
 lastKey
 
 pos
 

Static Public Attributes

string skin
 
- Static Public Attributes inherited from Screens.Screen.Screen
int SUSPEND_NONE = 0
 
int SUSPEND_STOPS = 1
 
int SUSPEND_PAUSES = 2
 
int ALLOW_SUSPEND = SUSPEND_NONE
 
- Static Public Attributes inherited from Components.GUISkin.GUISkin
bool IS_DIALOG = False
 

Additional Inherited Members

- Properties inherited from Components.GUISkin.GUISkin
 title = property(getTitle, setTitle)
 

Constructor & Destructor Documentation

◆ __init__()

def Plugins.SystemPlugins.SoftwareManager.plugin.PacketManager.__init__ (   self,
  session,
  plugin_path,
  args = None 
)

Reimplemented from Screens.Screen.Screen.

Member Function Documentation

◆ buildEntryComponent()

def Plugins.SystemPlugins.SoftwareManager.plugin.PacketManager.buildEntryComponent (   self,
  name,
  version,
  description,
  state 
)

◆ buildPacketList()

def Plugins.SystemPlugins.SoftwareManager.plugin.PacketManager.buildPacketList (   self)

◆ exit()

def Plugins.SystemPlugins.SoftwareManager.plugin.PacketManager.exit (   self)

◆ getNextIdx()

def Plugins.SystemPlugins.SoftwareManager.plugin.PacketManager.getNextIdx (   self,
  char 
)

◆ go()

def Plugins.SystemPlugins.SoftwareManager.plugin.PacketManager.go (   self,
  returnValue = None 
)

◆ ipkgCallback()

def Plugins.SystemPlugins.SoftwareManager.plugin.PacketManager.ipkgCallback (   self,
  event,
  param 
)

◆ IpkgList_Finished()

def Plugins.SystemPlugins.SoftwareManager.plugin.PacketManager.IpkgList_Finished (   self,
  result,
  retval,
  extra_args = None 
)

◆ IpkgListInstalled_Finished()

def Plugins.SystemPlugins.SoftwareManager.plugin.PacketManager.IpkgListInstalled_Finished (   self,
  result,
  retval,
  extra_args = None 
)

◆ keyGotAscii()

def Plugins.SystemPlugins.SoftwareManager.plugin.PacketManager.keyGotAscii (   self)

◆ keyNumberGlobal()

def Plugins.SystemPlugins.SoftwareManager.plugin.PacketManager.keyNumberGlobal (   self,
  val 
)

◆ OpkgListUpgradeable_Finished()

def Plugins.SystemPlugins.SoftwareManager.plugin.PacketManager.OpkgListUpgradeable_Finished (   self,
  result,
  retval,
  extra_args = None 
)

◆ rebuildList()

def Plugins.SystemPlugins.SoftwareManager.plugin.PacketManager.rebuildList (   self)

◆ reload()

def Plugins.SystemPlugins.SoftwareManager.plugin.PacketManager.reload (   self)

◆ reloadPluginlist()

def Plugins.SystemPlugins.SoftwareManager.plugin.PacketManager.reloadPluginlist (   self)

◆ RemoveReboot()

def Plugins.SystemPlugins.SoftwareManager.plugin.PacketManager.RemoveReboot (   self,
  result 
)

◆ runRemove()

def Plugins.SystemPlugins.SoftwareManager.plugin.PacketManager.runRemove (   self,
  result 
)

◆ runRemoveFinished()

def Plugins.SystemPlugins.SoftwareManager.plugin.PacketManager.runRemoveFinished (   self)

◆ runUpgrade()

def Plugins.SystemPlugins.SoftwareManager.plugin.PacketManager.runUpgrade (   self,
  result 
)

◆ runUpgradeFinished()

def Plugins.SystemPlugins.SoftwareManager.plugin.PacketManager.runUpgradeFinished (   self)

◆ setNextIdx()

def Plugins.SystemPlugins.SoftwareManager.plugin.PacketManager.setNextIdx (   self,
  char 
)

◆ setStatus()

def Plugins.SystemPlugins.SoftwareManager.plugin.PacketManager.setStatus (   self,
  status = None 
)

◆ setWindowTitle()

def Plugins.SystemPlugins.SoftwareManager.plugin.PacketManager.setWindowTitle (   self)

◆ UpgradeReboot()

def Plugins.SystemPlugins.SoftwareManager.plugin.PacketManager.UpgradeReboot (   self,
  result 
)

Member Data Documentation

◆ cache_file

Plugins.SystemPlugins.SoftwareManager.plugin.PacketManager.cache_file

◆ cache_ttl

Plugins.SystemPlugins.SoftwareManager.plugin.PacketManager.cache_ttl

◆ cachelist

Plugins.SystemPlugins.SoftwareManager.plugin.PacketManager.cachelist

◆ cmdList

Plugins.SystemPlugins.SoftwareManager.plugin.PacketManager.cmdList

◆ Console

Plugins.SystemPlugins.SoftwareManager.plugin.PacketManager.Console

◆ installed_packetlist

Plugins.SystemPlugins.SoftwareManager.plugin.PacketManager.installed_packetlist

◆ inv_cache

Plugins.SystemPlugins.SoftwareManager.plugin.PacketManager.inv_cache

◆ ipkg

Plugins.SystemPlugins.SoftwareManager.plugin.PacketManager.ipkg

◆ list

Plugins.SystemPlugins.SoftwareManager.plugin.PacketManager.list

◆ list_updating

Plugins.SystemPlugins.SoftwareManager.plugin.PacketManager.list_updating

◆ oktext

Plugins.SystemPlugins.SoftwareManager.plugin.PacketManager.oktext

◆ packetlist

Plugins.SystemPlugins.SoftwareManager.plugin.PacketManager.packetlist

◆ run

Plugins.SystemPlugins.SoftwareManager.plugin.PacketManager.run

◆ session

Plugins.SystemPlugins.SoftwareManager.plugin.PacketManager.session

◆ skin

string Plugins.SystemPlugins.SoftwareManager.plugin.PacketManager.skin
static
Initial value:
= """
<screen name="PacketManager" position="center,120" size="820,520" title="Packet manager">
<ePixmap pixmap="skin_default/buttons/red.png" position="10,5" size="200,40" />
<ePixmap pixmap="skin_default/buttons/green.png" position="210,5" size="200,40" />
<widget source="key_red" render="Label" position="10,5" size="200,40" zPosition="1" font="Regular;20" halign="center" valign="center" backgroundColor="#9f1313" transparent="1" foregroundColor="white" shadowColor="black" shadowOffset="-2,-2"/>
<widget source="key_green" render="Label" position="210,5" size="200,40" zPosition="1" font="Regular;20" halign="center" valign="center" backgroundColor="#1f771f" transparent="1" foregroundColor="white" shadowColor="black" shadowOffset="-2,-2"/>
<eLabel position="10,50" size="800,1" backgroundColor="grey" />
<widget source="list" render="Listbox" position="10,55" size="800,420" enableWrapAround="1" scrollbarMode="showOnDemand" transparent="1">
<convert type="TemplatedMultiContent">
{"template": [
MultiContentEntryText(pos=(60,2),size=(710,28),font=0,flags=RT_HALIGN_LEFT,text=0),# index 0 is the name
MultiContentEntryText(pos=(70,33),size=(700,20),font=1,flags=RT_HALIGN_LEFT,text=2),# index 2 is the description
MultiContentEntryPixmapAlphaTest(pos=(5,5),size=(48,48),png=4),# index 5 is the status pixmap
MultiContentEntryPixmapAlphaTest(pos=(0,59),size=(800,1),png=5),# index 6 is the div pixmap
],
"fonts": [gFont("Regular",24),gFont("Regular",18)],
"itemHeight": 60
}
</convert>
</widget>
<eLabel position="10,480" size="800,1" backgroundColor="grey"/>
</screen>"""

◆ skin_path

Plugins.SystemPlugins.SoftwareManager.plugin.PacketManager.skin_path

◆ statuslist

Plugins.SystemPlugins.SoftwareManager.plugin.PacketManager.statuslist

◆ unwanted_extensions

Plugins.SystemPlugins.SoftwareManager.plugin.PacketManager.unwanted_extensions

◆ upgradeable_packages

Plugins.SystemPlugins.SoftwareManager.plugin.PacketManager.upgradeable_packages

◆ vc

Plugins.SystemPlugins.SoftwareManager.plugin.PacketManager.vc

The documentation for this class was generated from the following file: