Re: [Java-gnome-developer] TextView
Brought to you by:
afcowie
From: Thijs 'L. L. <la...@sa...> - 2005-06-25 12:36:46
|
Heya Igor, The data that is typd in the the TextView is stored in a TextBuffer, I=20 suggest you do this: text =3D (TextView)libg.getWidget("My textview drawn in the glade"); TextBuffer buffer =3D text.getBuffer(); String data =3D buffer.getText(buffer.getStartIter, buffer.getEndIter, tr= ue); with this you get the data from the start till the end of the text view=20 with all the hidden chars (which is what the last param stands for. Hope this will get you going, Greets, Thijs 'Lamex' Leibbrand igor hiarley wrote: > Hello personal everything in... > my name is igor hiarley and it is a pleasure to do part of the list. > > do I have a question to do, as I recover the data typed in a TextView?=20 > I am using Glade to create the screens. in my class Java in I did like=20 > this. > > private TextView text; > LibGlade libg =3D new LibGlade ("........") > .... > text =3D (TextView)libg.getWidget("My textview drawn in the glade"); > > Which done the method that I use to recover the data type by the user=20 > in TextView??? > > Does some other component that I can use in the place of the textView=20 > that supports multiple text lines exist??? > > Thank you!!! > > _________________________________________________________________ > Chegou o que faltava: MSN Acesso Gr=E1tis. Instale J=E1!=20 > http://www.msn.com.br/discador > > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_id=3D7477&alloc_id=3D16492&op=3Dcl= ick > _______________________________________________ > java-gnome-developer mailing list > jav...@li... > https://lists.sourceforge.net/lists/listinfo/java-gnome-developer |