Commit graph

12 commits

Author SHA1 Message Date
aydwi
dafbcc8418 Update recipes.md
Fix a small namespace bug in C++ sample code for "Global Callbacks"
2022-07-06 21:53:54 +02:00
Olivier Goffart
f75a0d4e0f
Recipes: Slider and Tabs 2022-04-20 18:03:40 +02:00
Olivier Goffart
ca5bfd3426 Doc recipes: add custom widgets 2022-04-19 17:11:20 +02:00
Olivier Goffart
c24a51aaba Apply suggestions from code review
grammar and wording fixes

Co-authored-by: Simon Hausmann <simon.hausmann@slint-ui.com>
2022-04-05 06:39:21 +02:00
Olivier Goffart
7979d54c85 Recipes: Add some text to fill it 2022-04-05 06:39:21 +02:00
Simon Hausmann
72cf11b855 Adapt to correct no-preview code fence syntax 2022-04-04 10:01:26 +02:00
Simon Hausmann
87d66d0e53 Fix the compilation of the global callback example recipe 2022-04-04 10:01:26 +02:00
Simon Hausmann
f1e7f876f9 Make the showing/hiding of language snippets explicit in the markup
Use a data attribute instead of relying on the structure of rustdoc and myst-parser/sphinx.
2022-04-04 10:01:26 +02:00
Simon Hausmann
2e9fc34af3 Don't run the global callback example as preview 2022-04-04 10:01:26 +02:00
Simon Hausmann
809b29a422 Added example of invoking a global callback 2022-04-04 10:01:26 +02:00
Simon Hausmann
f88b9f143e Fix doctest
Make the native Rust example compile
2022-04-04 10:01:26 +02:00
Simon Hausmann
4c88b2b19b Start a page with examples and recipes
This is the beginning of a page to collect common things users need to
do, in a format that they can copy & paste into their application code.

There's a lot more that could be done though.
2022-04-04 10:01:26 +02:00