actionButton "Navigate to..."

Hi!,

Trying to create an actionButton (CONFIG) for going to my "ToDo" page, can't find a proper way...

-- Add custom configuration here, e.g.:
-- config.set("shortWikiLinks", false)
actionButton.define {
  icon = "pen-tool",
  command ="Journal: Today",
  description = "Diario de HOY",
}
actionButton.define {
  icon = "search",
  command = "Silversearch: Search",
  description = "Búsqueda",
}
actionButton.define {
    ...
     description = "ToDo page"
    ...
 }

Tried to find the "home" button code, but I wasn't able to find.

Thanks in advance.

Try this

actionButton.define {
  description = "ToDo page",
  run = function()
    editor.navigate("ToDo")
  end
}

For reference, you can find the default config implementation (including the Home-button) as part of the built-in standard library: Config. The editor API's also come in handy.

Thanks for your help!