mail-archives/gtk-sharp-list/2014-July/011460.html

103 строки
4.1 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
<HEAD>
<TITLE> [Gtk-sharp-list] Need a DateTimePicker
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:gtk-sharp-list%40lists.ximian.com?Subject=Re%3A%20%5BGtk-sharp-list%5D%20Need%20a%20DateTimePicker&In-Reply-To=%3C1404242341.12724.1.camel%40ecanedo%3E">
<META NAME="robots" CONTENT="index,nofollow">
<style type="text/css">
pre {
white-space: pre-wrap; /* css-2.1, curent FF, Opera, Safari */
}
</style>
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="011459.html">
<LINK REL="Next" HREF="011461.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Gtk-sharp-list] Need a DateTimePicker</H1>
<B>Emiliano Gabriel Canedo</B>
<A HREF="mailto:gtk-sharp-list%40lists.ximian.com?Subject=Re%3A%20%5BGtk-sharp-list%5D%20Need%20a%20DateTimePicker&In-Reply-To=%3C1404242341.12724.1.camel%40ecanedo%3E"
TITLE="[Gtk-sharp-list] Need a DateTimePicker">ecanedo at postresbalcarce.com.ar
</A><BR>
<I>Tue Jul 1 19:19:01 UTC 2014</I>
<P><UL>
<LI>Previous message: <A HREF="011459.html">[Gtk-sharp-list] Need a DateTimePicker
</A></li>
<LI>Next message: <A HREF="011461.html">[Gtk-sharp-list] Need a DateTimePicker
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#11460">[ date ]</a>
<a href="thread.html#11460">[ thread ]</a>
<a href="subject.html#11460">[ subject ]</a>
<a href="author.html#11460">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>El mar, 01-07-2014 a las 19:49 +0200, Jacek Ru&#380;yczka escribi&#243;:
&gt;<i> Am Dienstag, den 01.07.2014, 10:54 -0300 schrieb Emiliano Gabriel
</I>&gt;<i> Canedo:
</I>&gt;<i> &gt; Hello all!
</I>&gt;<i> &gt;
</I>&gt;<i> &gt; I need a DateTimePicker for a proyect. I thought about doing it from a
</I>&gt;<i> &gt; renderization of Gtk.Calendar in a ComboBoxEntry, but i don't how to
</I>&gt;<i> &gt; create a custom CellRenderer with a Calendar.
</I>&gt;<i>
</I>&gt;<i> I have developed such a widget. Instead of a ComboBoxEntry, I created a
</I>&gt;<i> custom widget using an Entry and a Button inside an HBox. Upon clicking
</I>&gt;<i> the button, you get a popup window with a Calendar widget inside.
</I>&gt;<i> Selecting a specific date / time triggers a callback to the
</I>&gt;<i> abovementioned custom widget filling in the date / time into the Entry.
</I>&gt;<i> Additionally, you can hammer the date manually into the Entry. It's then
</I>&gt;<i> automatically converted into ISO syntax.
</I>&gt;<i>
</I>&gt;<i> The sourcecode is fairly simple, but as I develop with MonoDevelop
</I>&gt;<i> (partial classes, you know&#8230;), it's not very easy to post the code here.
</I>&gt;<i> If you are interested, however, I could post it as an attachment.
</I>&gt;<i>
</I>&gt;<i> Kind regards
</I>&gt;<i> Jacek Ru&#380;yczka
</I>&gt;<i>
</I>&gt;<i>
</I>&gt;<i>
</I>
Hello Jacek,
It's the widget i need. If you post the code (in github, or in any
place), i'll be very grateful.
thanks!
Emiliano
--
-------------- next part --------------
An HTML attachment was scrubbed...
URL: &lt;<A HREF="http://lists.ximian.com/pipermail/gtk-sharp-list/attachments/20140701/99ce4178/attachment.html">http://lists.ximian.com/pipermail/gtk-sharp-list/attachments/20140701/99ce4178/attachment.html</A>&gt;
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="011459.html">[Gtk-sharp-list] Need a DateTimePicker
</A></li>
<LI>Next message: <A HREF="011461.html">[Gtk-sharp-list] Need a DateTimePicker
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#11460">[ date ]</a>
<a href="thread.html#11460">[ thread ]</a>
<a href="subject.html#11460">[ subject ]</a>
<a href="author.html#11460">[ 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>