[Glade-users] Disable GtkButton
- From: de.techno at gmail.com (dE)
- Subject: [Glade-users] Disable GtkButton
- Date: Tue, 28 May 2013 13:04:39 +0530
On 05/28/13 13:04, Tristan Van Berkom wrote:
On Tue, May 28, 2013 at 4:22 PM, dE <de.techno at gmail.com> wrote:
How do you disable a GtkButton in C? I didn't find any API which does this
in the GtkButton reference.
We don't use the term "disabled" in GTK+ which is probably why you didn't
find it.
Instead we use the term "sensitive", a widget is either "sensitive" or not,
if it is not sensitive then it will not react to any user interaction,
and it will
be drawn differently (typically greyed out).
See gtk_widget_set_sensitive()
Cheers,
-Tristan
Yes, I did search for it since it was in Glade.
What I didn't know is that GtkWidget properties applied to all widgets.
Thank you sooo much for all the help!
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]