Skip to content

First Programs 'A first program' simplewindow.vala doesn't compile #4

Description

@stephenmjmaxwell

The simplewindow code example doesn't compile with error:
valac --pkg gtk+-3.0 simplewindow.vala:6.27-6.32: error: The name Window' does not exist in the context of main' Gtk.Window window = new Window();

It does compile when Gtk.Window window = new Window(); changed to var window = new Gtk.Window ();

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions