Skip to content

Hello, World! Example

Peter JOHN Matecsa edited this page Mar 15, 2022 · 2 revisions

Overview

The traditional way to check that your development environment is functioning is to make a "Hello, World!" application.

Key Concepts

  • basic functionality

Design Steps

  1. Launch the designer or if already running use 'File' to start a 'New' project.
  2. Click the 'Design' tab.
  3. In the 'Containers' sub-tab, click 'Toplevel'. A blue box should appear in the preview.
  4. Click the sub-tab 'Control & Display'. If you don't see 'Label,' press the right arrow until you do so.
  5. Click the 'Label' widget. In the preview pane, you should now see 'label1'.
  6. In the properties pane, locate the label 'text:.'
  7. To the label's right, replace 'label1' with 'Hello, World!'.
  8. Before proceeding, ensure that your screen looks as follows.

hello-world-a macOS Catalina screen-shot of pygubu-designer v0.24

Preview Steps

  1. Click 'Preview' in the top menu bar of the designer.
  2. Select 'Preview in Toplevel'.
  3. Observe the following somewhere on your screen, and then close it.

hello-world-b macOS Catalina screen-shot of pygubu-designer v0.24

Clone this wiki locally