Method: Packet_List#create_item
- Defined in:
- lib/Packet_List.rb
#create_item(icon, *args) ⇒ Object
Create a new Packet_Item. After the icon, you can specify the text for each of the columns. Here is an example:
list.create_item(my_icon, "Martin", "Ankerl", "2005")
103 104 105 |
# File 'lib/Packet_List.rb', line 103 def create_item(icon, *args) Packet_Item.new(self, icon, *args) end |