Re: Long running process and button to stop it



On Wed, 2008-02-27 at 23:10 +0200, Gabor Szabo wrote:

$gladexml->get_widget('stop-button')->sensitive(1);

Try ->set_sensitive(TRUE) or ->set(sensitive => TRUE).
Gtk2::Widget::sensitive is merely an accessor for the corresponding
GtkWidget flag.  gtk_widget_set_sensitive sets this flag, but also does
a bit more work.

-- 
Bye,
-Torsten




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