gnope php gtk gui gnope.org  

Scrolling GtkDialog->vbox?

 
Post new topic   Reply to topic    gnope.org Forum Index -> PHP GTK2 Beginners
View previous topic :: View next topic  
Author Message
beidlerj



Joined: 10 Feb 2006
Posts: 55
Location: Oregon, USA

PostPosted: Mon Feb 20, 2006 6:38 pm    Post subject: Scrolling GtkDialog->vbox? Reply with quote

Hello -

I have (currently) a GtkDialog that packs a GtkCheckButton into the vbox area for every file it finds in a folder that the user specifies. Works great when there are only a handful of files, but when there are many, the widgets get squished so much that they're unreadable!

Is it possible to make the vbox area scroll, so the GtkCheckButton items don't get squished, while still having the action_area remain fixed (and viewable) at the bottom of the dialog at all times? Should I use something other than a GtkDialog to display the check buttons? What widgets/packing should I use?

Thanks!
Back to top
cweiske



Joined: 08 Dec 2005
Posts: 454
Location: Leipzig/Germany

PostPosted: Mon Feb 20, 2006 7:02 pm    Post subject: Reply with quote

create a new gtkscrolledwindow and add the vbox to this.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    gnope.org Forum Index -> PHP GTK2 Beginners All times are GMT - 6 Hours
Page 1 of 1

 
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


Powered by phpBB © 2001, 2005 phpBB Group
Templates enhanced by DigiWiki. Hosting by Tradebit.