Skip to content

Commit

Permalink
Investigating #235
Browse files Browse the repository at this point in the history
  • Loading branch information
jarvisteach committed Mar 2, 2018
1 parent 254559c commit 70765fb
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions examples/issues/issue235_ent.py
Expand Up @@ -12,6 +12,9 @@ def submit(btn):
def drop(btn):
print(btn, "drop")

def over(btn):
print(btn, "over")

def press(btn):
app.entry("e2", bg="green")

Expand All @@ -21,12 +24,12 @@ def press(btn):
app.entry("e1", "focus", focus=True, bg="red", fg="green", justify="right", borderwidth=5)
app.entry("e2", "ch-su-drop", change=change, submit=submit, drop=True)
app.entry("e3", "over-drag", over=change, drag=change, limit=5, case="upper")
app.entry("e4", "tooltip-menu", tooltip="hello", menu=True)
app.entry("e4", "tooltip-menu", tooltip="hello", right=True)
app.entry("e5", kind="numeric")
app.entry("e7", ["a", "aa", "aab", "b", "c"], kind="auto")
app.entry("e8", kind="file", change=change, over=change)
app.entry("e8", kind="file", change=change, over=over)
app.entry("e9", kind="directory", change=change)
app.label("l1", "hiya", focus=True, menu=True)
app.label("l1", "hiya", focus=True, right=True)
x = app.gr()
app.text("t1", pos=(x, 0), change=change, drop=drop, fg="red")
app.text("t2", scroll=True, pos=(x, 1), over=change, bg="pink")
Expand Down

0 comments on commit 70765fb

Please sign in to comment.