Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

create Button class #7

Closed
sunaku opened this issue Jul 9, 2010 · 1 comment
Closed

create Button class #7

sunaku opened this issue Jul 9, 2010 · 1 comment
Labels

Comments

@sunaku
Copy link
Owner

sunaku commented Jul 9, 2010

To encapsulate the new dual colors and label attributes introduced in wmii-hg2743.

  • Button.new(:side => :left, :colors => 'red', :label => 'foobar')
  • Button#side
  • Button#side= (:left or :right)
  • Button#colors
  • Button#colors=
  • Button#label
  • Button#label=
  • Button should create itself upon label or color assignment.
  • Button should move to correct bar when #side= is sent.
@sunaku
Copy link
Owner Author

sunaku commented Jul 12, 2010

Implemented as class Barlet in commit b57b8e4865a373a2fcac.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant