Re: status/progress bars (revisited)

2001-05-15 Thread Havoc Pennington
On Tue, 15 May 2001, Matt Hillebrand wrote: > I have been posting this question every few weeks for the past year, and I > have never received a response: > > How do I force a status bar (or progress bar) to update when the computer > is really busy? http://www.gtk.org/faq/#AEN561 Havoc

Re: status/progress bars (revisited)

2001-05-15 Thread Helmethead
On Tue, May 15, 2001 at 07:53:54PM -0700, Matt Hillebrand wrote: > I have been posting this question every few weeks for the past year, and I > have never received a response: > > How do I force a status bar (or progress bar) to update when the computer > is really busy? I can tell the status bar

status/progress bars (revisited)

2001-05-15 Thread Matt Hillebrand
I have been posting this question every few weeks for the past year, and I have never received a response: How do I force a status bar (or progress bar) to update when the computer is really busy? I can tell the status bar to change right before I tell the CPU to begin a real work-out, and no mat

Re: Question about entry callbacks

2001-05-15 Thread Havoc Pennington
Vicki Stanfield <[EMAIL PROTECTED]> writes: > I am trying to create a callback for an entry widget. When a string > is typed in, I want the callback to be called. I assume that I can > use the entry widget which is passed in with the gtk_entry_get_text > function to get the string. The problem is

GString problem

2001-05-15 Thread Edward Lin
Title: GString problem System info: glib 1.2.9 on Solaris 7.  Using gcc2.9.5 and posix threads.  I am having a problem using GString and was wondering if anyone had ever experienced anything similar.  Specifically, the call to the function g_string_new() has problems in some situations.  Wh

Re: 4 pix animation

2001-05-15 Thread Paul Davis
> gdk_pixmap_unref (pix1); > gtk_timeout_add (4000, NULL, NULL); I suggest you take a look at the documentation for gtk_timeout_add(), because the call you've made is totally nonsensical. --p ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.g

4 pix animation

2001-05-15 Thread E K
First off lemme apologize for the html based mail... my computer is messed up right now. My problem is... I want to make a 4 pixmpa animation, each pixmap being displayed 4 seconds apart. I read up on it, and first you display your first pixmap, then do the periodic timer, and then replace the

Question about entry callbacks

2001-05-15 Thread Vicki Stanfield
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I am trying to create a callback for an entry widget. When a string is typed in, I want the callback to be called. I assume that I can use the entry widget which is passed in with the gtk_entry_get_text function to get the string. The problem is that

Re: problem setting the background color of a widget

2001-05-15 Thread Mark Mohr
Hi Ronald, I found this earlier on this forum. GtkRcStyle* rc_style;rc_style = gtk_rc_style_new();rc_style->bg[GTK_STATE_NORMAL].red = 0;rc_style->bg[GTK_STATE_NORMAL].green = 0;rc_style->bg[GTK_STATE_NORMAL].blue = 0;rc_style->color_flags[GTK_STATE_NORMAL] = GTK_RC_BG;gtk_widget_modify_style(widge

GTK themes problems!!!!!

2001-05-15 Thread Roberto
I can't install GTK themes with Gnome Control Center, How can I do it? ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list

Re: newbie installation question

2001-05-15 Thread Owen Taylor
Steven I Usdansky <[EMAIL PROTECTED]> writes: > I'm looking to port my app to gtk2.0 and was considering installing > 1.3.5 to begin the port. I noticed that the rpm files for 1.3.5 are > listed under Redhat 7.1 whereas I'm running 7.0. Can I install the > 7.1 rpm files under 7.0? Probably no

Re: *precise* event times available? (for handwriting capture)

2001-05-15 Thread Paul Davis
In message <[EMAIL PROTECTED]>you write: >For an application that captures handwriting done >on a graphics tablet, I need *precise* motion-event timings. > >Specifically, I need the motion-event times accurate to 1 millisecond >or better. > >The times provided to my callback in the event->time fie

newbie installation question

2001-05-15 Thread Steven I Usdansky
I'm looking to port my app to gtk2.0 and was considering installing 1.3.5 to begin the port. I noticed that the rpm files for 1.3.5 are listed under Redhat 7.1 whereas I'm running 7.0. Can I install the 7.1 rpm files under 7.0? Steve Steven Usdansky [EMAIL PROTECTED] _

*precise* event times available? (for handwriting capture)

2001-05-15 Thread John Ringland
For an application that captures handwriting done on a graphics tablet, I need *precise* motion-event timings. Specifically, I need the motion-event times accurate to 1 millisecond or better. The times provided to my callback in the event->time field appear to be rounded to a multiple of 20 mil

problem setting the background color of a widget

2001-05-15 Thread Ronald Bultje
Hey people, here's a Really Stupid Question (tm). If I make something like a event-box, how do I set the backgroundcolor to, for example, black? I tried the following code: GdkColor *color; GdkGC *gc; GtkWidget *widget; widget = gtk_event_box_new(); gtk_widget_set_usize(GTK_WIDGET(widget), wid