search for: clear_context

Displaying 1 result from an estimated 1 matches for "clear_context".

Did you mean: clean_context
2007 Apr 04
1
wx layout with sugar
...= p1.add(Choice, :minsize => true) @input = p1.add(TextCtrl[:style => TE_MULTILINE], :proportion => 1) } p.add(Panel, :proportion => 0) {|p2| p2.arrange_horizontally(:padding => 5) @eval = p2.add(Button[:label => ''eval'']) @clear_context = p2.add(Button[:label => ''clear context'']) } } Incidently, it would be cool if sugar allowed applications to register default styles (:padding etc) for component types p. This message and any attachments (the "message") is intended solely for the addr...