How to keep UTF-8 characters, but escape non-UTF-8 byte sequence to hex codes in ASCII

2006-11-29 Thread Daniel Yek
Hi, I am attempting to handle raw filenames (which may be encoded differently than the character set used by the filesystem) gracefully. I am looking for a function that is similar to: g_filename_display_name(), but instead of converting illegal byte sequence to Unicode replacement character (

Re: Scientific widgets

2006-11-29 Thread Jim George
On 11/29/06, Mark Richardson <[EMAIL PROTECTED]> wrote: > What was that library that someone was developing for scientific widgets? > They were things like analog indicators (or dials), an led, etc. I thought I > saved the link, but can't find it now. http://www.tesla.eletrica.ufpr.br/giw I'm

Handling picking with Gtk

2006-11-29 Thread Yann Renard
Hi people, I'm new to the list and have a question. I have used Gtk for a couple of weeks now in cooperation with glade (wonderfull tools !!). I have a small problem on custom widgets. I want to draw some specific widgets myself, thus I use a GtkDrawingArea widget and use the /expose-event/ to per

Application crash

2006-11-29 Thread Ishii Satoshi
My application crashes after working for about a month. It works fine for the time being. The core shows gtk part only except main. gtk version is 2,4. Does anyone know how I can debug this kind of case? Your comment is very appliciated, #0 0xb7c22a9a in g_object_remove_weak_pointer () from /u

gtkentry grab-focus

2006-11-29 Thread control H
Say you have some widgets, one of them being a gtkentry. When you tab through the widgets towards the entry, its text will be selected when the entry gets focus. I would like that behaviour also when I just click the text in the entry. I connect to the grab-focus signal where I select all availabl

Scientific widgets

2006-11-29 Thread Mark Richardson
What was that library that someone was developing for scientific widgets? They were things like analog indicators (or dials), an led, etc. I thought I saved the link, but can't find it now. Thanks! Mark - Check out the all-new Yahoo! Mail beta - Fire up

Re: gtk-app-devel-list Digest, Vol 31, Issue 47

2006-11-29 Thread Abdellah Rhanizar
How to ensure that all alert's messages genereted by the window manager are in the WINDOW_TOP_LEVEL status, and witch file indicate for the developper this status. Finally, i want to know if there are a way to modify the behaviour of the window manager concerned this matter. Cordially; > > --

Re: TOP_LEVEL_WINDOWS order of the window messager

2006-11-29 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, Nov 28, 2006 at 11:50:53AM +0800, sunzysjzri wrote: > hi, > how to change the TOP_LEVEL_WINDOWS order of the windows manager? > I want reorder the windows stack of Xserver to reliase the function "window > switch", i got the > client list of

Re: popupmen item callback

2006-11-29 Thread Yeti
On Wed, Nov 29, 2006 at 03:18:57PM +0800, sunzysjzri wrote: > hi, i write a button which pops up a popupmenu after clicked, > and when i select an item of the popupmen such warring appeared, and why? > > ... > g_signal_connect (menu, "deactivate", G_CALLBACK (gtk_widget_destroy), > NULL); You