Package net.sf.gimme.event

Examples of net.sf.gimme.event.GUIEventPipe


        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


            mainGlade = Glade.parse(GLADE_PATH, "wnd_main");

            initTreeView((TreeView)mainGlade.getWidget("treeview"));

            final ToolButton addt = (ToolButton)mainGlade.getWidget("tbtn_add");
            addt.connect((ToolButton.CLICKED)new GUIEventPipe(this, "add"));

            final ImageMenuItem addm = (ImageMenuItem)mainGlade.getWidget("mbtn_add");
            addm.connect(new GUIEventPipe(this, "add"));

            final ToolButton removet = (ToolButton)mainGlade.getWidget("tbtn_remove");
            removet.connect((ToolButton.CLICKED)new GUIEventPipe(this, "remove"));

            final ToolButton pauset = (ToolButton)mainGlade.getWidget("tbtn_pause");
            pauset.connect((ToolButton.CLICKED)new GUIEventPipe(this, "pause"));

            final ToolButton resumet = (ToolButton)mainGlade.getWidget("tbtn_resume");
            resumet.connect((ToolButton.CLICKED)new GUIEventPipe(this, "resume"));
           
            final ImageMenuItem preferencesm = (ImageMenuItem)mainGlade.getWidget("mbtn_preferences");
            preferencesm.connect(new GUIEventPipe(this, "preferences"));

            final Window w = (Window)mainGlade.getWidget("wnd_main");
            w.showAll();

            w.connect(new Window.DELETE_EVENT()
View Full Code Here

        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 net.sf.gimme.event.GUIEventPipe

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.