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 Wed 22 Oct 2014, 01:35
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 Posts_count_1  
Author Message
MochiMoppel


Joined: 26 Jan 2011
Posts: 428
Location: Japan

PostPosted: Sat 17 May 2014, 09:18    Post_subject:  GtkDialog - How to change tree sizes dynamically?
Sub_title: ..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   62 Time(s)

gtk_defaultsized.png

Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count_1  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Off-Topic Area » Programming
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0355s ][ Queries: 12 (0.0037s) ][ GZIP on ]