Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import efl.ui.Button;
- import efl.ui.Layout;
- import efl.ui.Win;
- import efl.ui.spotlight.Container;
- class MenuButton extends Button {
- public MenuButton() {
- setText("Dont go into the shadows");
- }
- }
- public class Main {
- public static void main(String[] args) {
- Win win = new Win();
- win.setText("Jefl madness");
- win.setVisible(true);
- Container container = new Container();
- container.packEnd(new MenuButton());
- Layout layout = new Layout();
- layout.setFile("awwwwsumTheme.edj");
- layout.setKey("jefl-theme");
- layout.load();
- layout.getTheme().getGroup();
- container.packEnd(layout);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement