Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Name attribute

#1

all components should have a name attribute, which can be set by calling the constructor with a :name option.

e.g.

button = Button.new("OK", :name => :okButton, :belongs_to => mainFrame)

when also specifying the :belongs_to option, the component will be added to the specified container as well (as before).

this should additionally then be possible:

puts button.name # => "okButton"

Reported by bakkdoor · October 7th, 2008 @ 01:31 PM

State: new
Milestone: v0.2
Assigned to: bakkdoor bakkdoor

Activity

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.