Re: Make gtk 1.3 ??

2002-01-28 Thread Sven Neumann
Hi, Vahid Zahiri [EMAIL PROTECTED] writes: I install Gtk 1.3.7,and i can run testgtk and gtk-demo. you should consider upgrading to a newer version (1.3.12 is the latest release). when i want compile my program, what can i use instead `gtk-config --libs --cflags`? pkg-config --libs

Signal Handler problem

2002-01-28 Thread Jyothi
Hi, I have 3 windows. The first has a new button. If I click on that I get another window. In this window, I have some entry box. I enter some thing in those entry and press a button Done, which is supposed to hide this window and go back to the window from which it is originated ( i.e the one

Re: How add text above a scrollbar/GTKHScale widget?? w/ a NEW widget? Which?

2002-01-28 Thread Paul Davis
When you have a scroll bar or GTKHScale how do you add text above it to name/explain it? Do you add a new widget? Which one? this will stack the label below the hscale. obvious variations exist for putting it above, to the left or right. GtkWidget *hbox = gtk_hbox_new (...); GtkWidget *hscale

Re: Gtk-framebuffer

2002-01-28 Thread Alex Larsson
On Mon, 28 Jan 2002, Rakotoarimanana wrote: Hi all, I wants to install the gtk framebuffer. I install all the modules necessary: - pkgnfig (0.7.0) (neccesaire for the installation of glib and pango) - glib (1.3.12) - freetype (2.0.6) - pango (0.23) - libjpeg, libpng - atk (08) - gtk+

defn of gint32 (glibconfig.h)?

2002-01-28 Thread Skip Montanaro
I was trying to track down the definition of gint32 and the other size-specific types just now. I have been building from CVS for quite awhile and never have any problems related to these types, but I can't seem to find gint32 defined in the installed header files. In my glib source tree I see

HELP: Compiling GTK+ Applications on UNIX

2002-01-28 Thread Lin, Lynn
Hello there, What is the different between these 2 methods: 1. gcc -o myprog `gtk-config --cflags --libs` (GTK FAQ) 2. cc `pkg-config --cflags --libs gtk+-2.0` myprog.c -o mypgrog (GTK+ Reference Manual) Thank you :) Lynn ___ gtk-list mailing list

Re: HELP: Compiling GTK+ Applications on UNIX

2002-01-28 Thread Brad House
AFAIK 1. is GTK+ 1.2 method 2. is GTK+ (1.3) 2.0 method -Brad Lin, Lynn wrote: Hello there, What is the different between these 2 methods: 1. gcc -o myprog `gtk-config --cflags --libs` (GTK FAQ) 2. cc `pkg-config --cflags --libs gtk+-2.0` myprog.c -o mypgrog (GTK+ Reference Manual)

Re: HELP: Compiling GTK+ Applications on UNIX

2002-01-28 Thread Paul Davis
What is the different between these 2 methods: 1. gcc -o myprog `gtk-config --cflags --libs` (GTK FAQ) 2. cc `pkg-config --cflags --libs gtk+-2.0` myprog.c -o mypgrog (GTK+ Reference Manual) the first one is deprecated, involves lots of ugly m4 macros, can require disgusting filesystem

Re: How add superscripts to GTKLabel text?

2002-01-28 Thread Havoc Pennington
Chris Seberino [EMAIL PROTECTED] writes: How add superscripts to GTKLabel text? You can only do this in GTK 1.3.x/2.0. It is documented here: http://developer.gnome.org/doc/API/2.0/gtk/gtklabel.html See Markup section. Havoc ___ gtk-list mailing

Passing values to functions

2002-01-28 Thread Shiraz Baig
To List: I am a newbie. Can anyone tell me, in the following elementary program, why doesn't the function hello that it has not been passed any data. Because in gtk-signal-connect, we are passing NULL data. Wherefrom is this data coming. In another case, I have seen drawing_area being passed like

How can I run a GtkFB's program?

2002-01-28 Thread 広谷 豊史
I am a biginner of GTK, GtkFB. I hava installed GtkFb on Linux 7.2 (I have installed the FrameBuffer). Then I compiled and ran an program, "helloworld", which is in the "examples" directory, from console without X. But an error message, "cannot open display", is returned. I tried "./helloworld