problems with sizing of widgets
- From: Orlando Andico <orly mozcom com>
- To: gtk-list redhat com
- cc: linux-x11 vger rutgers edu
- Subject: problems with sizing of widgets
- Date: Mon, 6 Apr 1998 15:16:24 +0800 (PHT)
Hello,
I'm using the stock GTK 0.99.970925 (from RH 5.0) to develop an MPEG audio
player. I want to display some frame information (time elapsed, etc). I
tried using a label widget, but it flashes horribly when updated; in my
"old" toolkit (XForms) this could be fixed by turning on
double-buffering.. can this be done in GTK?
So I decided to use an entry widget. The problem is that the entry widget
consumes too much space. I want it to be smaller, but it does not obey
gtk_set_widget_usize(). I am packing everything into a table (I don't use
the packing boxes, too confusing as I am a GTK newbie).
I've tried gtk_table_attach_defaults(), gtk_table_attach (.. GTK_SHRINK,
GTK_SHRINK, ..) as well as other permutations. I've even tried putting my
slider inside its own table in the hope that the table is more aggressive
at grabbing space than the entry.. still nothing.
If you can help, you can check out what it looks like here:
http://lilith.mozcom.com/~orly/gtk123.gif
Thanks!
Cheers,
Orly
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]