(no subject)

2002-06-10 Thread Kason Huang
I just download the gtk+-2.0.3, and after running command ./configure, I get the file Makefile. Now, I try to run make , but the command exits immediately with just a line of words. The following is detail: make: *** %?!%2%C%H$,;XDj$5$l$F$*$i$:!makefCf;_!#8+$D$+$j$^$;$S. I just

Re: (no subject)

2002-06-10 Thread Raymond Wan
Hi, I'm just guessing here but since you can't read the error message, is it possible that make is printing an English message on your Chinese language machine? If so, I'm afraid I can't be of much help since I'm not an expert on machines that run a program in a language different from

Re: (no subject)

2002-06-10 Thread Olaf Leidinger
Am Mon, 2002-06-10 um 05.25 schrieb 黃慶 Kason Huang: I have got the sources of gtk+-1.2, and then, After I used the shell script command ./configure, I have got the file Makefile. But when I run command make, I find that it doesn't run correctly! The command make

Re: [gtkmm] Problem with g_io_channel_read_chars

2002-06-10 Thread Andrew E. Makeev
1. where is described which encodings are legal to use in Glib::convert? iconv --list gives you a list of known encodings. Note that this list is not guaranteed to be the same everywhere (depends on the version of iconv). The common encodings should however be available everywhere.

Re: (no subject)

2002-06-10 Thread Olaf Leidinger
Oh, sorry! I didn't see the message above. Can't you switch your terminal English or something, perhaps use an English font or so. Then you might read the message. Cya Olaf ___ gtk-list mailing list [EMAIL PROTECTED]

Re: GtkCList and Return Key Action...

2002-06-10 Thread John . Cupitt
Kevin Wong wrote: I would like to make the Return key perform the same action as a mouse double-click in GtkCList. Hi Kevin, I'd make an accellerator for the RETURN key, then in the callback act on the currently selected row in the clist. (you want gtk-list, not gtk-devel-list for questions

Re: More info about signals

2002-06-10 Thread John . Cupitt
Philippe FREMY wrote: A signal can have any numbner of args of any type, but only one client value. Could you point me to some code using this ? It would be better for me for understanding how it works. Hi Philippe, take a look at the gtk sources, they're quite easy to read.

Re: questions on using icons with GtkButton.

2002-06-10 Thread John . Cupitt
Edward A. Falk wrote: I want to put a small bitmap or pixmap into a button instead of a text label. Is GnomePixmap the only/best way to do this? Hi Edward, for gtk1.2 take a look at the pixmap test in testgtk.c, it does this. It works the same way in gtk2 (I think), poke about in the

Re: loading windows at a fixed x y position

2002-06-10 Thread vyadav
hi... try set_usize, set_default_size. i have done it regards vinita..

Re: Beginner

