Learn to program a simple but entertaining game as an introduction to the Xojo programming language. In this game the computer calculates a random number between 1 and 100 and we have to guess it. Follow this tutorial…
Comments closedCategory: Linux
Posts related to Linux development.
First available on iOS, staring with 2021 Release 1 you can now also use the Rotate, Translate, SaveState and RestoreState methods with Desktop projects.
Comments closedLearn to build a reusable Gravatar Connection class for web, desktop and iOS apps using the Gravatar API.
Comments closedOver the years, the list of technologies upon which Apple depends has grown longer. These technologies provide a great deal of benefit both to developers and end users. Fortunately, Apple provides, supports and maintains the tools required to use these technologies at no cost to developers. Unfortunately, Apple only provides tools that run on macOS.
Comments closedXojo Engineers Paul and Travis talk about Xojo 2020 Release 2 and Apple M1 Macs.
Comments closedWith the newly released M1 Macs, there have been lots of questions about being able to run other operating systems on it, particularly from developers that are used to running Window or Linux in Virtual Machines using virtualization on their Intel Macs.
Comments closedFor more years than I’d like to admit, the Layout Editor has been slow in terms of dragging controls around. As you add more controls, it gets worse. For web layouts, it’s been even worse. That’s primarily because we have to draw everything for a web layout whereas for a desktop layout, the OS draws the controls for us.
In an engineering meeting, I mentioned a discussion I had with a user about the speed of the Layout Editor and Travis said he had recently been reminded of how slow it was too. While most of the time issues in Xojo are carefully calculated and prioritized for maximum bang for the buck (as we say around here), that’s not always how it happens. After the meeting, Travis decided to dive into the Layout Editor code and see what could be done to speed it up.
The results are pretty remarkable.
Comments closedStarting with Xojo 2017r2, Linux apps use GTK3. Since Xojo uses native controls that means your app’s controls will use the theme of the Linux distribution the app runs on. This can sometimes mean that your app’s UI will not look exactly like what you designed in the Layout Editor because a theme may dramatically change control sizes and padding. This is a problem that can occur with any modern GTK3 app.
If this is a problem for your apps, there are a couple ways you can work around it.
Comments closedYou can call into Linux APIs to use methods and properties that are not built into the framework by using the Declare command. To create a Declare statement you first need to track down the API you want to use using Linux documentation.
Comments closedIn honor of Pi Day 2018, Xojo Pi licenses will be free! Xojo Pi licenses allow you to build console apps for Linux ARM for use with Raspberry Pi 2 and Raspberry Pi 3.
Comments closed