Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
destruk
Streaming Star

SetTitle - Poster Screen?

Does this work on a poster screen?

It's listed on page 39 of the component reference -
Void SetTitle(String title)
Set the title for the screen to the specified string.

It works for dialog boxes, paragraph screens, and the registration screens - but when I set it to something in a poster screen nothing appears to change.
0 Kudos
4 REPLIES 4
TheEndless
Channel Surfer

Re: SetTitle - Poster Screen?

If I'm not mistaken, SetTitle(title) on the roPosterScreen is basically the same as calling SetBreadcrumbText(title, ""), so if you have both a SetTitle and a SetBreadcrumbText, the latter is probably overwriting the former.
My Channels: http://roku.permanence.com - Twitter: @TheEndlessDev
Instant Watch Browser (NetflixIWB), Aquarium Screensaver (AQUARIUM), Clever Clocks Screensaver (CLEVERCLOCKS), iTunes Podcasts (ITPC), My Channels (MYCHANNELS)
0 Kudos
belltown
Roku Guru

Re: SetTitle - Poster Screen?

"destruk" wrote:
Does this work on a poster screen?

It's listed on page 39 of the component reference -
Void SetTitle(String title)
Set the title for the screen to the specified string.

It works for dialog boxes, paragraph screens, and the registration screens - but when I set it to something in a poster screen nothing appears to change.

No, SetTitle() does not work on the roPosterScreen and roSpringBoardScreen (). It's a bug.

Instead, you have to use:

	screen.SetBreadcrumbEnabled (true)
screen.SetBreadcrumbText (title, "")
0 Kudos
TheEndless
Channel Surfer

Re: SetTitle - Poster Screen?

That is curious. It definitely used to work the way I described above, as I actually have at least one channel that uses it that way, so it looks like it was broken at some point after that.
My Channels: http://roku.permanence.com - Twitter: @TheEndlessDev
Instant Watch Browser (NetflixIWB), Aquarium Screensaver (AQUARIUM), Clever Clocks Screensaver (CLEVERCLOCKS), iTunes Podcasts (ITPC), My Channels (MYCHANNELS)
0 Kudos
destruk
Streaming Star

Re: SetTitle - Poster Screen?

Thankyou. I was just curious where it showed up on the screen - if it shows up in the breadcrumb area then nothing is really lost.
0 Kudos
Need Assistance?
Welcome to the Roku Community! Feel free to search our Community for answers or post your question to get help.

Become a Roku Streaming Expert!

Share your expertise, help fellow streamers, and unlock exclusive rewards as part of the Roku Community. Learn more.