David Swiston wrote:
Ok, one more tidbit of info. I installed GCC 3.2.2 on
another computer of mine running slackware 8.1 and the
exact same project runs just fine on that computer, no
Gtk-CRITICAL errors. I then sent the project over to
a lab computer running linux and it also ran without
an
etienne buxin wrote:
--- Eric M. Monsler [EMAIL PROTECTED] wrote:
A suggested structure:
struct eb_manymany {
uint node_level;
uint num_parents;
uint num_par_max;
struct eb_manymany **par_ptr_array;
uint
etienne buxin wrote:
hi,
i'd like to use a structure similar to glib's Nary tree, but with the difference
that many parent
nodes can share one or several children nodes.
any clue?
This is going to be rather difficult.
Unless you enforce a policy that only sibling-nodes can share child
All,
I am seeing a very strange behaviour with a GtkEntry widget.
The application had previously been working normally; well enough that I
had not done any maintenance on it in months.
During that time, the compiler on the Solaris box was upgraded from gcc
2.95.x to gcc 3.2, without my
Allin Cottrell wrote:
On Tue, 13 Aug 2002, Eric M. Monsler wrote:
I feel it should not crash on any input.
I have a similar test case, which uses:
tmp_float = (float)strtod(6.0e-44,NULL);
g_string_sprintf(pGStr,%6.2f\n,tmp_float);
and produces the same crash.
I'd say that crashing
Yes. I understand the limitations of strtod.
Much of this thread could have been avoided if I had used:
f_val = 6.2e-21;
f_val *= 1.0e-21;
in my example code. I used the union example because that's how I found
the problem, I used the double to float cast because that's how I tested
that
Allin Cottrell wrote:
Isn't that undefined behavior, trying to access the wrong member of a
union?
Yes. I am using that to force a bad floating point value.
Here (gtk 2.0.6) it prints 0.00, but I don't see that it's
obliged to.
I feel it should not crash on any input.
I have a
argc, char *argv[])
{
GString *pGStr;
union {
int i_val;
float f_val;
} the_data;
gtk_set_locale();
gtk_init(argc,argv);
the_data.i_val = 1;
pGStr = g_string_new();
g_string_sprintf(pGStr,%6.2f\n,the_data.f_val);
printf(pGStr-str);
}
Eric M. Monsler
Sven Neumann wrote:
the correct place to report this would probably have been
http://bugzilla.gnome.org/.
Noted. Apologies.
it seems to work better with GTK+-2.0 (or actually glib-2.0):
0.00
Good news!
I don't think you can reliably perform range tests on uninitialized
Bradley F. Hartman wrote:
Ron,
Thanks for responding. You wrote:
I think this falls under the implement your own widget heading.
True enough. I am working under the assumption that my timeline
widget does not already exist. For that reason, I am attempting to
implement my own
Havoc Pennington wrote:
Kerber, Ulrich [EMAIL PROTECTED] writes:
I wrote an app with a clist showing the contents of a log file; the
clist is updated every 60 seconds. Although i do a gtk_clist_clear,
the memory used is increasing with every run, even if no element is
added. After a
.libs/libgtk.so: undefined reference to
`gtk_menu_stop_nqvigating_submenu'
Possible typo, nqvigating for navigating, in the code you're trying to
compile?
Assuming you pasted the errors from the window, rather than retyping
them into the email.
Eric
Ralph Walden wrote:
Folks,
Does anyone have any experience with using the GtkPlot
widget (from GtkExtra) on an SGI?
My first impression of GtkExtra is that it is buggy and
slow. The development does not seem very active.
Doesn't anyone else use GTK need plotting widgets?
Is this
Wanted to get his name right:
Adrian E. Feiguin
Also, one other consideration occurred to me, which is that GtkExtra is
LGPL, rather than GPL. So, if we ever clean up my application for
release and sale to customers, we could still use the GtkExtra library.
Sorry for the two-post clutter.
Barry,
2) Since I know GIMP and GTK+ have been ported to Win32
(http://www.gimp.org/~tml/gimp/win32) and that automake and
autoconf work under CygWin, (I've never tried using them from an
MS-DOS prompt) I'm assuming (see #1) that I can build GLADE-produced
UIs on Windows. Has anyone tried
that would result from
such a change seems to me to be an overwhelming argument against it.
Eric M. Monsler
___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list
Havoc Pennington wrote:
Eric M. Monsler [EMAIL PROTECTED] writes:
IIRC, GNOME is GPL, vs. the LGPL of GTK.
No, this is completely untrue - GNOME libraries have always been LGPL.
Well, always happy to lose a fundamental misunderstanding
Paul Davis wrote:
(snip)
Hopefully, its obvious that you could also use
./configure --prefix=/some/other/place/you/can/write
as well.
Just wanted to add to the above: it works quite well, and is fairly
easy, even if you're a relative newbie at the GNU build procedure. The
key is
One key question is, does the parameter change need to cause a
calculation restart? I would presume so, unless the computation was
convergence-based. In that case, you'll presumably need to modify
isingflip() whatever approach you take.
if you previously had:
isingflip()
{
/* setup loop code
"J. Ali Harlow" wrote:
(snip)
How many places are you calling gdk_draw_points() from in your
code anyway?
Never.
Well, never directly. I'm using gtkplot from the gtkextra package.
To date, while I've described my problem on that mailing list, I've
never had enough data to make a
ode 9 request_code 64" are from the reporting
by X or Xlib. If this is correct, is there an online reference that I
can consult to find out what those mean?
2) Any other suggestions on how to track down this problem?
TIA,
Eric M. Monsler
__
the error. Is this correct?
Eric M. Monsler
___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list
'realized', but --sync causes the Xserver to allocate the resources
immediately?
I realize I'm grasping at straws...
Eric M. Monsler
___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list
left as an exercise...
(There were some postings on hidden notebook pages not too long ago, but
I didn't pay much attention)
Eric M. Monsler
___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list
Help!
I'm running a display from a Solaris box, on which I've built Gtk, Gdk,
GLib, etc., and am developing a GUI app, onto my desktop NT box running
the eXodus X-server.
When I plot too many points in my gtk_plot, I receive the following
error:
Gdk-ERROR **: Fatal IO error 131 (Connection
"Timothy M. Shead" wrote:
(snip)
Use gtk_timeout_add() to create a 'timeout' signal that gets called,
say, every 100 milliseconds or so. In your handler for the timeout
event you decide whose turn it is and call process_move().
What is the gtk behavior in this situation, if it takes
26 matches
Mail list logo