Nasal CDU Framework: Difference between revisions

Jump to navigation Jump to search
→‎Field: Added Structure
(→‎Line: Adde types)
(→‎Field: Added Structure)
Line 34: Line 34:


== Field ==
== Field ==
A field holds two lines, the label and the data line, as well as information about what the associated line select key does.
<code>
  var Field = {
    # "Static"
    hash byID,
    func registerInPropTree(path=nil),
    func new(label,data,key_action=nil,ptp=nil),
   
    # "Public"
    scalar me.id,
    scalar me.ptp,
    func me.get_label_line(),
    func me.get_label_line(),
    func        me.used_properties(),
    func me.lsk_binding(),
    func me.enable_lsk(),
    func me.disable_lsk(),
    # "Private"
    (Line) me.label_line,
    (Line) me.data_line,
    scalar me.lsk_active,
  };
</code>


== SubPage ==
== SubPage ==
155

edits

Navigation menu