Posts

Showing posts with the label gui

Hello GTK# from IronPython and F#

GTK# is a managed interface to the GTK user interface library. GTK# is part of the Mono project, but it can also be used from .NET on Windows. In this blog entry, another one from Steve Gilham, he illustrates using GTK# from both IronPython and C# by porting some C# examples. “Hello GTK#” from the latest IronPython and F# A little post to record a short bit of spiking with GTK# as UI toolkit, porting the simple C# examples from here to my preferred .net languages. Neither of these explorations are totally novel -- there are examples in either language to Google, but not all of them recorded all the details of the slight rough spots that needed a little working (and they were often not at all recent, either). For IronPython 2.6 latest with GTK# 2.12.9-2, running the programs as ipy Program.py . The dynamic nature of the language means we can lose a lot of the declaration clutter. We just have to explicitly reference the main GTK# assembly (which is GAC'd by the GTK# install...

Developing cross-platform applications with IronPython: GtkBuilder and Glade on IronPython

Image
IronPython is a great cross-platform development language, running on the Microsoft .NET framework for Windows and on Mono just about everywhere. Even for CPython developers IronPython has a few features that make it of interest. These include: Under IronPython there is no Global Interpreter Lock (GIL) meaning that multi-threaded pure-Python applications can scale across multiple CPUs with no extra work from the developer .NET AppDomains allow you to create Python engines and restrict their security privileges, including controlling network and filesystem access and which assemblies the Python code can use Easily create Python applications with multiple isolated Python engines in the same process Easy to compile applications to binary and make binary only applications Through the Dynamic Language Runtime (DLR) you get interoperability with languages like C# / F# / IronRuby and IronScheme Extending IronPython with C#, for performance, is worlds easier than extending Python with C For d...

Python GUI Programming Platforms for Windows

The GITS blog has a great entry showing the code (and results) for quite a few of the alternatives for Windows GUI Programming. It includes all the usual suspects (well, most of them), as well as native-win32 with ctypes and IronPython and Windows Forms: Python GUI Programming Platforms for Windows

UI Automation on the FePy Blog

Jim Hugunin recently posted an example of using the .NET 3.0 UI Automation API from IronPython . This library hasn't yet been implemented for Mono, so Seon Sanghyeon has written two blog entries on using an equivalent, "Assistive Technology Service Provider Interface", with IronPython: Using AT-SPI from IronPython (1) Using AT-SPI from IronPython (2)

Qyoto / Kimono

The Qyoto / Kimono project allows you to write Qt / Kde programs with .NET languages, including IronPython: The Qyoto project Currently this is for Mono / Linux, but cross-platform capabilities are in the works.