Re: C vs C++ for GTK

2007-12-12 Thread Daniel Dieterle
On Mon, 2007-11-26 at 16:48 +, Jon Harrop wrote: > On Saturday 24 November 2007 22:11, Patrick wrote: > > I thought that C++ must be the way to go as it can do everything that C > > can "plus plus" but some heavy hitters don't seem enthused with it, > > Linus Torvalds in particular has been quo

Compiler warnings "set_label" incompatible pointer

2007-10-23 Thread Daniel Dieterle
Hi, if i compile following code i get some warnings: void on_button_run_clicked( GtkWidget * widget, GtkEntry *entry, gpointer user_data ) { /* Run changes to Pause */ gtk_button_set_label (widget, ( const gchar *) "Pause"); /* calles every 100 ms function draw_sat

drawing in a not-callback-function

2007-10-02 Thread Daniel Dieterle
ence. Any help? Thanks in advance. Daniel Dieterle. ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: GTK plot graph

2007-06-29 Thread Daniel Dieterle
Hey, after googling: "draw curves in gtk" i found the gtk+extra packages. I think GtkPlot is what i need. Sorry for disturbing you. Perhaps this contribution helps the next guy to find the right tool. Daniel. On Fri, 2007-06-29 at 11:45 +0200, Daniel Dieterle wrote: > Hi, >

GTK plot graph

2007-06-29 Thread Daniel Dieterle
Hi, my goal is to plot a simple array of floating-values in a gtk plot. I want some basic operations on the graph, like zooming in/out, fast redrawing of the graph , ... - gtk-curve seems not to be poweful enough. Also: "This widget is considered too specialized/little-used for GTK+, and will in

easy gtk-programm fault

2006-01-17 Thread Daniel Dieterle
hallo everybody, since some days i try to code my first gtk program. it 's not more than a window with a label in it. the code is that: #include int main( int argc, char *argv[] ) { GtkWidget *window1; GtkWidget *label1; gtk_init (&argc, &arg