зеркало из https://github.com/mono/mail-archives.git
77 строки
2.4 KiB
HTML
77 строки
2.4 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
|
||
<HTML>
|
||
<HEAD>
|
||
<TITLE> [Gtk-sharp-list] Changing the state of a CheckButton
|
||
</TITLE>
|
||
<LINK REL="Index" HREF="index.html" >
|
||
<LINK REL="made" HREF="mailto:amartinez%40atc.ugr.es">
|
||
<META NAME="robots" CONTENT="index,nofollow">
|
||
<META http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
||
<LINK REL="Previous" HREF="003519.html">
|
||
<LINK REL="Next" HREF="003527.html">
|
||
</HEAD>
|
||
<BODY BGCOLOR="#ffffff">
|
||
<H1>[Gtk-sharp-list] Changing the state of a CheckButton
|
||
</H1>
|
||
<B>Antonio Martínez Álvarez
|
||
</B>
|
||
<A HREF="mailto:amartinez%40atc.ugr.es"
|
||
TITLE="[Gtk-sharp-list] Changing the state of a CheckButton">amartinez@atc.ugr.es
|
||
</A><BR>
|
||
<I>Wed, 25 Feb 2004 23:27:05 +0100</I>
|
||
<P><UL>
|
||
<LI> Previous message: <A HREF="003519.html">[Gtk-sharp-list] Build gtk-sharp 0.16 on windows
|
||
</A></li>
|
||
<LI> Next message: <A HREF="003527.html">[Gtk-sharp-list] Changing the state of a CheckButton
|
||
</A></li>
|
||
<LI> <B>Messages sorted by:</B>
|
||
<a href="date.html#3520">[ date ]</a>
|
||
<a href="thread.html#3520">[ thread ]</a>
|
||
<a href="subject.html#3520">[ subject ]</a>
|
||
<a href="author.html#3520">[ author ]</a>
|
||
</LI>
|
||
</UL>
|
||
<HR>
|
||
<!--beginarticle-->
|
||
<PRE>Hello.
|
||
|
||
How do I make a CheckButton not to change when the user clicks on it?
|
||
I suppose I have to do something like disconnect an event. I have been
|
||
looking for something like that without good results.
|
||
|
||
What I have done is this (bad idea I know):
|
||
|
||
(capture Clicked or Pressed event):
|
||
|
||
if (myCB.Active == true) myCB.Active = false;
|
||
else myCB.Active = false;
|
||
|
||
but, ops!!! it seems that when I try to change the state, the widget
|
||
generates againg the same event and the application crash... so it is
|
||
not the way :)
|
||
|
||
Any ideas?
|
||
|
||
Thank you!!
|
||
|
||
--
|
||
Antonio MartÃnez
|
||
|
||
</PRE>
|
||
<!--endarticle-->
|
||
<HR>
|
||
<P><UL>
|
||
<!--threads-->
|
||
<LI> Previous message: <A HREF="003519.html">[Gtk-sharp-list] Build gtk-sharp 0.16 on windows
|
||
</A></li>
|
||
<LI> Next message: <A HREF="003527.html">[Gtk-sharp-list] Changing the state of a CheckButton
|
||
</A></li>
|
||
<LI> <B>Messages sorted by:</B>
|
||
<a href="date.html#3520">[ date ]</a>
|
||
<a href="thread.html#3520">[ thread ]</a>
|
||
<a href="subject.html#3520">[ subject ]</a>
|
||
<a href="author.html#3520">[ author ]</a>
|
||
</LI>
|
||
</UL>
|
||
</body></html>
|