diff --git a/docs/src/01_manual/02_signals.md b/docs/src/01_manual/02_signals.md index d7fccbc..dd9aa8e 100644 --- a/docs/src/01_manual/02_signals.md +++ b/docs/src/01_manual/02_signals.md @@ -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) diff --git a/docs/src/01_manual/04_widgets.md b/docs/src/01_manual/04_widgets.md index a344ab6..199e936 100644 --- a/docs/src/01_manual/04_widgets.md +++ b/docs/src/01_manual/04_widgets.md @@ -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.