2002-06-10 Thread John . Cupitt
David Aliaga wrote: I have create a window with GTK with some entry widgets in it.I want to use them to initialize some parameters in a program I am writing. Hi Dave, you want something like this: void my_OK_callback() { // read values out of the entry widgets // pop down dialog // start

Re: Beginner

2002-06-10 Thread Olaf Leidinger
Hello! I tried to put a variable set and to wait in an infinite loop until this is set to 1( which would be set in a function connected to a signal) but this just makes my window turn black. To prevent your window from turning black you might use gtk_main_iteration_do

RE: string to guint conversion /w GTK+ 2

2002-06-10 Thread David L. Cooper II
There isn't an existing function to do this. You'll need to write it, which you may have already realized. Use the strtok function to tokenize the string (i.e. separate the numbers from the commas). You call this function iteratively until you get to the end of the string. Each time you call the

RE: string to guint conversion /w GTK+ 2

2002-06-10 Thread German Poo Caaman~o
El lun, 10-06-2002 a las 08:39, David L. Cooper II escribió: There isn't an existing function to do this. You'll need to write it, which you may have already realized. Use the strtok function to tokenize the string (i.e. separate the numbers from the commas). You call this function

Re: [gtkmm] Problem with g_io_channel_read_chars

2002-06-10 Thread Daniel Elstner
Am Mon, 2002-06-10 um 11.33 schrieb Andrew E. Makeev: I doubt this is mentioned in the GLib API reference. Without explicit charset handling the protocol, you're basically fucked. Hmm. I might be missing something, dunno. Well, I know about g_io_channel_get_encoding, I meant I would

Re: [gtkmm] Problem with g_io_channel_read_chars

2002-06-10 Thread Andrew E. Makeev
Daniel Elstner wrote: Am Mon, 2002-06-10 um 11.33 schrieb Andrew E. Makeev: I doubt this is mentioned in the GLib API reference. Without explicit charset handling the protocol, you're basically fucked. Hmm. I might be missing something, dunno. Well, I know about

Re: [gtkmm] Problem with g_io_channel_read_chars

2002-06-10 Thread rsteinke
From: Andrew E. Makeev [EMAIL PROTECTED] Daniel Elstner wrote: Am Mon, 2002-06-10 um 11.33 schrieb Andrew E. Makeev: Btw, if I did g_io_channel_set_encoding(chan, 0, 0) (that should set encoding to NULL, right? or I had to send NULL as parameter?) g_io_channel_read_chars()

colors and drawing

2002-06-10 Thread Billy Patton
I'm looking for the easy way for changing pen colors for drawing. I currently do : guint32 white = 0x00ff; guint32 cyan= 0x000f; guint32 black = 0x; gdk_draw_polygon(pixmap,gc,FALSE,gpts,npts); I'm in need of 16 colors in this format. I

Workspaces

2002-06-10 Thread Ambar Chatterjee
Is it possible in gtk to open a window in different workspaces? My application requires to open several windows and I want to distribute these windows over sevaral workspaces rather than leave the user to do it himself using the window manager. Ambar

Re: string to guint conversion /w GTK+ 2

2002-06-10 Thread Vladimir Djokic
German Poo Caaman~o wrote: El lun, 10-06-2002 a las 08:39, David L. Cooper II escribió: There isn't an existing function to do this. You'll need to write it, which you may have already realized. Use the strtok function to tokenize the string (i.e. separate the numbers from the commas). You

Compile under MDK 8.2

2002-06-10 Thread Castor Fou
I have gtk 1.2 and when I try to compile, I have error, gcc does not found gtk/gtk.h. But, I'm including `gtk-config --cflags --libs` in the compile line. Can you help me, Romain ___ gtk-list mailing list [EMAIL PROTECTED]

Re: Problem building Pango

2002-06-10 Thread Sven Neumann
Hi, jblazi [EMAIL PROTECTED] writes: I had to reinstall my system and now I cannot build Pango: I receive the error message aclocal: configure.in: 262: macro `AM_PATH_GLIB_2_0' not found in library make: *** [aclocal.m4] Error 1 What can I do? use the tarball and the configure

RE: (no subject)

2002-06-10 Thread Kason Huang
First thank you for your impatience. Yesterday I found out that I didn't actually get the file Makefile, because the command ./configure ran incorrectly. So I have downloaded glib-2.0.3 and then install it successfully. But when I configure pango-1.01, it suggests me to install

Re: Compiling and installing gtk+

2002-06-10 Thread Jeff Trefftzs
Your best bet is to edit the file /etc/ld.so.conf to include the path that includes the glib-2.0.3 libraries that you just built and installed. If you used the tarball and didn't tell it anything different, it would have installed in /usr/local/lib. So make sure that /etc/ld.so.conf

text widget question.

2002-06-10 Thread Tony Denault
Hello All, Need some text widget advice. I writing a GUI and would like to include a 'command line window' - A terminal-like interface to take keyboard input and provide text output (log style output). Looking for a simpler text widget that GtkText. I am currently using a GtkText for output

Re: Compile under MDK 8.2

2002-06-10 Thread vyadav
i think u should write `gtk-config --cflags` `gtk-config --libs` regards, vinita