Re: Gtk::SpinButton - text?
- From: Bob Caryl <bob fis-cal com>
- To: Andreas Volz <lists brachttal net>
- Cc: gtkmm-list gnome org
- Subject: Re: Gtk::SpinButton - text?
- Date: Tue, 25 Oct 2005 08:30:24 -0500
Andreas Volz wrote:
Hi,
is there a way to insert a string "not available" or "n/a" in a
Gtk::SpinButton? I tried this, but it doesn't work:
spin_button.set_sensitive (false);
spin_button.set_numeric (false);
spin_button.set_text ("not available");
regards
Andreas
_______________________________________________
gtkmm-list mailing list
gtkmm-list gnome org
http://mail.gnome.org/mailman/listinfo/gtkmm-list
Hello Andreas:
Use the Gtk::SpinButton::set_numeric method with a formal parameter of
FALSE to allow entry of non-numeric characters into the entry widget of
a spin button.
Bob Caryl
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]