зеркало из https://github.com/mono/mail-archives.git
108 строки
4.0 KiB
HTML
108 строки
4.0 KiB
HTML
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
|
||
|
<HTML>
|
||
|
<HEAD>
|
||
|
<TITLE> [Gtk-sharp-list] I really need some sort of tutorial
|
||
|
</TITLE>
|
||
|
<LINK REL="Index" HREF="index.html" >
|
||
|
<LINK REL="made" HREF="mailto:gtk-sharp-list%40lists.ximian.com?Subject=%5BGtk-sharp-list%5D%20I%20really%20need%20some%20sort%20of%20tutorial&In-Reply-To=">
|
||
|
<META NAME="robots" CONTENT="index,nofollow">
|
||
|
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
|
||
|
<LINK REL="Previous" HREF="008703.html">
|
||
|
<LINK REL="Next" HREF="008705.html">
|
||
|
</HEAD>
|
||
|
<BODY BGCOLOR="#ffffff">
|
||
|
<H1>[Gtk-sharp-list] I really need some sort of tutorial</H1>
|
||
|
<B>Kenneth D Weinert</B>
|
||
|
<A HREF="mailto:gtk-sharp-list%40lists.ximian.com?Subject=%5BGtk-sharp-list%5D%20I%20really%20need%20some%20sort%20of%20tutorial&In-Reply-To="
|
||
|
TITLE="[Gtk-sharp-list] I really need some sort of tutorial">kenw at quarter-flash.com
|
||
|
</A><BR>
|
||
|
<I>Mon Jun 2 10:14:34 EDT 2008</I>
|
||
|
<P><UL>
|
||
|
<LI>Previous message: <A HREF="008703.html">[Gtk-sharp-list] Gtk-sharp widget library released !
|
||
|
</A></li>
|
||
|
<LI>Next message: <A HREF="008705.html">[Gtk-sharp-list] I really need some sort of tutorial
|
||
|
</A></li>
|
||
|
<LI> <B>Messages sorted by:</B>
|
||
|
<a href="date.html#8704">[ date ]</a>
|
||
|
<a href="thread.html#8704">[ thread ]</a>
|
||
|
<a href="subject.html#8704">[ subject ]</a>
|
||
|
<a href="author.html#8704">[ author ]</a>
|
||
|
</LI>
|
||
|
</UL>
|
||
|
<HR>
|
||
|
<!--beginarticle-->
|
||
|
<PRE>-----BEGIN PGP SIGNED MESSAGE-----
|
||
|
Hash: SHA1
|
||
|
|
||
|
on interactive applications.
|
||
|
|
||
|
I am working on a Powerball simulator and I'm just completely lost on
|
||
|
how to make the application part responsive.
|
||
|
|
||
|
Basically, there are a lot of fields (you can see an image at
|
||
|
<A HREF="http://quarter-flash.com/powerball.png">http://quarter-flash.com/powerball.png</A>) and the [Play] button kicks
|
||
|
off either a thread or just starts the loop that starts running the
|
||
|
program.
|
||
|
|
||
|
Because the actual code for updating fields is part of a separate
|
||
|
class (separate from the GUI) I am not seeing the UI update at all.
|
||
|
|
||
|
I have seen a lot of very simple tutorials on how to make a GUI
|
||
|
responsive, but I'm not seeing two way communications happening. That
|
||
|
is, I need to grab values from the text entry fields, process them,
|
||
|
and then update the text entry fields with the new values.
|
||
|
|
||
|
I'm most likely just being very dense here, and I'm finding it very
|
||
|
difficult to wrap my mind around how this works. I think I understand
|
||
|
that if the user was editing the fields I could attach callbacks for
|
||
|
the fields, but since it's the program editing the fields I'm just not
|
||
|
making the connection (literally :) in how this works.
|
||
|
|
||
|
The interface was designed in Glade and perhaps there are some
|
||
|
properties there that I've set incorrectly that are hindering my attempts.
|
||
|
|
||
|
Any pointers/references that you can point me to would be *greatly*
|
||
|
appreciated.
|
||
|
|
||
|
I don't have any previous experience with using GTK in C or C++.
|
||
|
|
||
|
Thank you.
|
||
|
|
||
|
Ken
|
||
|
|
||
|
- --
|
||
|
Ken Weinert
|
||
|
<A HREF="http://quarter-flash.com">http://quarter-flash.com</A>
|
||
|
-----BEGIN PGP SIGNATURE-----
|
||
|
Version: GnuPG v1.4.6 (GNU/Linux)
|
||
|
Comment: Using GnuPG with Mozilla - <A HREF="http://enigmail.mozdev.org">http://enigmail.mozdev.org</A>
|
||
|
|
||
|
iD8DBQFIRABJH0OpnUzq8fARAms1AKCwNLdcFd6gQDvvmRxqgfwPnWUl9ACgqWWH
|
||
|
vCzfx9HKD+I1HmJRAHcGK3U=
|
||
|
=D1a1
|
||
|
-----END PGP SIGNATURE-----
|
||
|
|
||
|
</PRE>
|
||
|
|
||
|
|
||
|
<!--endarticle-->
|
||
|
<HR>
|
||
|
<P><UL>
|
||
|
<!--threads-->
|
||
|
<LI>Previous message: <A HREF="008703.html">[Gtk-sharp-list] Gtk-sharp widget library released !
|
||
|
</A></li>
|
||
|
<LI>Next message: <A HREF="008705.html">[Gtk-sharp-list] I really need some sort of tutorial
|
||
|
</A></li>
|
||
|
<LI> <B>Messages sorted by:</B>
|
||
|
<a href="date.html#8704">[ date ]</a>
|
||
|
<a href="thread.html#8704">[ thread ]</a>
|
||
|
<a href="subject.html#8704">[ subject ]</a>
|
||
|
<a href="author.html#8704">[ author ]</a>
|
||
|
</LI>
|
||
|
</UL>
|
||
|
|
||
|
<hr>
|
||
|
<a href="http://lists.ximian.com/mailman/listinfo/gtk-sharp-list">More information about the Gtk-sharp-list
|
||
|
mailing list</a><br>
|
||
|
</body></html>
|