Skip to content

Commit

Permalink
Merge pull request #56 from archermarx/patch-1
Browse files Browse the repository at this point in the history
Minor docs change on Chapter 2
  • Loading branch information
Clemapfel authored Feb 8, 2024
2 parents 4cd6bdb + 5cc2c8b commit 3fe2e89
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/src/01_manual/02_signals.md
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,7 @@ connect_signal_clicked!(button_01, button_02) do button_01::Button, button_02::B
set_signal_clicked_blocked!(button_01, false)
end

connect_signal_clicked!(button_02) do button_02::Button, button_01::Button
connect_signal_clicked!(button_02, button_01) do button_02::Button, button_01::Button
println("02 clicked")

# block self (02)
Expand Down
2 changes: 1 addition & 1 deletion docs/src/01_manual/04_widgets.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ set_margin_horizontal(widget, 10)
set_margin_vertical(widget, 10)

# equivalent to
set_margin(widget, 10)
set_margin!(widget, 10)
```

Where [`set_margin_horizontal!`](@ref), [`set_margin_vertical!`](@ref) set two of the margins at the same time, while [`set_margin!`](@ref) sets all four margins at once.
Expand Down

0 comments on commit 3fe2e89

Please sign in to comment.