how to get the text(label) of the Menu item widget??

2006-12-01 Thread Naveen Kumar
Hi All, i am using option menu in my application. Problem is i am unable to fetch the Text(label) of the Menu item when it is selected. Based on the text collected(label) from the menu item, i need to update a entry and a label in some other window. how do i do it? thanks in advance, Naveen Karn

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

2006-12-01 Thread Edward Catmur
On Thu, 2006-11-30 at 15:46 -0800, Daniel Yek wrote: > Well, with g_utf8_validate(), it is trivial to implement a function that > escape non-UTF-8 bytes to Hex. However, I then found out that TreeView, or > more likely Pango, would unescape the %xx sequence (undo my attempt to help > it) and cho

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

2006-12-01 Thread Peter Lund
On Thu, 2006-11-30 at 15:46 -0800, Daniel Yek wrote: > Well, with g_utf8_validate(), it is trivial to implement a function that > escape non-UTF-8 bytes to Hex. However, I then found out that TreeView, or > more likely Pango, would unescape the %xx sequence (undo my attempt to help > it) and ch

Re: Handling picking with Gtk

2006-12-01 Thread Yeti
On Thu, Nov 30, 2006 at 03:57:25PM +0100, Yann Renard wrote: > > I write portable code. I > haven't checked yet but I guess gnome widgets won't run under windows. No matter what `gnome widgets' do, GnomeCanvas does not depend on anything beyond Gtk+, namely it does not require any Gnome libraries

Re: Handling picking with Gtk

2006-12-01 Thread Yann Renard
[EMAIL PROTECTED] wrote: > On Wed, Nov 29, 2006 at 03:31:03PM +0100, Yann Renard wrote: >>> 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 [...] > >>

GTK Man pages

2006-12-01 Thread Richard
Has anyone created man pages from the GTK+ 2.0 API? Using emacs as my editor its very inconvenient to have to use HTML documentation with no ability to jump directly to a functions API documentation. ___ gtk-app-devel-list mailing list gtk-app-devel-list

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

2006-12-01 Thread Daniel Yek
At 01:57 AM 12/1/2006, Peter Lund wrote: >On Wed, 2006-11-29 at 17:25 -0800, Daniel Yek wrote: > >>To be clear, I want UTF-8 characters remain UTF-8 and only escape non-UTF-8 >>byte sequence. Is there a function that does that? > >I don't think so. I didn't actually have a look but I don't recall

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

2006-12-01 Thread Peter Lund
On Wed, 2006-11-29 at 17:25 -0800, Daniel Yek wrote: > To be clear, I want UTF-8 characters remain UTF-8 and only escape non-UTF-8 > byte sequence. Is there a function that does that? I don't think so. I didn't actually have a look but I don't recall seing one. Luckily, it is easy to write o