From: Avery W. <rub...@an...> - 2008-07-08 15:00:06
|
Hello- First, I would like to ask if there is a GUI Designer for GTK that works with Ruby. I DO NOT MEAN GLADE. I hate Glade. I do NOT want to use some annoying xml files, even if they are 'easier'. I would need a NORMAL GUI Designer, as in something that gives me the RAW RUBY code for the GUI as output. Question 2: So, I have a table widget.(Because of course, GTK has this useless/insane/awful 'container' format, which means that it hates something called SPACE, and forces you to put everything into tables/boxes) Inside a part of the table(table.attach) I have a toolbar. On the toolbar, I have a button. Of course, GTK HATES SPACE. So, of course, the toolbar takes up as much space as possible until it bumps into other widgets. Then, the button takes up as much space as possible on the toolbar. So then, I use this: button.set_size_request(x, y) Now. The x value ACTUALLY RESIZES THE WIDGET's WIDTH! Hurray! However, the y value does not resize the button's height! It STILL stretches ALL the way down the toolbar until the toolbar and the button smash into other widgets. How would I resize the button height? What about the toolbar's? Basically, I want to go against everything GTK tries to do and actually CREATE SOME SPACE inbetween the toolbar/button cell(By making this a NORMAL SIZED toolbar, instead of half the freaking window). How would I do this? How would I resize any part of the table or widget?? -- Posted via http://www.ruby-forum.com/. |