Пример #1
0
void TableofcontentsMenuItem::on_activate ()
{
  goto_heading(m_note, m_heading_position);
}
Пример #2
0
void TableofcontentsNoteAddin::on_goto_heading(const Glib::VariantBase & param)
{
  int value = Glib::VariantBase::cast_dynamic<Glib::Variant<gint32>>(param).get();
  goto_heading(get_note(), value);
}