Ticket #29 (closed enhancement: fixed)

Opened 3 years ago

Last modified 2 years ago

[patch] adds plugin_file and one function, readline

Reported by: cmaj Owned by: michael
Priority: normal Component: lcd4linux
Version: Severity: normal
Keywords: Cc:

Description

A single line of text from a file can be read by the plugin by specifying the name of the file and the line number to read. Example:

Widget weatherline {
    class 'Text'
    expression file::readline('/tmp/weather',1)
    width 20
    align 'M'
    update 1000
}

Attachments

plugin_file.c (2.6 kB) - added by cmaj 3 years ago.
plugin_file.diff (11.3 kB) - added by cmaj 3 years ago.

Change History

Changed 3 years ago by cmaj

Changed 3 years ago by cmaj

Changed 3 years ago by michael

  • status changed from new to closed
  • resolution set to fixed

Commited to CVS. Thanks a lot for your contribution!

Add/Change #29 ([patch] adds plugin_file and one function, readline)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.