Re: GTK 2.2.1 : no text labels

2003-03-19 Thread Rui Correia
Hi Owen, Thanks for answering. Now it works. I got an error on ./configure for pango. Not a blocking one so I missed it. I have recompiled the last "fontconfig", downloaded a more up-to-date Xft library. Then I got an error with GTM+ ./configure : cannot find libX11. This was caused by unresols

Re: How to declare a protected region in a gtk window ?

2003-03-19 Thread Sven Neumann
Hi, Edward-Liu <[EMAIL PROTECTED]> writes: > I want to declare a region in gtk window so that it is not redrawn > after window expose. The region is drawn by a TV card. Gtk thinks > the region is blank (no widget), so Gtk just clears it with the > color of background. gdk_window_set_back_pixma

Get info from a GtkTreeView ?

2003-03-19 Thread Stephane Wirtel
Hi all ! I have a small problem. How to get a row from a GtkTreeView ? With which signal ? thanks Best regards, Stef -- Stephane Wirtel <[EMAIL PROTECTED]> WebSite : http://www.linux-mons.be GPG ID : 1024D/C9C16DA7 Fingerprint : 5331 0B5B 21F0 0363 EACD B73E 3D11 E5BC C9C1 6DA7 signature

simple plotting program

2003-03-19 Thread Artemio
Hello everybody, I am interested in writing a simple program that would plot somy x-y graphic with about 0.5 sec update. So, there should be only two widgets (I think) - window and drawingarea or something like that. Could you possibly give me some points to start from? Or maybe some draft pie

Re: How to declare a protected region in a gtk window ?

2003-03-19 Thread Owen Taylor
On Wed, 2003-03-19 at 06:28, Sven Neumann wrote: > Hi, > > Edward-Liu <[EMAIL PROTECTED]> writes: > > > I want to declare a region in gtk window so that it is not redrawn > > after window expose. The region is drawn by a TV card. Gtk thinks > > the region is blank (no widget), so Gtk just clear

Problem in GTK+ box?

2003-03-19 Thread Kevin H S Cheang
Dear All, I have type the following, but error occurs. What is the reason? /* cLabel.c*/ #include int main ( int argc, char *argv[] ) { GtkWidget *window; GtkWidget *frame1; GtkWidget *frame2; GtkWidget *box; gtk_init (&argc, &argv); window = gtk_window_new (GTK_WINDOW_TOPLEVEL);

Re: Problem in GTK+ box?

2003-03-19 Thread Paul Davis
>Dear All, > >I have type the following, but error occurs. What is >the reason? >The error is: actually, this is the reason, not the error: >(clabel:1197): Gtk-WARNING **: Attempting to add a >widget with type GtkFrame to a GtkWindow, but as a >GtkBin subclass a GtkWindow can only contain one >

Re: Problem in GTK+ box?

2003-03-19 Thread Richard Warren
> The error is: > (clabel:1197): Gtk-WARNING **: Attempting to add a > widget with type GtkFrame to a GtkWindow, but as a > GtkBin subclass a GtkWindow can only contain one > widget at a time; it already > contains a widget of type GtkVBox That must be the most helpful error message I have ever se

Walking through the widgets of an application?

2003-03-19 Thread Laszlo Kovacs
Hello, I am developing a performance benchmark for Gnome applications. One problem that has to be solved is identification of all widgets by their names in the scripts that drive the benchmark (simulate input, measure times etc). E.g. if I want to write a benchmark script that checks for the t

Re: Walking through the widgets of an application?

2003-03-19 Thread Sven Neumann
Hi, Laszlo Kovacs <[EMAIL PROTECTED]> writes: > I am developing a performance benchmark for Gnome applications. One > problem that has to be solved is identification of all widgets by > their names in the scripts that drive the benchmark (simulate input, > measure times etc). E.g. if I want to wr

Re: Walking through the widgets of an application?

2003-03-19 Thread Laszlo Kovacs
Sven Neumann wrote: Hi, Laszlo Kovacs <[EMAIL PROTECTED]> writes: I am developing a performance benchmark for Gnome applications. One problem that has to be solved is identification of all widgets by their names in the scripts that drive the benchmark (simulate input, measure times etc). E.g.

Re: Walking through the widgets of an application?

2003-03-19 Thread Owen Taylor
On Wed, 2003-03-19 at 12:39, Laszlo Kovacs wrote: > u can get a list of all toplevel windows using > > gtk_window_list_toplevels(). It should be easy to traverse the widget > > hierachy for each window using gtk_container_get_children(). But I > > think I already pointed you to these functions whe

How to start/stop animation?

2003-03-19 Thread edward hage
Hello all, I have made a little animation (oh, well .. it is a square bouncing). I do in the main-program: gtk_timeout_add (100,Repaint, (gpointer) drawing_area); with function Repaint: gint Repaint (gpointer data) { GtkWidget* drawing_area = (GtkWidget *) data; GdkDrawable *drawable;

relief on GtkMenuItems

2003-03-19 Thread Axel
Hi I have looked for it a few minutes and I didn' t found in the API or tutorial any function to make a menuitem in relief while passing on it or clicking on it with the mouse. catching the signal is probably to be used but how to draw the relief ? Thanks _

Re: How to start/stop animation?

2003-03-19 Thread Paul Davis
>I have made a little animation (oh, well .. it is a square bouncing). I >do in the main-program: [ ... ] >I want to add a toggle-button with 'start' and 'stop'. I can create the >buttons, that is no problem, but how can I make it stop/start the >animation. I can terminate the >gtk_timeout_add

how to link with other by GTK+ ???

2003-03-19 Thread Kevin H S Cheang
Dear all, i wanna open anther software with gtk+2.0, but cannot find the way from the tutorial at www.gtk.org. could u give me some suggestion? Thank you very much!! Kevin _ Do You Yahoo!? µn°O§K¶Oªº @yahoo.com ¤¤¤å¹q¤l¶l¥ó @ http://ch