Omega character

2005-04-09 Thread John Coppens
Hello people. 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. I normally write characters in the locale set and then call g_locale_to_utf8, but I can't find the character Omega in the local set (0

GTK+, CYGWIN & MSW [oops]

2005-04-09 Thread Jamiil Abdullah-Alkadir
Oops! I forgot to mention that the application is a GTK+. Sorry for the mistake. :( From: "Jamiil Abdullah-Alkadir" <[EMAIL PROTECTED]> To: gtk-list@gnome.org, gtk-app-devel-list@gnome.org, cygwin@cygwin.com Subject: GTK+, CYGWIN & MSW Date: Sat, 09 Apr 2005 22:31:24 -0400 I have finally got an app

GTK+, CYGWIN & MSW

2005-04-09 Thread Jamiil Abdullah-Alkadir
I have finally got an application to compile under cygwin, but to run it I have to launch the X server, 'startx' to be able to run the program under cygwin. However, I am not able to run the program form windows, I have added the 'cygwin.dll' and 'cygX11-6.dll' directories to the 'autoexec.bat'

Draw window where mouse pointer is

2005-04-09 Thread César Leonardo Blum Silveira
Hello all, How can I Make my app start with it's top left corner right where the mouse pointer is pointing at? Thanks, César ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: Newbey Question

2005-04-09 Thread Tor Lillqvist
Jamiil Abdullah-Alkadir writes: > I did as you suggested, however, I now get an error saying that the > '-lXext' library was not found. I ran 'find /usr -name *Xext*' and > I did find '/usr/X11R6/bin/cygXext-6.dll'. Is there anything I can > do to solve this problem? I can't understand why you

[NEWBIE] Setting clipboard text

2005-04-09 Thread Edward Yang
I am current using the following code to store text to the default clipboard: GtkClipboard* clip = gtk_get_clipboard_for_display(gdk_get_display_default(), GDK_SECTION_CLIPBOARD); gtk_clipboard_set_text(clip, string, -1); I wonder if there is a function that does the job in one stroke. __

Re: Newbey Question

2005-04-09 Thread stian
> Thanks Marcel for your prompt response. > I did as you suggested, however, I now get an error saying that the > '-lXext' > library was not found. I ran 'find /usr -name *Xext*' and I did find > '/usr/X11R6/bin/cygXext-6.dll'. Is there anything I can do to solve this > problem? I saw you are usin

Help with combobox functionality !!

2005-04-09 Thread poonam chokshi
hello, 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...accordinglyAm i supposed to use the change signal for the combobox ??? If yes than what am i supposed to write in the that signal ca

Re: [NEWBIE]How to show popup given a GdkEventButton object?

2005-04-09 Thread Olexiy Avramchenko
Edward Yang wrote: How to turn the x, y members to screen coordinates so that I can show a popup menu? x_root, y_root fields of GdkEventButton structure ? http://developer.gnome.org/doc/API/2.0/gdk/gdk-Event-Structures.html#GdkEventButton BTW, it there an easy way to show a popup menu? I looke an

Re: GtkItemFactoryEntry shortcut keys

2005-04-09 Thread Daniel Pekelharing
On Apr 9, 2005 11:15 AM, David Necas (Yeti) <[EMAIL PROTECTED]> wrote: > > E.g. in > > /usr/include/gtk-2.0/gdk/gdkkeysyms.h > > (w/o the GDK_ prefix). They match X11 key names > > /usr/X11R6/include/X11/keysymdef.h > > (w/o the XK_ prefix). There may be some more user-friendly > form of the

Re: Output-only window...

2005-04-09 Thread Freddie Unpenstein
> > I'm guessing that what I want to do can only be achieved with > > X11 directly, though I thought I'd enqure anyhow... > Well, AFAIK output-only windows were available in X10, however in > X11 they were not, until very recently (the latest release, or maybe > even not yet released CVS, I forgo

[NEWBIE]How to show popup given a GdkEventButton object?

2005-04-09 Thread Edward Yang
How to turn the x, y members to screen coordinates so that I can show a popup menu? BTW, it there an easy way to show a popup menu? I looke an open source editor, but the code seems very complex. ___ gtk-app-devel-list mailing list gtk-app-devel-list@

Re: GtkItemFactoryEntry shortcut keys

2005-04-09 Thread David Necas (Yeti)
On Sat, Apr 09, 2005 at 11:05:54AM +0200, Daniel Pekelharing wrote: > > Any idea where I could get a list of all key symbol names? > I could take guesses, I guess, but I'd prefer a list. E.g. in /usr/include/gtk-2.0/gdk/gdkkeysyms.h (w/o the GDK_ prefix). They match X11 key names /usr/X11R6/i

Re: probelm with static linking

2005-04-09 Thread Olexiy Avramchenko
NAVEEN FRANCIS wrote: Hi.. I am new to gtk. I was trying to develop an GTK application on Fedora. When I am trying to do static linking I am getting an error. Hello, Fedora just doesn't provide static gtk+ libraries. This topic (static linking to GTK+) was discussed many times on gtk-list, gt

Re: GtkItemFactoryEntry shortcut keys

2005-04-09 Thread Daniel Pekelharing
On Apr 9, 2005 10:15 AM, David Necas (Yeti) <[EMAIL PROTECTED]> wrote: > > You have to use key symbol names -- "equal" in this case. > > Yeti > Ahh that's solved the problem! Thanks a lot! Any idea where I could get a list of all key symbol names? I could take guesses, I guess, but I'd prefer a

Re: GtkItemFactoryEntry shortcut keys

2005-04-09 Thread David Necas (Yeti)
On Fri, Apr 08, 2005 at 08:59:01PM +0200, Daniel Pekelharing wrote: > This is my first post - I'm fairly new to gtk programming. > I program in C, here's my problem. > > I'm building a main menu for my app using GtkItemFactory, > I'm trying to assign the '=' key as a shortcut on one of the items l