Search found 112 matches

by ZerOne
Fri Jan 09, 2026 2:50 am
Forum: Programming and API Forums
Topic: 2 - Building GTK# (GTK3 / C# / Glade / Visual Studio Code)
Replies: 0
Views: 47

2 - Building GTK# (GTK3 / C# / Glade / Visual Studio Code)

This Topic Covers how to compile and run your first GTK3 / C# project generated from the previous part 1 Topic (For Linux or Mac OSX) 1) Open Visual Studio Code 2) Open the project generated previously when the xx command was executed 3) Edit the the xxxxxx.csproj file 4) Change the <TargetFramework...
by ZerOne
Thu Oct 30, 2025 8:22 am
Forum: Programming and API Forums
Topic: GTK# (GTK3 / C# / Glade / Visual Studio Code) Mac OSX
Replies: 1
Views: 631

Re: GTK# (GTK3 / C# / Glade / Visual Studio Code) Mac OSX

Installing the Prerequisites 1) Install Homebrew /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" 2) Install GTK3, GTK4 and GTK Source brew install gtk+3 brew install gtk+4 brew install gtksourceview4 3) Install Glade, using the homebrew pack...
by ZerOne
Thu Oct 30, 2025 8:13 am
Forum: Programming and API Forums
Topic: GTK# (GTK3 / C# / Glade / Visual Studio Code) Mac OSX
Replies: 1
Views: 631

GTK# (GTK3 / C# / Glade / Visual Studio Code) Mac OSX

Introduction GtkSharp is a .NET wrapper for the GTK library, enabling developers to create graphical user interfaces (GUIs) in C#. It provides bindings for GTK and related libraries such as GLib, GDK, Pango, and Cairo, making it a powerful tool for cross-platform application development. This quick...
by ZerOne
Thu Oct 30, 2025 5:35 am
Forum: Programming and API Forums
Topic: GTK# (GTK3 / C# / Glade / Visual Studio Code) - Linux
Replies: 4
Views: 1408

Re: GTK# (GTK3 / C# / Glade / Linux Visual Studio Code)

Example: A Simple GTK Window in C# Here’s an example of creating a simple GTK window using GtkSharp: using Gtk; class Program { static void Main(string[] args) { Application.Init(); // Initialize the GTK application // Create a new window var window = new Window("Hello, GtkSharp!"); windo...
by ZerOne
Thu Oct 30, 2025 5:33 am
Forum: Programming and API Forums
Topic: GTK# (GTK3 / C# / Glade / Visual Studio Code) - Linux
Replies: 4
Views: 1408

Re: GTK# (GTK3 / C# / Glade / Linux Visual Studio Code)

Creating a GTK Application in C# You can quickly scaffold a new GTK application using the dotnet new templating engine. First, install the GtkSharp template by running the following in a Terminal window. dotnet new --install GtkSharp.Template.CSharp Then, generate a new GTK application project: dot...
by ZerOne
Thu Oct 30, 2025 5:31 am
Forum: Programming and API Forums
Topic: GTK# (GTK3 / C# / Glade / Visual Studio Code) - Linux
Replies: 4
Views: 1408

Re: GTK# (GTK3 / C# / Glade / Linux Visual Studio Code)

To use GtkSharp, you need to install the necessary NuGet packages. The primary package is GtkSharp, but additional libraries like GdkSharp, PangoSharp, and CairoSharp can be included depending on your requirements. For example, you can install the main package using the following command: dotnet add...
by ZerOne
Thu Oct 30, 2025 5:26 am
Forum: Programming and API Forums
Topic: GTK# (GTK3 / C# / Glade / Visual Studio Code) - Linux
Replies: 4
Views: 1408

Re: GTK# (GTK3 / C# / Glade / Linux Visual Studio Code)

Installing the Prerequisites 1) Install Glade, using your linux package manager sudo apt install glade 2) Download the .NET framework for your operating system, using the following LINK 3) Install the .NET DEB Package. 4) Download Visual Studio Code for your operating system using this LINK 5) Inst...
by ZerOne
Thu Oct 30, 2025 5:18 am
Forum: Programming and API Forums
Topic: GTK# (GTK3 / C# / Glade / Visual Studio Code) - Linux
Replies: 4
Views: 1408

GTK# (GTK3 / C# / Glade / Visual Studio Code) - Linux

Introduction GtkSharp is a .NET wrapper for the GTK library, enabling developers to create graphical user interfaces (GUIs) in C#. It provides bindings for GTK and related libraries such as GLib, GDK, Pango, and Cairo, making it a powerful tool for cross-platform application development. This quick...
by ZerOne
Wed Oct 02, 2024 12:42 am
Forum: 433MHz RF Device Discussion
Topic: 433Mhz (1527 Chipset) Smoke / Fire Sensor Discussion
Replies: 1
Views: 160264

Re: 433Mhz (1527 Chipset) Smoke / Fire Sensor Discussion

Smoke Alarm Model #: ????? Voltage: 3V (2xAA 1.5V batteries) Alarm Sound: < 85dB Dimensions: ???? Smoke / Fire Detected : 0x06 Low Battery Event : ??? (Te Be Tested) Device Heartbeat Transmission : ?? Back Tamper Signal : NA Transmit Signal Strength : ?? Pros : * Runs on 2xAA Battery * System Test ...

Go to advanced search