Re: text entry color problem....

2002-08-21 Thread Bernd Demian
Am Mit, 2002-08-21 um 08.12 schrieb [EMAIL PROTECTED]: hi... i want to change the white background of text entry, if i change the background color of it then only outline of this widget becomes colored...if i change foreground color of it then only text in this gets colored...so

Re: text entry color problem

2002-08-21 Thread vyadav
hi... i did like it...i am using gtk 1.2 pMf is undeclared...what it is ?? thanx in advance.. Hi, we use gtk_widget_modify_base(

Re: problem reading a non-english file

2002-08-21 Thread Sven Neumann
Hi, Ruben Porras [EMAIL PROTECTED] writes: The following pice (obviously it has other widgets, but I think they aren't relevant) of code works right with an english file, but when the file has caracters as ñ fails sayin the error (gtklilo:11289): Gtk-CRITICAL **: file gtktextbuffer.c:

Re: text entry color problem....

2002-08-21 Thread Sven Neumann
Hi, [EMAIL PROTECTED] writes: i want to change the white background of text entry, if i change the background color of it then only outline of this widget becomes colored...if i change foreground color of it then only text in this gets colored...so how the white background can be

Fonts: 5 ways to change the gtk+-2.0 text label font

2002-08-21 Thread Olexiy Avramchenko
Hello, To change the default text label font in gtk+-2.0 you can: 0. Use gtk_widget_modify_font(). 1. pango_layout_set_font_description(). 2. .rc file. 3. gtk_label_set_attributes(). 4. Pango markup language and gtk_label_set_markup(). There's a little demo in attach. Olexiy /* A

Menu Item drawing an accelerator

2002-08-21 Thread Allen Brown
Hi, I would like to add accelerator text to my menu items, without actually using a real accelerator i.e I would like to have: Cut Ctl-X in the menu, but do not want to define an accelerator. For the moment I am setting the menu Item text to Cut___Ctl-X, where ___ is 3 space characters. This

Problem with linked lists

2002-08-21 Thread Szymon Bkowski
Hello. I`m still starting my journey with gtk programming and I have problem with moving over double linked lists. Below I`ve put a piece of my program where I`m trying to learn how to deal with these lists. What I wanted to reach is that I add two elements to the list. In the data field of Glist

Help: After install glib-2.0.6, can't find glib.h. (but it's there!)

2002-08-21 Thread Karl and Tanya Pizzolatto
I'm trying to install the latest gtk+ in order to compile and use MJpegTools some other stuff. I'm having some trouble. I think my problem is libraries (include files?), or whatever tells the system where they are.I started my process by building and installing glib-2.0.6. Next, I

gtk ftp server problem

2002-08-21 Thread Tung Dang
To Whom It May Concern: I had tried to download gtk from the website (http://www.gtk.org/download/) but unsuccessfully. This is the error that I encountered: http 500 - Internal server error Please check your ftp server. Thank you! Regards, Tung Dang

Re: Zoom-In/Out of image

2002-08-21 Thread Subhankar Chakraborty
Thanks John, Actually am using GdkRGB on GTK+ 2.0wrote the appropriate functions myself. Thx anyways, Sandy - Original Message - From: Cupitt, John To: Subhankar Chakraborty Cc: GTK Application Development List ; GTK Help List Sent: Tuesday, August

About glut

2002-08-21 Thread Yang Yan
Dear Sir or Madam, Could you tell if I can use glut function in program with gtk? Thanks a lot! Yan __ Do You Yahoo!? HotJobs - Search Thousands of New Jobs http://www.hotjobs.com ___ gtk-list mailing

glib compile problem with Solaris 2.6

2002-08-21 Thread rhfreeman
Just done a ./configure with no options, and a normal make and I get this! echo #define __G_MARSHAL_H__ xgen-gmh \ ./glib-genmarshal --nostdinc --prefix=g_cclosure_marshal ./gmarshal.list --header xgen-gmh \ echo #endif /* __G_MARSHAL_H__ */ xgen-gmh \ (cmp -s xgen-gmh ./gmarshal.h || cp

Re: Help: After install glib-2.0.6, can't find glib.h. (but it'sthere!)

2002-08-21 Thread Ronald Bultje
Hi, Op ma 19-08-2002, om 02:11 schreef Karl and Tanya Pizzolatto: I'm trying to install the latest gtk+ in order to compile and use MJpegTools some other stuff. Then, glib-2.0.6 won't help you much, I'm affraid. Mjpegtools requires glib-1.2.x (and optionally gtk-1.2.x). Ronald -- - .-.

Re: gtk ftp server problem

2002-08-21 Thread Simon Fuhrmann
Hi! I had tried to download gtk from the website (http://www.gtk.org/download/) but unsuccessfully. This is the error that I encountered: http 500 - Internal server error Please check your ftp server. Thank you! I think an http 500 - Internal server error is not a ftp server error but

Re: glib-2.0.6

2002-08-21 Thread Nadir T. Mrabet
Many thanks to Wes Connell and Naofumi Yasufuku. I, however, made the following changes given that the configure script uses /usr/local as default PREFIX and to respect the directory architecture of IRIX. Here it is and it does definitely work on IRIX 6.3: $ setenv LD_LIBRARY_PATH

Re: Help: After install glib-2.0.6, can't find glib.h. (but it's there!)

2002-08-21 Thread Nadir T. Mrabet
I posted the final answer to a similar problem a minute ago. The protocol was meant for IRIX but it should work fine in your case to set the LIBDIR to /usr/local/lib. Good luck. Nadir Mrabet At 20:11 18/08/2002 -0400, Karl and Tanya Pizzolatto a écrit: I'm trying to install the latest gtk+ in

How tell atk 1.0.3 or pango 1.0.4 where my glib 2.0.6 is located?

2002-08-21 Thread Friedrisch Muller
Hi, sorry for this newbie question but it is driving me crazy... :( I have compiled and installed glib-2.0.6 under the location /pkg/glib/2.0.6. Now I like to build atk 1.0.3 and pango 1.0.4 (to later be able to build gtk+ 2.0.6) but both atk and pango screams during configure that they

Re: How tell atk 1.0.3 or pango 1.0.4 where my glib 2.0.6 is located?

2002-08-21 Thread Sven Neumann
Hi, Friedrisch Muller [EMAIL PROTECTED] writes: Hi, sorry for this newbie question but it is driving me crazy... :( I have compiled and installed glib-2.0.6 under the location /pkg/glib/2.0.6. Now I like to build atk 1.0.3 and pango 1.0.4 (to later be able to build gtk+ 2.0.6) but

Re: How tell atk 1.0.3 or pango 1.0.4 where my glib 2.0.6 is located?

2002-08-21 Thread Friedrisch Muller
I have compiled and installed glib-2.0.6 under the location /pkg/glib/2.0.6. Now I like to build atk 1.0.3 and pango 1.0.4 (to later be able to build gtk+ 2.0.6) but both atk and pango screams during configure that they cannot find my glib. How do I tell them glib is installed

Re: How tell atk 1.0.3 or pango 1.0.4 where my glib 2.0.6 is located?

2002-08-21 Thread Sven Neumann
Hi, Friedrisch Muller [EMAIL PROTECTED] writes: make sure pkg-config is installed and set the PKG_CONFIG_PATH environment variable to /pkg/glib/2.0.6/lib The problem still remains :( Your configure output clearly indicates that the CFLAGS from 'pkg-config --cflags glib-2.0' are not

Continuing installation difficulties

2002-08-21 Thread Mark Leisher
I haven't attempted to install any of the newer versions of GTK, so I haven't encountered difficulties yet, but I probably will. I just wanted to get people's opinion on why the continuing configuration difficulties persist. My personal opinion is that this was a forced paradigm shift in

Re: How tell atk 1.0.3 or pango 1.0.4 where my glib 2.0.6 is located?

2002-08-21 Thread Olexiy Avramchenko
Ensure the pkg-config knows about glib-2.0: run manually 'pkg-config glib-2.0 --cflags' - if it will fail add to PKG_CONFIG_PATH path to glib-2.0.pc file. You can find it by running 'find / -name 'glib-2.0.pc' -print'. So you can do smth like this (bash): 1. PKG_CONFIG_PATH=$PKG_CONFIG_PATH:`find

popup menu positioned partially off-screen

2002-08-21 Thread Luciano Chavez
Howdy y'all. I have a GTK app that displays a GtkCList and when a user clicks on a row, display a popup context menu via gtk_menu_popup(). I don't provide a function to position it. The problem is that if the mouse pointer is near the bottom or right edge of the screen, the menu ends up being

Re: Continuing installation difficulties

2002-08-21 Thread Sven Neumann
Hi, Mark Leisher [EMAIL PROTECTED] writes: I haven't attempted to install any of the newer versions of GTK, so I haven't encountered difficulties yet, but I probably will. what makes you think you will? I'd say that GTK+ installs out of the box in 99% of all installation attempts. People

Re: Continuing installation difficulties

2002-08-21 Thread Mark Leisher
Sven what makes you think you will? I'd say that GTK+ installs out of the Sven box in 99% of all installation attempts. People only run into Sven problems if they want to install stuff outside the default Sven prefix. And if people knew a bit about how a UNIX system works and

getting a labels width?

2002-08-21 Thread jeff
hi im trying to get a labels width, im just using gtk_label_set_markup to set the text and markup. its going into a fixed container so id like to double check the width make sure its not too large. thx -jeff ___ gtk-list mailing list [EMAIL

Re: drop and drag context menu class

2002-08-21 Thread Ben Martin
I might just hack a version based very closely on the testdnd.c example. The problem I was having was trying to take a drop event and generate my own new drop event adding the widget* as the last arg so that the drop handler could tell which menuitem was selected from the popup. I was/am having

Re: Help: After install glib-2.0.6, can't find glib.h. (but it's

2002-08-21 Thread xufeng lee
I just have the same problem as you,I think i have resolved it. you should do the following: export PKG_CONFIG_PATH=/usr/local/library/pkgconfig and edit" /etc/ld.so.conf " .add the path"/usr/local/library" I'm trying to install the latest gtk+ in order to compile and use MJpegTools some other

GImageView 0.2.3 Become Inactive until a mouse-click

2002-08-21 Thread Shlomi Fish
Hi! I'm trying to eliminate an annoying big from the program GImageView 0.2.3: http://gtkmmviewer.sourceforge.net/ Which I did not wrote. (It's GPLed). The problem is that after a new image window is opened, almost everything become inactive: the icons on the toolbars are not highlighted