
Time for action – heading
- Action 1
- Action 2
- Action 3
Instructions often need some extra explanation so that they make sense, so they are followed with:
What just happened?
This heading explains the working of tasks or instructions that you have just completed.
You will also find some other learning aids in the book, including:
Pop quiz – heading
These are short multiple choice questions intended to help you test your own understanding.
Have a go hero – heading
These set practical challenges and give you ideas for experimenting with what you have learned.
You will also find a number of styles of text that distinguish between different kinds of information. Here are some examples of these styles, and an explanation of their meaning.
Code words in text are shown as follows: "The dictionary self.addedEffects
keeps track of all the audio."
A block of code is set as follows:
1 def __init__(self): 2 self.constructPipeline() 3 self.is_playing = False 4 self.connectSignals()
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
1 def constructPipeline(self): 2 self.pipeline = gst.Pipeline() 3 self.filesrc = gst.element_factory_make( 4 "gnlfilesource")
Any command-line input or output is written as follows:
>>>import pygst
New terms and important words are shown in bold. Words that you see on the screen, in menus or dialog boxes for example, appear in the text like this: "You will need to tweak the Effects menu UI and make some other changes in the code to keep track of the added effects."
Note
Warnings or important notes appear in a box like this.
Tip
Tips and tricks appear like this.