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

Author Topic: Input Text In SFML Window  (Read 2341 times)

0 Members and 1 Guest are viewing this topic.

First

  • Newbie
  • *
  • Posts: 41
    • View Profile
    • Email
Input Text In SFML Window
« on: February 22, 2014, 04:05:46 pm »
how to enter text in the sfml? what need to use?

zsbzsb

  • Hero Member
  • *****
  • Posts: 1409
  • Active Maintainer of CSFML/SFML.NET
    • View Profile
    • My little corner...
    • Email
Re: Input Text In SFML Window
« Reply #1 on: February 22, 2014, 04:06:42 pm »
Use the text event.

windowInstance.TextEntered += TextEventHandler;
« Last Edit: February 22, 2014, 04:08:22 pm by zsbzsb »
Motion / MotionNET - Complete video / audio playback for SFML / SFML.NET

NetEXT - An SFML.NET Extension Library based on Thor

First

  • Newbie
  • *
  • Posts: 41
    • View Profile
    • Email
Re: Input Text In SFML Window
« Reply #2 on: February 22, 2014, 08:08:11 pm »
I use sfml.net, there is no such. Even similar events. What will advise?

zsbzsb

  • Hero Member
  • *****
  • Posts: 1409
  • Active Maintainer of CSFML/SFML.NET
    • View Profile
    • My little corner...
    • Email
Re: Input Text In SFML Window
« Reply #3 on: February 22, 2014, 09:45:00 pm »
Motion / MotionNET - Complete video / audio playback for SFML / SFML.NET

NetEXT - An SFML.NET Extension Library based on Thor

StormWingDelta

  • Sr. Member
  • ****
  • Posts: 365
    • View Profile
Re: Input Text In SFML Window
« Reply #4 on: April 03, 2014, 03:41:50 am »
There isn't  ???

I must be confused then...
https://github.com/SFML/SFML.Net/blob/master/src/Window/Window.cs#L554

So useful.  Was hunting for a list of events I could use. :p
I have many ideas but need the help of others to find way to make use of them.