upgrading gtk+

2005-12-12 Thread Largegeek
I am trying to upgrade my version of gtk+ because I want to upgrade gimp. At least, that was the original version but now it has become an all consuming mission because I have been trying on and off for a couple weeks now with no success. I just installed the following libraries: atk 1.10.1 cai

Re: Win32 API HInstance and gtk+ - how?

2005-12-12 Thread Igor Gorbounov
Tor Lillqvist wrote: Igor Gorbounov writes: > Tell me, please, if there is any way to get a Win API application > instance handle in a gtkmm application GetModuleHandle(NULL) ? Yes, Vinzenz Feenstra has suggested this function last week and it helped. Thanks to all, who answered my ques

Pango 1.11.1 released

2005-12-12 Thread Matthias Clasen
Behdad stayed up all night to finish Pango 1.11.1 before leaving for the holidays. Thanks, Behdad ! Pango 1.11.1 is now available for download at: ftp://ftp.gtk.org/pub/gtk/v2.9 http://ftp.gnome.org/pub/GNOME/sources/pango/1.11 pango-1.11.1.tar.bz2 c6255bba9bb738a564716fd57b7cc546 pango-1.11.1.t

Warning :*****: When I run GTK Application

2005-12-12 Thread Ramachandra CS
Hi,     I am facing some problems when i run my GTK Applications. And also when i click on any widget, it display the Gdk-WARNING, but the application works fine some times.         So Can u suggest me some ideas to correct these problems. And the following are the Gdk-WARNINGS.

how to add an icon to the item in my list

2005-12-12 Thread rion10 (sent by Nabble.com)
I use gtk+1.2; the list as the following:     GtkWidget* list = gtk_list_new();     GList* viewList = ...;     gtk_list_append_items(GTK_LIST(list), viewList); my question is:     how to add an icon(.png, .xpm, etc) to the current selected item in the list? Thanks Sent from the Gtk+ - General f

Double buffering while moving in a 'fixed'

2005-12-12 Thread Andrew Shafer
I know what I'm doing is against all things holy, but maybe someone else thought about this before. I have a GtkFixed container that I'm using to do little layout. Inside the fixed I have components. Components can be any widget and they are also associated with a shape mask. I collect all the

Possible problem with gdk_selection_get_owner()

2005-12-12 Thread Mark Leisher
Attached are two small programs, gtk.c and x11.c. Both are meant to demonstrate how to use a GdkAtom/Atom to determine if an instance of a program is already running (Linux/Unix). The x11.c code works fine. The gtk.c code always returns NULL when gdk_selection_get_owner() is called, but the Se

RE: Win32 API HInstance and gtk+ - how?

2005-12-12 Thread Robert Thorpe
The normal way to get the app instance is to do GetWindowLong (hwnd, GWL_HINSTANCE) But hInstance and prevInstance aren't very useful these days, they cannot be used to check if a program is already running as it could be on Win-16. The normal way is to do that is to use FindWindow with the window

Re: How can I find out the text of an entry in a ComboBox

2005-12-12 Thread Martyn Russell
On Mon, 2005-12-12 at 10:58 -0500, [EMAIL PROTECTED] wrote: > How can I find out the text of an entry in a ComboBox if I only know > the index of that entry? Try: gtk_combo_box_get_active_text (); Or something like: model = gtk_combo_box_get_model (combobox); path = gtk_

How can I find out the text of an entry in a ComboBox

2005-12-12 Thread yinglcs
Hi, How can I find out the text of an entry in a ComboBox if I only know the index of that entry? Regards, Check Out the new free AIM(R) Mail -- 2 GB of storage and industry-leading spam and email virus protection. __

Re: How can I find out if a program is already running

2005-12-12 Thread Florian Boor
Hi, Zoltan Boszormenyi wrote: > I need to find out whether an instance of a program is already running > and possibly unminimize it or bring it above any other windows, so > I can prevent an application started again. > Is is possible using GTK-1.2, or GTK-2.x, and how? as long as you are using X

(no subject)

2005-12-12 Thread ztuylek
___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list

Win32 API HInstance and gtk+ - how?

2005-12-12 Thread Tor Lillqvist
Igor Gorbounov writes: > Tell me, please, if there is any way to get a Win API application > instance handle in a gtkmm application GetModuleHandle(NULL) ? (I think "application instance" is Windows 3.x terminology, but the MCIWndCreate() docs say "handle to the module", to presumably GetModu