Help with container

Hi guys i’m new in ruby gui programing and i need help to do a thing, i
want the effect like the above app ( glade ), i want to know how i can
make the buttons going up and down after change the windows size, im not
using glade to make the gui, im wrinting the code, i want learn :slight_smile:

http://img258.imageshack.us/img258/192/capturadatelazh5.png
http://img258.imageshack.us/img258/9496/capturadatela1gi3.png

thx everyone!

http://img204.imageshack.us/img204/4229/screenshot1ok9.png

This is how the app is now, but i did this with tables and i want the
buttons to be dynamic inserted inside the frame.
This program is to manage a church

thx!

No one? =’(

Diego B. wrote:

http://img204.imageshack.us/img204/4229/screenshot1ok9.png

This is how the app is now, but i did this with tables and i want the
buttons to be dynamic inserted inside the frame.
This program is to manage a church

thx!

No one? =’(

Sorry not me. I tend to avoid glade whenever possible as
I have a bad relationship with XML :slight_smile:

Just a raw guess with 1min google search:
What about this?
http://www.gtkmm.org/docs/gtkmm-2.4/docs/reference/html/classGtk_1_1IconView.html

On Dec 7, 2007 10:01 AM, Diego B.
[email protected] wrote:

just about anything Open Source.
http://sourceforge.net/services/buy/index.php


ruby-gnome2-devel-en mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ruby-gnome2-devel-en


±[ Gergely K. [email protected] ]------------------+
| |
| Mobile:(+36 20)356 9656 |
| |
± “Olyan lángész vagyok, hogy poroltóval kellene járnom!” -+

Marc H. wrote:

No one? =’(

Sorry not me. I tend to avoid glade whenever possible as
I have a bad relationship with XML :slight_smile:

yea, now, me too >.<
i’m making the whole program without glade, but the main question still
there, how can i do that effect? now, without program glade :slight_smile:

No, in Gtk::IconView you only can include images.

Afaik glade and gimp use special hand crafted widgets for this. This
widgets are not included in Gtk.

The simplest would be to pack your buttons into a Gtk::Table or a
Gtk::Layout and then follow the configure event. Then rearange the items
if the padding on the right goes under or over a minimum value.

Hth
detlef

Am Montag, den 10.12.2007, 17:50 +0100 schrieb KONTRA, Gergely:

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs