the art of packing
- From: Mark Mackenzie <markm student unsw edu au>
- To: gtk-list gnome org
- Subject: the art of packing
- Date: Sat, 2 Dec 2000 09:59:29 +1100
Hi,
I was hoping to get some advice (or some further url's) about the art
of packing. I have read the tutorial section on packing a few times,
and have been playing around with glade which is so good, it makes
widgeting trivial (I did try some unaided to get a feel for it though).
Some questions in particular:
i) Is it a 'bad thing' to set x &| y widths of various widgets if I
am having trouble getting them to behave as I expect them?
ii) I would like:
+------------+
+frm--+ Label | but.text |
| rb1 | +------------+ +------------+
| rb2 | | but.text |
+-----+ +------------+ +------------+
Label | but.text |
+------------+
So I have:
+window
`vbox
+hbox1 (a box above box of interest)
+hbox2
| +frame1 (vbox with 2 radio buttons)
| +table1
| | +label1 "Input file: " (Added " " for alignment. Is this ok?)
| | +label2 "Output file:"
| | +button1
| | `button2
| `vbox2 (oops - is this the right way to do it?)
| `button3
`hbox3 (another box below box of interest)
Am I on the right track?
Is vbox2 superfluous?
Buttons1&2 will bring up file dialog boxen and the label will be
changed to the selected filename(without path). Is it ok to set
horizontal width?
Thankyou for any input.
Mark.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]