Forum Archive

How can I set the title bar of a view?

Gujarish

Hello everyone,,
I bet there’s a simple answer to this but I haven’t been able to find it... When I run some of the bundled examples on either my iphone or ipad the views have a title on the title bar of the view (Calculator in Calculator, & Color Mixer in ColorMixer for example). How is this title set? It doesn’t seem to be in either the py or pyui files. When I run my scripts the title bar is blank. Can anyone help???

cvp

@Gujarish the title of a view is its name.

v = ui.load_view('Calculator')

generates v.name = 'Calculator'

Try, before the v.present()
v.name = 'Gujarish'

booms1

Hi, Gujarish I have tested your solution and your sites also all are working fine keep up the hard work. 192.168.254.254 , 10.0.0.1 , 192.168.1.254 , 192.168.1.1

kavora

Hotmail Logga in

antonymarc

Thanks for this information. It useful

Abeer

I have noticed in the whole forum that many of the posts has been deleted, so I am a little bit confused about that what is the reason behind this?