Forum: Ruby-Gnome 2 GTK Table - attach to table but minimal rows?

Posted by Marc Heiler (shevegen)
on 2011-11-05 17:04
I need a hint to layout a program.

Right now I use a table.

It has 3 columns:

| one   | two   | three

This is fine so far.

Now I want to append a Gtk::Statusbar

| one   | two   | three
--------------------------
 STATUSBAR GOES HERE

But I want the statusbar to take as little space as possible. I want to
make it fairly "thin".

I guess I can use Gtk::Table#attach but my question is:

What setting or option should I use to make that row be very thin? I
don't want to have it take equal space like the rest of the table ... I
want it to be very smallish.

Perhaps I should use something else rather than a table?
Posted by Simon Arnaud (sarnaud)
on 2011-11-05 21:58
Marc Heiler wrote in post #1030310:
> Perhaps I should use something else rather than a table?

Use a vbox with 2 child :
* your table
* the statusbar
Posted by Carlo E. Prelz (Guest)
on 2011-11-11 09:45
(Received via mailing list)
Hello there. For the first time I am playing a bit with
Gstreamer. When running sample program gst-inspect.rb, I received this
message:

ruby: symbol lookup error: 
/usr/local/lib/ruby/site_ruby/1.9.1/x86_64-linux/gstreamer.so: undefined 
symbol: rbg_rval2cstr

I noticed that rbg_rval2cstr is defined in glib2.so and solved the
problem with a hack: I added this line:

$LOCAL_LIBS="/usr/local/lib/ruby/site_ruby/1.9.1/x86_64-linux/glib2.so"

in .../gstreamer/ext/gstreamer/extconf.rb and the script now
works. But this is a horrible, non-portable hack. Somebody will
certainly know the right way to make sure rbg_rval2cstr is found by
gstreamer.so.

Or maybe it is only me who encountered this problem...

Carlo

--
  *         Se la Strada e la sua Virtu' non fossero state messe da 
parte,
* K * Carlo E. Prelz - fluido@fluido.as             che bisogno ci 
sarebbe
  *               di parlare tanto di amore e di rettitudine? 
(Chuang-Tzu)
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.