Re: Draw window where mouse pointer is

2005-04-10 Thread David Necas (Yeti)
On Sat, Apr 09, 2005 at 09:18:37PM -0300, Csar Leonardo Blum Silveira wrote: How can I Make my app start with it's top left corner right where the mouse pointer is pointing at? root = gdk_screen_get_root_window(gdk_screen_get_default()); gdk_window_get_pointer(root, x, y, modif); Then

GCallback Issues

2005-04-10 Thread Adam Tee
Hi all, I'm porting some code which uses GtkFactoryItem to use GtkActionGroup and GtkUIManager. The basic menu strutures is fine but there is also some code which maps the keybindings into an array which is then searched to operate the correct function. The problem I am having is that the

Re: Omega character

2005-04-10 Thread John Coppens
On Sun, 10 Apr 2005 09:04:03 +0200 David Necas (Yeti) [EMAIL PROTECTED] wrote: On Sun, Apr 10, 2005 at 02:40:38AM -0300, John Coppens wrote: Of all things, I didn't think this would be so difficult. I want to put a string on the screen with electrical units, and the Ohms-(Omega) character.

Re: Omega character

2005-04-10 Thread David Necas (Yeti)
On Sun, Apr 10, 2005 at 12:34:56PM -0300, John Coppens wrote: Thanks for the reply, I've never really thought much about about the consequences of using the locale to generate programs (in my defense:the locale is 'C' which should be available everywhere). C locale does not define characters

Re: Omega character

2005-04-10 Thread John Coppens
On Sun, 10 Apr 2005 18:20:40 +0200 David Necas (Yeti) [EMAIL PROTECTED] wrote: On Sun, Apr 10, 2005 at 12:34:56PM -0300, John Coppens wrote: Thanks for the reply, I've never really thought much about about the consequences of using the locale to generate programs (in my defense:the

Browseable On-line developer documentation?

2005-04-10 Thread Paul Santa Maria
Hi - I'm a newbie who's been playing with GTK for a few weeks now. The API looks really great. The HTML documentation (generated from DocBook?) appears, as far as I can tell, to be quite excellent. So why the heck can't you search and browse the documentation as easily as, for example, hitting

Re: Browseable On-line developer documentation?

2005-04-10 Thread John Coppens
Hi Paul. Why it's not there? The most probable answer is that the indexes, if they were complete, would take up much more space that the original docs. But there are solution to generate indices in your machine. (See below) On Sun, 10 Apr 2005 13:48:57 -0700 (PDT) Paul Santa Maria [EMAIL

[NEWBIE] How to put text onto system-wide clipboard?

2005-04-10 Thread Edward Yang
What I want to do is put user selected text onto the (a?) system-wide clipboard. How to do this using GTK+? BTW, I come from Windows world. ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org

RE: Help with combobox functionality !!

2005-04-10 Thread Freddie Unpenstein
1) I am using the combobox in my application now i want the functionality that whenever user types in the combobox the selection changes in the list Someone else will undoubtedly answer this far better than I can... But be aware that there are several signals associated with selecting

Re: Draw window where mouse pointer is

2005-04-10 Thread Arren
César Leonardo Blum Silveira wrote: Hello all, How can I Make my app start with it's top left corner right where the mouse pointer is pointing at? root = gdk_screen_get_root_window(gdk_screen_get_default()); gdk_window_get_pointer(root, x, y, modif); Thanks, César

Re: Omega character

2005-04-10 Thread Freddie Unpenstein
You can always write UTF-8 characters expanded with escapes \xe2\x84\xa6 (this is Ohm sign which is different from capital Omega \xce\xa9, BTW) if you don't want to use UTF-8 directly, which is no problem nowadays. One trick I use to avoid ending up with a long illegible string of ugly

RE: [NEWBIE] How to put text onto system-wide clipboard?

2005-04-10 Thread Freddie Unpenstein
What I want to do is put user selected text onto the (a?) system-wide clipboard. How to do this using GTK+? BTW, I come from Windows world. Both Windows and Linux have GUI-wide (NOT system-wide) clipboards. In Windows, seperating the System from the GUI is almost impossible. But good old

Re: Omega character

2005-04-10 Thread Tor Lillqvist
Freddie Unpenstein writes: Oh, if you write a bunch of OHM and OMEGA signs one after the other, you can see a subtle differences the characters. Of course, the reason why they have different code points is not that they might look different (this is just a coincidence, caused by Pango