Re: GTK_IS_WIDGET Errors

2003-02-28 Thread Eric M. Monsler
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

Re: Nary trees

2002-10-08 Thread Eric M. Monsler
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

Re: Nary trees

2002-10-07 Thread Eric M. Monsler
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

Weird GtkEntry behavior in GTK 1.2.10

2002-10-07 Thread Eric M. Monsler
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

Re: Crashing g_string_sprintf when printing invalid floats. gtk+-1.2.9 on Linux

2002-08-14 Thread Eric M. Monsler
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

Re: Crashing g_string_sprintf when printing invalid floats. gtk+-1.2.9 on Linux

2002-08-14 Thread Eric M. Monsler
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

Re: Crashing g_string_sprintf when printing invalid floats. gtk+-1.2.9 on Linux

2002-08-13 Thread Eric M. Monsler
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

Re: Crashing g_string_sprintf when printing invalid floats. gtk+-1.2.9 on Linux

2002-08-12 Thread Eric M. Monsler
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

Re: Crashing g_string_sprintf when printing invalid floats. gtk+-1.2.9 on Linux

2002-08-12 Thread 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

Re: Anyone know of a Graphical Timeline Widget?

2002-04-03 Thread Eric M. Monsler
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

Re: Memory problems while using a clist

2002-02-08 Thread Eric M. Monsler
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

Re: undefined reference when building gtk 1.2.9

2002-01-30 Thread Eric M. Monsler
.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

Re: Plot widgets

2002-01-07 Thread Eric M. Monsler
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

Re: Plot widgets

2002-01-07 Thread Eric M. Monsler
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.

Re: MacOS Classic Windows CE/PocketPC support?

2001-12-17 Thread Eric M. Monsler
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

Re: [Fwd: Data in linked lists]

2001-07-07 Thread Eric M. Monsler
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

Re: stacking pixmaps

2001-06-27 Thread Eric M. Monsler
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

Re: probelm about install

2001-04-16 Thread Eric M. Monsler
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

Re: Concurrent processes

2001-04-03 Thread Eric M. Monsler
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

Re: Need help debugging Gdk-ERROR

2001-03-18 Thread Eric M. Monsler
"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

Need help debugging Gdk-ERROR

2001-03-16 Thread Eric M. Monsler
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 __

Re: Need help debugging Gdk-ERROR

2001-03-16 Thread 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

Re: Need help debugging Gdk-ERROR

2001-03-16 Thread Eric M. Monsler
'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

Re: vertical text w/notebooks?

2001-03-05 Thread Eric M. Monsler
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

Gdk-ERROR?

2001-02-22 Thread Eric M. Monsler
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

Re: Keeping program flow moving nicely

2001-02-10 Thread Eric M. Monsler
"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