Re: [gtk-list] Desactivate Widget
- From: Nils Philippsen <nils wombat dialup fht-esslingen de>
- To: IKSAL Sebastien <sebastien iksal enst-bretagne fr>
- cc: GTK List <gtk-list redhat com>
- Subject: Re: [gtk-list] Desactivate Widget
- Date: Fri, 26 Feb 1999 14:23:27 +0100 (CET)
On Fri, 26 Feb 1999, IKSAL Sebastien wrote:
> Hello,
>
> Thanks for those who helps me about callbacks.
>
> I want to desactivate widgets (like buttons and menu) in some
> configurations of my Interface,
> but i don(t want to hide them.
> I found the function gtk_widget_activate, but no functions to
> desactivate them??
Use gtk_widget_set_sensitive(GtkWidget *widget, gboolean sensitive)
sensitive = TRUE: widgets are active and respond to events
= FALSE: inactive, look shaded
Nils
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Nils Philippsen @college: nils@fht-esslingen.de
Vogelsangstrasse 115 @home: nils@wombat.dialup.fht-esslingen.de
D 70197 Stuttgart phone: +49-711-6599405
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Lottery is a tax on people who are bad at math.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]