Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Managed GTK Theme Engine
C# C Python Shell
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
Maigre
libmaigre
maigre-codegen
.gitignore
AUTHORS
COPYING
Maigre.sln
Makefile.am
NEWS
README
autogen.sh
configure.ac

README

Maigre is a managed GTK theme engine. It allows easily writing GTK themes
in managed code. Maigre takes care of implementing the GtkRcStyle, GtkStyle,
and theme module entry points, leaving the theme author to only have to worry
about rendering code.

An example:

using System;

public class MyTheme : Maigre.Theme
{
    protected override void ModuleInit ()
    {
    }

    protected override void DrawBox ()
    {
        switch (Detail) {
            case "button":
                Cr.Rectangle (0, 0, Width, Height);
                Cr.Color = new Cairo.Color (0, 0, 0);
                Cr.Fill ();
                break;
            default:
                base.DrawBox ();
                break;
        }
    }
}
Something went wrong with that request. Please try again.