Advertisement
Guest User

Untitled

a guest
Apr 2nd, 2020
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1. import efl.ui.Button;
  2. import efl.ui.Layout;
  3. import efl.ui.Win;
  4. import efl.ui.spotlight.Container;
  5.  
  6. class MenuButton extends Button {
  7. public MenuButton() {
  8. setText("Dont go into the shadows");
  9. }
  10. }
  11.  
  12. public class Main {
  13.  
  14. public static void main(String[] args) {
  15. Win win = new Win();
  16. win.setText("Jefl madness");
  17. win.setVisible(true);
  18.  
  19. Container container = new Container();
  20. container.packEnd(new MenuButton());
  21.  
  22. Layout layout = new Layout();
  23. layout.setFile("awwwwsumTheme.edj");
  24. layout.setKey("jefl-theme");
  25. layout.load();
  26. layout.getTheme().getGroup();
  27. container.packEnd(layout);
  28.  
  29. }
  30. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement