Hello,
What is the purpose of your update? Do you want to refresh a widget,
or anything else?
Vlad Volodin
2009/5/11 Adeel Malik :
> Hi, I was wondering how to update the gtk_main_thread function after a fixed
> time interval (in milliseconds) as g_timer_add function provides a quick
> solut
Hi, I was wondering how to update the gtk_main_thread function after a fixed
time interval (in milliseconds) as g_timer_add function provides a quick
solution to that. Could someone suggest how to go about it ?.
Thanks,
Adeel
--- On Sat, 5/9/09, Ardhan Madras wrote:
From: Ardhan Madras
Subj
Hi, Carlos
Where do you use your drawing operation? As GTK suggested (like
GtkDrawingArea), you have to do it in "expose_event":
* The "expose_event" signal to handle redrawing the contents of the widget.
Here you can have several if's:
if (something)
draw_lines();
else
draw_other_lines();
Hi,
I have a bit of an odd issue - my GFileMonitor setup wasn't working
(callback not changed). So to isolate the program and maybe show why
the code wasn't working, I isolated it into it's own program... and it
worked. Looked back into how I did it in the main program, it's still
exactly the same
Hi all!
Well, I'm having a problem with clearing a line.
---
cairo_t *cr;
cr = gdk_cairo_create (widget->window);
cairo_set_source_rgba (cr, 0, 0, 0, 1);
static const double dashed[] = { 3.0 };
cairo_set_line_width (cr, 1.5);
cairo_set_das