Skip to main content

declare

Function declare 

Source
pub fn declare(
    store: &SharedStore,
    owner: &OwnerId,
    prefix: &str,
    columns: &[Column],
) -> Result<(), DeclareError>
Expand description

Declares a table’s values in the store: <prefix>/sort (text: name, -name or empty) and <prefix>/widths (one per column). Call it once, from the plugin owning the table.