Re: Saving/Restoring
- From: Paul Davis <pbd Op Net>
- To: Andrej Prsa <andrej prsa guest arnes si>
- Cc: gtk-list gnome org
- Subject: Re: Saving/Restoring
- Date: Mon, 21 May 2001 12:34:59 -0400
>2. Has anyone ever written the spin button alternative to work with double ins
>tead of float? I'd sell my soul for such a thing! (;
cd /usr/src/gtk+-1.2.8/gtk/
sed -e s/SpinButton/DblSpinButton/g' \
-e s/spinbutton/dblspinbutton/g' \
-e s/spin_button/dbl_spin_button/g' \
-e 's/float/double/g' \
< gtkspinbutton.c > gtkdblspinbutton.c
sed -e s/SpinButton/DblSpinButton/g' \
-e s/spinbutton/dblspinbutton/g' \
-e s/spin_button/dbl_spin_button/g' \
-e 's/float/double/g' \
< gtkspinbutton.h > gtkdblspinbutton.h
now add gtkdblspinbutton to Makefile.am, compile, fix minor problems.
your soul, i hope, is worth more than that.
--p
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]