Re: How to get the preedit character from TextView?

2008-03-30 Thread amol
Hi Try this gtk_im_context_get_preedit_string (GTK_TEXT_VIEW (text_view)-im_context, preedit_string, NULL, cursor_pos); . do what u want with preedit string . gtk_im_context_reset (GTK_TEXT_VIEW (text_view)-im_context); Regards, Amol On Fri, 2008-03-28 at 12:33 +0900,

How to know which signals go with which widgets

2008-03-30 Thread Gregory Hosler
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 HI all, if I look up the documentation on a particular widget, at the bottom of the devhelp page there is documentation on which signals it supports. I'm looking for the inverse. I have a UI and i need a leave-notify-event, so I wish to know which

Re: How to know which signals go with which widgets

2008-03-30 Thread Tristan Van Berkom
On Sun, Mar 30, 2008 at 7:51 AM, Gregory Hosler [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 HI all, if I look up the documentation on a particular widget, at the bottom of the devhelp page there is documentation on which signals it supports. I'm looking

Re: Question in using gdk_pixbuf_get_from_drawable()

2008-03-30 Thread ying lcs
Yes, I am really accessing a GDK window. pb = gdk_pixbuf_get_from_drawable(NULL, GDK_DRAWABLE(window), Any other idea? Thanks. On Sun, Mar 23, 2008 at 11:34 AM, Luis Menina [EMAIL PROTECTED] wrote: Are you really sure you're accessing the GdkWindow

Highlighting text with color

2008-03-30 Thread Jeffrey Barish
I need to highlight some text in a TreeView. I know how to change the color, but I am wondering what color to use. I am thinking that I should choose a color that is used elsewhere so that the highlighted text does not clash with the theme, even if the user were to change the theme. Perhaps

Rotating scaling a widget or set of widgets

2008-03-30 Thread Jason Edgecombe
Hi There, I'm developing an application for a Nokia N800 Internet Tablet. I want to rotate and scale the whole screen or at least a set widgets so that the application can be used when holding the application in portrait or landscape orientations. How can I do that? Thanks, Jason

Re: Quitting an application

2008-03-30 Thread G Hasse
On Thu, Mar 27, 2008 at 08:01:40PM +0530, Sujith wrote: Hi, I am writing a music library manager and I have a small problem when terminating the application. On starting the app, I scan a DB and load the tracks into a treeview. When this is in progress, if the user closes the application,

Re: identify unused functions?

2008-03-30 Thread G Hasse
On Sun, Mar 30, 2008 at 10:25:05PM +0300, Stefan Kost wrote: Hi, Undefined and unused is not the same. There is NO way to clerify all unused functions in a program. You could call functions by their addresses and those addresses could be calculated in runtime. So you don't know... Something

Re: How to know which signals go with which widgets

2008-03-30 Thread Gregory Hosler
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tristan Van Berkom wrote: | On Sun, Mar 30, 2008 at 7:51 AM, Gregory Hosler [EMAIL PROTECTED] wrote: | -BEGIN PGP SIGNED MESSAGE- | Hash: SHA1 | | HI all, | | if I look up the documentation on a particular widget, at the bottom of the