From 5ba3c2ffaef665e7eb5553d56767246dfa3fc072 Mon Sep 17 00:00:00 2001 From: Thomas Marks Date: Thu, 11 Jan 2024 18:11:44 -0500 Subject: [PATCH 1/2] Update 02_signals.md --- docs/src/01_manual/02_signals.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) From 5cc2c8b1927578c9a5b3e6aac76c728b187a94b8 Mon Sep 17 00:00:00 2001 From: Thomas Marks Date: Thu, 11 Jan 2024 18:35:47 -0500 Subject: [PATCH 2/2] add exclamation pt to set_margin! in ch. 4 --- docs/src/01_manual/04_widgets.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.