frame and a spinner with gtk_table_attach to cell - question
- From: "J." <mailing-lists xs4all nl>
- To: gtk-app-devel-list gnome org
- Subject: frame and a spinner with gtk_table_attach to cell - question
- Date: Wed, 30 Jan 2008 17:32:28 +0100 (CET)
Wednesday, January 30
Hello,
If I put a spinner in a frame in a table cell with gtk_table_attach it
unfortunately overlaps and looks garbled :(
How should I do this so that they don't overlap within the same cell ?
Here's what I'm doing now.
.... snippet ...
/* the frame */
mvfr = gtk_frame_new("test radio");
gtk_table_attach(GTK_TABLE(table), mvfr, 0, 1, 0, 1,
GTK_SHRINK, GTK_EXPAND, 4, 4);
/* the spinner */
fxadj = (GtkAdjustment *)gtk_adjustment_new(1.0, 1.0, 100.0, 1.0, 1.0, 0.0);
fxspinner = gtk_spin_button_new(fxadj, 0, 0);
gtk_spin_button_set_wrap(GTK_SPIN_BUTTON(fxspinner), TRUE);
gtk_table_attach(GTK_TABLE(table), fxspinner, 0, 1, 0, 1,
GTK_SHRINK, GTK_EXPAND, 4, 4);
Thanks for any possible suggestions.
K.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]