Jump to content


Photo

skin applet question


  • Please log in to reply
No replies to this topic

#1 zdzislaw22

  • Member
  • 6 posts

0
Neutral

Posted 3 February 2020 - 10:01

Does anyone know if there is a possibility to control skin widget,which doesn't have name from skin applet?

 

Silly Example:

 

  <screen name="MessageBoxSimple" position="center,center" size="600,10" title="Message" zPosition="10" flags="wfNoBorder">
    <widget source="Title" render="Label" position="2,2" size="200,20" backgroundColor="secondBG" transparent="1" zPosition="1" font="Regular;18" valign="center" halign="left" />
    <widget name="text" position="65,8" size="520,0" font="Regular;22" />
    <widget name="ErrorPixmap" pixmap="icons/input_error.png" position="5,5" size="53,53" alphatest="on" />
    <widget name="QuestionPixmap" pixmap="icons/input_question.png" position="5,5" size="53,53" alphatest="on" />
    <widget name="InfoPixmap" pixmap="PLi-HD/icons/input_info.png" position="5,5" size="53,53" alphatest="on" />
    <widget name="list" position="100,100" size="480,375" selectionPixmap="PLi-HD/buttons/sel.png"/>
    <widget name="autoresize" position="0,0" size="0,0" noWrap="1"/>
    <widget source="global.CurrentTime" render="Label" font="Regular;20" position="85,05" size="250,28">
      <convert type="ClockToText">Full</convert>
    </widget>

  <applet type="onLayoutFinish">
  code to hide/unhide clock (render="Label") green line
 </applet>
  </screen>
 

 

or... maybe there is a possibility to get a value of the calling class variable from a converter?

Like for the above example, to check in own converter  if self.type == self.TYPE_YESNO.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users