Welcome to my Haiku-PyAPI Examples repository! This repository is designed to help beginners get started with using the Haiku-PyAPI, which provides Python bindings for the Haiku API. Each example in this repository includes detailed comments and a link to the official documentation for the class used in that example.
To run the examples in this repository, you'll need the following:
- Haiku-PyAPI: You can find the Haiku-PyAPI repository here.
- Python 3.10: Make sure you have Python 3.10 installed on your system.
First, clone this repository to your local machine:
git clone https://github.com/yourusername/Haiku-PyAPI-Examples.git
cd Haiku-PyAPI-Examples
Next, install the Haiku-PyAPI. Follow the instructions provided in the Haiku-PyAPI repository to set it up.
This repository contains a series of examples to help you get started. Each example is designed to demonstrate a specific feature or class of the Haiku API.
- Example 1: Basic Window
- Description: Shows how to create a basic window using Haiku-PyAPI.
- Documentation: BWindow
- Example 2: Button Click
- Description: Demonstrates how to create a button and handle click events.
- Documentation: BButton
- Example 3: Text Control
- Description: Illustrates the use of text controls for user input.
- Documentation: BTextControl
- And more...
For more information on programming with Haiku, check out these resources:
- Haiku-PyAPI Repository: Haiku-PyAPI GitHub
- Programming the Be Operating System: Read the book
- Haiku API Documentation: Haiku API Docs
We welcome contributions! If you have an example you'd like to add or improvements to existing examples, please submit a pull request.
This project is licensed under the MIT License. See the LICENSE file for details.
We hope these examples help you get started with Haiku-PyAPI. If you have any questions or run into any issues, feel free to open an issue on this repository.
Happy coding!