Skip Menu |
 

This queue is for tickets about the Curses-UI CPAN distribution.

Report information
The Basics
Id: 96822
Status: new
Priority: 0/
Queue: Curses-UI

People
Owner: Nobody in particular
Requestors: errietta [...] errietta.me
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Add a method to get a widget's id
Date: Sun, 29 Jun 2014 16:41:25 +0100
To: bug-Curses-UI [...] rt.cpan.org
From: Errietta Kostala <errietta [...] errietta.me>
Download (untitled) / with headers
text/plain 465b
Curses::UI::Container method that gets the id of a specific container. Easy to do since we already have $this->{-object2id}. Possible Use for it?: I created a rows of widgets in a loop, with an id that includd the row number, and when I clicked/changed the value of one I wanted to see which row it was in and affect the contents of another widget of the same row. Sorry if this is horribly awful! Patch attached. -- Errietta Kostala ( http://www.errietta.me )
Download getid.patch
text/x-diff 673b

Message body is not shown because sender requested not to inline it.



This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.