[Gtk-sharp-list] Gnome.DateEdit behaviour
David Makovský (Yakeen)
yakeen@sannyas-on.net
Tue, 02 Sep 2003 22:05:32 +0200
--=-Vp+30SrDmoZmjuG4H3vv
Content-Type: text/plain; charset=ISO-8859-2
Content-Transfer-Encoding: quoted-printable
Hi all,
before few days I had mail here to find function like
gnome_date_edit_get_time().
I was reading today docs and was seeing into generated code and found
that there is
Time property (get;set). I was immediately triing it but without succes.
I'll try describe it.
def:
DateEdit from;
and when I call one of them
from.InitialTime=20
from.Time
I got this
debugg =
=20
=
=20
(Admin:8253): GLib-GObject-CRITICAL **: file gvaluetypes.c: line 630
(g_value_get_uint): assertion `G_VALUE_HOLDS_UINT (value)' failed
when I traced walue, it was of course 0
[TRACE] - LogClasses.LogModelDate - from: 0
Is there some specific behaviour or it is simply bug?
Anyone is using DateEdit class? Can send some examples?
Thanks for advice
--=20
David Makovsk=FD (Yakeen) <yakeen@sannyas-on.net>
--=-Vp+30SrDmoZmjuG4H3vv
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 7bit
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.0.8">
</HEAD>
<BODY>
Hi all,<BR>
before few days I had mail here to find function like gnome_date_edit_get_time().<BR>
I was reading today docs and was seeing into generated code and found that there is<BR>
Time property (get;set). I was immediately triing it but without succes. I'll try describe it.<BR>
<BR>
def:
<PRE>DateEdit from;</PRE>
<BR>
and when I call one of them
<PRE>from.InitialTime
from.Time</PRE>
<BR>
I got this debugg <BR>
<BR>
(Admin:8253): GLib-GObject-CRITICAL **: file gvaluetypes.c: line 630 (g_value_get_uint): assertion `G_VALUE_HOLDS_UINT (value)' failed<BR>
<BR>
when I traced walue, it was of course 0<BR>
[TRACE] - LogClasses.LogModelDate - from: 0<BR>
<BR>
Is there some specific behaviour or it is simply bug?<BR>
Anyone is using DateEdit class? Can send some examples?<BR>
<BR>
Thanks for advice<BR>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
-- <BR>
David Makovský (Yakeen) <<A HREF="mailto:yakeen@sannyas-on.net"><U>yakeen@sannyas-on.net</U></A>>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>
--=-Vp+30SrDmoZmjuG4H3vv--