LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 02-12-2011, 10:07 PM   #1
on_a_work
LQ Newbie
 
Registered: Jan 2011
Posts: 7

Rep: Reputation: 0
Thumbs up text view update.how?


i need to display some values in glade textview.in my program on a button click a function is called .the function will print values in textview.its dynamically printed in loop.so i need to create a window in each itration.
so how can i prevent multilple windows from being created in each itration?
i want to update textview in each itration..how?
 
Old 02-13-2011, 06:37 AM   #2
RockDoctor
Senior Member
 
Registered: Nov 2003
Location: Minnesota, US
Distribution: Fedora, Ubuntu
Posts: 1,175

Rep: Reputation: 220Reputation: 220Reputation: 220
I believe you can just rewrite the data in the textview's buffer within your loop, rather than recreating the whole window
 
  


Reply

Tags
glade, textview, update


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
exporting glade text view to text file on_a_work Programming 8 01-13-2011 09:05 AM
GTK Text View and RC Menu rubadub Programming 1 06-19-2008 05:49 AM
View As HTML / View As Text button craig467 Programming 4 01-22-2008 04:54 PM
What do after view Text Editor dalebo Linux - Newbie 23 05-21-2006 07:45 PM
Konqueror's "text view" option makes text green. newtwolinux Suse/Novell 2 08-26-2005 06:45 AM


All times are GMT -5. The time now is 06:35 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration