Qyoto.QWidget.Resize C# (CSharp) Method

Resize() public method

public Resize ( int w, int h ) : void
w int
h int
return void
        public void Resize(int w, int h)
        {
            interceptor.Invoke("resize$$", "resize(int, int)", typeof(void), typeof(int), w, typeof(int), h);
        }

Usage Example

Beispiel #1
0
Datei: t3.cs Projekt: KDE/qyoto
    public static int Main(String[] args)
    {
        QApplication app = new QApplication(args);

        QWidget window = new QWidget();
        window.Resize(200, 120);

        QPushButton quit = new QPushButton( "Quit", window );
        quit.Font = new QFont( "Times", 18, (int) QFont.Weight.Bold );
        quit.SetGeometry(10, 40, 180, 40);

        QObject.Connect( quit, SIGNAL("clicked()"), app, SLOT("quit()") );

        window.Show();
        return QApplication.Exec();
    }
QWidget