Package org.gnome.gtk

Examples of org.gnome.gtk.Button


        this.glade = glade;

        dialog = (Window)glade.getWidget("wnd_preferences");
        dialog.showAll();

        Button ok = (Button)glade.getWidget("btn_ok1");
        ok.connect(new GUIEventPipe(this, "ok"));

        Button cancel = (Button)glade.getWidget("btn_cancel1");
        cancel.connect(new GUIEventPipe(this, "cancel"));

        SpinButton spinner = (SpinButton)glade.getWidget("spn_segments");
        spinner.setValue(Configuration.get().getNumberOfSegments());
    }
View Full Code Here


        this.manager = manager;

        dialog = (Window)glade.getWidget("wnd_add");
        dialog.showAll();

        Button ok = (Button)glade.getWidget("btn_ok");
        ok.connect(new GUIEventPipe(this, "ok"));

        Button cancel = (Button)glade.getWidget("btn_cancel");
        cancel.connect(new GUIEventPipe(this, "cancel"));
    }
View Full Code Here

TOP

Related Classes of org.gnome.gtk.Button

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.