Capture/Replay tool for gtk+ application

2002-05-15 Thread Chen leonard-a17094
Hi, I'm a gtk new comer. Is there any capture/replay tool for gtk+ application? i.e., it can be used to record/capture a session through the GUI interface, and to demonstrate/test the application later on. BRs, Liang -- Global Software Group, Motorola China E-mail: [EMAIL PROTECTED] Tel:

Hardcoding $prefix

2002-05-15 Thread Ralph Walden
I've noticed that Pango will hardcode the $prefix from the build process into the library, and then use this path to find $prefix/etc/ configuration stuff (pango.aliases, etc.) This makes it impossible to distribute binaries of these libraries and have them look for these files in some other loca

Re: Fw: view cant' show special characters (at least not with gtk_text_buffer_set_text() so far)

2002-05-15 Thread Sven Neumann
Hi, "calmar" <[EMAIL PROTECTED]> writes: > >the text put into a GtkTextView (or any other GTK+-2.0 widget) > >absolutely needs to be UTF-8 encoded. Glib provides a number of > >functions that help you to convert from and to other encodings. > > i tried something like this: > //code begin > > c

Fw: view cant' show special characters (at least not with gtk_text_buffer_set_text() so far)

2002-05-15 Thread calmar
hi, Sven [EMAIL PROTECTED] wrote: >the text put into a GtkTextView (or any other GTK+-2.0 widget) >absolutely needs to be UTF-8 encoded. Glib provides a number of >functions that help you to convert from and to other encodings. i tried something like this: //code begin char ** end; if ( ! (g_

Re: Is there a canvas widget

2002-05-15 Thread Ralph Walden
I don't suppose we could propose a re-name of the GnomeCanvas to GtkCanvas, or at least an alias. I believe that this question will continue to come up. If someone does not ask, he/she would just assume that this widget isn't available unless he/she drags in all of Gnome Ralph Walden Pau

Re: Is there a canvas widget

2002-05-15 Thread Paul Davis
>On Wed, 15 May 2002, Paul Davis wrote: > >> as an avid user of GtkCanvas, i would encourage you to move to GTK+2, >> and then use GnomeCanvas from GNOME 2. In this release of GNOME, the >> Canvas has *no* GNOME-related dependencies other than those shared by >> GTK+ (glib, ATK, Pango). You can us

Re: Is there a canvas widget

2002-05-15 Thread Chris Nystrom
On Wed, 15 May 2002, Paul Davis wrote: > as an avid user of GtkCanvas, i would encourage you to move to GTK+2, > and then use GnomeCanvas from GNOME 2. In this release of GNOME, the > Canvas has *no* GNOME-related dependencies other than those shared by > GTK+ (glib, ATK, Pango). You can use it i

Re: view cant' show special characters (at least not with gtk_text_buffer_set_text() so far)

2002-05-15 Thread Dov Grobgeld
You have to UTF8 encode the characters. E.g. to input the characters you mention below you have to insert the following char* buf: "\327\224 \327\226 \327\252 \327\224 \327\232 \327\233\n" This buffer was created by doing: echo ä æ ú ä ê ë | iconv -f iso8859-8 -t utf8 | od -c and reform

Re: view cant' show special characters (at least not with gtk_text_buffer_set_text() so far)

2002-05-15 Thread Sven Neumann
Hi, "calmar" <[EMAIL PROTECTED]> writes: > i have a gtk_text_view_new() in my program > and i want to put there some text with this function: > gtk_text_buffer_set_text (); > > as long as i have normal characters in the buffer, it's works properly. > when there are any special letters (which te

view cant' show special characters (at least not with gtk_text_buffer_set_text() so far)

2002-05-15 Thread calmar
hi, my problem is actually:i have a gtk_text_view_new() in my programand i want to put there some text with this function:gtk_text_buffer_set_text ();as long as i have normal characters in the buffer, it's works properly.when there are any special letters (which tend to be everywhere unless

Re: Is there a canvas widget

2002-05-15 Thread Paul Davis
>David Vestal wrote: >> Is there a GTK+ canvas widget, like the one in the Gnome extension? >> -- David V > >http://www.google.com/search?q=gtkcanvas as an avid user of GtkCanvas, i would encourage you to move to GTK+2, and then use GnomeCanvas from GNOME 2. In this release of GNOME, the Canvas h

Re: problem with gdk_draw_pixmap

2002-05-15 Thread John . Cupitt
mrzali wrote: > Dear friends, > > I create two image(pixmap1 & pixmap2) using gdk_draw_pixmap. When > mouse_over on pixmap1 the image change > to the pixmap2. The problem is the image flickering. How i want to solve > this problem? I make a GtkPixmap, plus two GdkPixmaps (and two masks as well).

Re: Is there a canvas widget

2002-05-15 Thread John . Cupitt
David Vestal wrote: > Is there a GTK+ canvas widget, like the one in the Gnome extension? > -- David V http://www.google.com/search?q=gtkcanvas :-) == Coming soon: Fabric of Vision Dress and Drapery in Painting 19 June - 8 September

Re: combo box and click

2002-05-15 Thread John . Cupitt
I found the most reliable way to detect end-of-select was to listen for hide on the popup pane of the combo: popwin = GTK_COMBO (combo)->popwin; gtk_signal_connect (GTK_OBJECT (popwin), "hide", GTK_SIGNAL_FUNC (myfunc), (gpointer) data); this

Re: combo box and click

2002-05-15 Thread Sijin M. Stephen
Jean-Yves Lamoureux wrote: >Hi, > >I'm using some combo boxes, it work like I want exept for a thing : >The user has to hit enter at the end of his choice, or the "activate" >signal won't be passed. >How can I do the same thing but with a simple mouse click ? > >Thanks > > use the gdk events..

combo box and click

2002-05-15 Thread Jean-Yves Lamoureux
Hi, I'm using some combo boxes, it work like I want exept for a thing : The user has to hit enter at the end of his choice, or the "activate" signal won't be passed. How can I do the same thing but with a simple mouse click ? Thanks -- Jean-Yves Lamoureux [EMAIL PROTECTED] http://www.lnxscene