# Behaviour of TCanvas title in batch mode

**URL:** <https://root-forum.cern.ch/t/behaviour-of-tcanvas-title-in-batch-mode/21064>\
**Category:** ROOT\
**Created:** [April 29, 2016, 1:44pm UTC](https://root-forum.cern.ch/t/behaviour-of-tcanvas-title-in-batch-mode/21064 "2016-04-29T13:44:48Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![couet](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/couet/32/12037_2.png) [@couet](https://root-forum.cern.ch/u/couet)\
**Post date:** [May 2, 2016, 6:59am UTC](https://root-forum.cern.ch/t/behaviour-of-tcanvas-title-in-batch-mode/21064/4 "2016-05-02T06:59:49Z")

</div>

> [@](#):
>
> If, however, I comment out the SetBatch command, the window title bar then has “Title” written in it.

Only when you execute the macro … if you then draw the canvas saved in the file in interactive mode it also has the title “Name”… yes that’s weird …

---

_[View the full topic](https://root-forum.cern.ch/t/behaviour-of-tcanvas-title-in-batch-mode/21064)._
