jonegil / gui-with-gio

Tutorials for Gio, the GUI framework in Go.
https://jonegil.github.io/gui-with-gio/
Other
193 stars 40 forks source link

Chapter 3 questions #16

Closed BuckeyeCoder closed 2 years ago

BuckeyeCoder commented 2 years ago

@jonegil let's leave this issue open until I conclude all Chapter 3 edits. Please reply with answers so I know what to do - thanks!

CH3 Q1: Read the following:

io/system - Provides high-level events that are sent from the window. Most important is the system.FrameEvent. It's effectively a list of operations that do one of two things: details how to handle input and describes what to display.

This is confusing. Does it do one thing or two things? Sounds like two. If its two then it doesn't do

one of two things

it does two things. If its one thing then it "details OR describes", not "details AND describes". I'm not sure which one is right.

jonegil commented 2 years ago

Good catch, agree it's unclear.

A better wording is what's in the docs for system.FrameEvent:

... a list of operations that describes what to display and how to handle input

I'll update Chapter 3 accordingly now.