[Kde-bindings] Assemblygen package for Archlinux
Cvetoslav Ludmiloff
ludmiloff at gmail.com
Sat Jun 30 12:25:03 UTC 2012
Hi folks.
I'd just like to inform you about availability of assemblygen package for
Archlinux.
The package is in AUR:
https://aur.archlinux.org/packages.php?ID=60433
I successfully compiled and tested my test program which does not exits
after window close on previous versions of assemblygen under Ubuntu.
And it is working like a charm now. Congratulations. Keep going!
Here is the program:
using System;
using Qyoto;
namespace TextEd
{
public class MainClass : QMainWindow
{
public QTextEdit editor;
public MainClass(QWidget parent) : base(parent)
{
SetupEditor();
this.MenuBar = new QMenuBar();
this.CentralWidget = editor;
Resize(600, 400);
Show();
}
protected override void OnCloseEvent (QCloseEvent arg1)
{
Console.WriteLine("on close event");
base.OnCloseEvent (arg1);
}
private void SetupEditor()
{
editor = new QTextEdit();
}
public static int Main(String[] args)
{
var a = new QApplication(args);
MainClass w = new MainClass(null);
QApplication.Exec();
Console.WriteLine("exit");
return 0;
}
}
}
Regards
Cvetoslav Ludmiloff
http://archstable.blogspot.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-bindings/attachments/20120630/76ed8073/attachment.html>
More information about the Kde-bindings
mailing list