GTK+ Forums

Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
It is currently Fri Oct 24, 2014 4:52 pm

All times are UTC




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: How to create a Resizeable Text View() ?
PostPosted: Sat Jan 25, 2014 11:36 am 
Offline
Familiar Face

Joined: Fri Jan 10, 2014 2:29 pm
Posts: 21
Is there any way by which i can create a resiezable text view widget by a grip on bottom right also i want to make it scrollable :)


Top
 Profile  
 
 Post subject: Re: How to create a Resizeable Text View() ?
PostPosted: Sun Jan 26, 2014 1:53 pm 
Offline
Never Seen the Sunlight

Joined: Mon Apr 28, 2008 5:52 am
Posts: 764
Location: UK
Hello,

A GtkTextVew widget should expand with fill the container it is in. To obtain scrolling you will need have a look at the GtkScrollable widget which describe when the scroll bars appear.

_________________
E.


Top
 Profile  
 
 Post subject: Re: How to create a Resizeable Text View() ?
PostPosted: Wed Feb 05, 2014 12:58 pm 
Offline
Familiar Face

Joined: Fri Jan 10, 2014 2:29 pm
Posts: 21
And what should i do if i want to change size of text view dynamically with in ratio to that of Window size , Like if i resize window Text view should also change its size ?


Top
 Profile  
 
 Post subject: Re: How to create a Resizeable Text View() ?
PostPosted: Sun Feb 09, 2014 7:29 am 
Offline
Never Seen the Sunlight

Joined: Mon Apr 28, 2008 5:52 am
Posts: 764
Location: UK
Can you explain your question in plain English. The way you have asked your question is very hard to read and does not give me any clues as to what you want.

_________________
E.


Top
 Profile  
 
 Post subject: Re: How to create a Resizeable Text View() ?
PostPosted: Sun Feb 09, 2014 4:59 pm 
Offline
Familiar Face

Joined: Fri Jan 10, 2014 2:29 pm
Posts: 21
I have a text view inside a gtk grid , but when i resize the main window by dragging the resize grip size of window gets increased while the size of text view widget remains the same !


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC


Who is online

Users browsing this forum: Google [Bot], Yahoo [Bot] and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group