Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: sf::Window::getTitle()  (Read 3752 times)

0 Members and 1 Guest are viewing this topic.

Qix

  • Full Member
  • ***
  • Posts: 139
  • I am Qix!
    • View Profile
    • Natoga Technologies
sf::Window::getTitle()
« on: September 27, 2012, 01:05:14 pm »
std::string sf::Window::getTitle() would be nice.

I would fork it but I'm knee deep in a project right now.

More or less this is a reminder for myself to do it later.
~ Qix
Creator of Rippl Studio
Code: [Select]
<danharibo> iostream: I don't do enough drugs to think that's a good idea.

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 10936
    • View Profile
    • development blog
    • Email
Re: sf::Window::getTitle()
« Reply #1 on: September 27, 2012, 01:22:06 pm »
This feature was requested before, see here.
The search function can be quite useful...  ::)
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

Qix

  • Full Member
  • ***
  • Posts: 139
  • I am Qix!
    • View Profile
    • Natoga Technologies
Re: sf::Window::getTitle()
« Reply #2 on: September 27, 2012, 01:23:03 pm »
Grr, I swear I searched for it >.>
~ Qix
Creator of Rippl Studio
Code: [Select]
<danharibo> iostream: I don't do enough drugs to think that's a good idea.

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
Re: sf::Window::getTitle()
« Reply #3 on: September 27, 2012, 02:50:02 pm »
Why would you need to get the title of a window?
Laurent Gomila - SFML developer

Qix

  • Full Member
  • ***
  • Posts: 139
  • I am Qix!
    • View Profile
    • Natoga Technologies
Re: sf::Window::getTitle()
« Reply #4 on: September 27, 2012, 03:13:33 pm »
Why would you need to get the title of a window?

*necropost*

Is GetTitle() really necessary?

It'd be useful in cases where the title was changed outside of the program, i.e. by third-party window managers, sandboxes, or macros/scripts.

Plus, as others have said, it would just make sense as a convenience function.
~ Qix
Creator of Rippl Studio
Code: [Select]
<danharibo> iostream: I don't do enough drugs to think that's a good idea.

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
Re: sf::Window::getTitle()
« Reply #5 on: September 27, 2012, 03:39:58 pm »
Ok, so you answered in the other topic.

http://en.sfml-dev.org/forums/index.php?topic=2276.0
Laurent Gomila - SFML developer

 

anything