Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Fri 22 Aug 2014, 21:40
All times are UTC - 4
 Forum index » Off-Topic Area » Programming
GtkDialog - How to change tree sizes dynamically?
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [1 Post]  
Author Message
MochiMoppel


Joined: 26 Jan 2011
Posts: 363
Location: Japan

PostPosted: Sat 17 May 2014, 09:18    Post subject:  GtkDialog - How to change tree sizes dynamically?
Subject description: ..making then just fit - avoiding scrollbars
 

Let's start with a simple list, containing 3 items:
Code:
T='<tree>
<item>Tokyo</item>
<item>Port Moresby</item>
<item>Llanfairpwllgwyngyllgogerychwyrndrobwllllantysiliogogogoch</item>
</tree>'
echo "$T" | gtkdialog -s

Is there any way to expand height and width automatically, depending on the number and length of items? I've tried different box constructs and size attributes, none of them would result in a "just right" window size. Crying or Very sad
gtk_defaultsized.png
 Description   
 Filesize   6.72 KB
 Viewed   47 Time(s)

gtk_defaultsized.png

Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [1 Post]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Off-Topic Area » Programming
Jump to:  

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 vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0357s ][ Queries: 13 (0.0042s) ][ GZIP on ]