Re: Visual Button Disable



On Fri, 22 Sep 2006 08:30:51 -0500, Jonathon Jongsma <jonathon jongsma gmail com> wrote:

On 9/18/06, Samvel <ksamdev gmail com> wrote:
Hi,

In HTML it is possible to disable BUTTONS for a while say unless user
fills a form. Is it possible to disable button in GTKmm?

/ Disabling with dis attaching signal_clicked() does not visually disable
button /

Samvel

--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
_______________________________________________
gtkmm-list mailing list
gtkmm-list gnome org
http://mail.gnome.org/mailman/listinfo/gtkmm-list


I believe the member function you want is called set_sensitive(), but
the website documentation doesn't want to load for me right now, so I
can't check for sure.  In any case, if you make any widget
'insensitive', it should be visually disabled / grayed out.


Thanks, that is the right method I was looking for.

--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]