Page 77 - PlugGPT_V2.0_C7_Flipbook
P. 77

BLOCK EDITOR
                 This is the place where we code the components added in the Design Window and instruct
                 them about the actions to be performed by them. We can open it by clicking on the Blocks
                 button at the top of the window.
                                                                                               Blocks Button







                                                                                       Backpack
                            Built-in Blocks


                            Components                                  Workspace
                               Blocks



                                                                                          Trash

                    Built-in Blocks: It contains all the predefined blocks in the application. They are responsible
                    for handling operations like Math, Text, Logic and Control.

                    Component Blocks: It contains relevant blocks for the components we have added in the
                    Designer window.
                    Workspace: All the blocks for coding are arranged in the workspace.
                    Trash: It is used for deleting blocks that are not required.
                    Backpack: It stores the copy of all the blocks even when we exit App Inventor. It is used to
                    copy and paste blocks to different screens and projects.

                 Making Click Event for Button

                 Step 1    Click on Talking_Me button.
                 Step 2    Drag and drop the  When Talking_Me.Click do  block,  and drag  and drop it to
                           workspace.



























                                                                                    More on App Development          75
   72   73   74   75   76   77   78   79   80   81   82