Re: Misc newbie stuff I can't work out

2001-07-13 Thread John Cupitt
Tom Morton wrote: > How do i get a GtkTable to contract when i hide() a row of stuff it contains? > It simply adds more space between the remaining rows (unless i resize the > window slightly, then it shrinks. can i make it do that myself?) This one I can help with: just do a gtk_widget_queue_res

Re: compile glib with sunpro

2001-07-13 Thread Ian Britten
On Thu, 12 Jul 2001 12:10:47 -0500 "Ford, Andy" <[EMAIL PROTECTED]> wrote: > Does anyone have experience with the sunpro compiler? Yes - Unfortunately, it's not good... (re: GTK). It seems that GTK doesn't play well with non-GCC compilers. [ Maintainers - are you listening? ] I've got the GNOME

Gif/Gtk

2001-07-13 Thread Mohamed
Hi all ! has gtk already a widget which can display animated gif ?? the gnome-animator can't load frames from gif-file !! thanks -- [EMAIL PROTECTED] .. ___ gtk-list mailing list [EMAIL PROTECTED] http://ma

Re: Making GTK+2.0 application

2001-07-13 Thread Otto Wyss
> Does anyone know why I get a "gtk/gtk.h: file not found" error? I don't > see where anything is wrong, here is my configure.in, it's about the same > as in the "aptivate" application: > I've finally found the error myself, I was always looking at the wrong place. The error was in the Makefile

fileselection

2001-07-13 Thread G.Camozzi
Hi to alls, sorry but i'm a newbie with GTK, and i have problem with fileselection. i have a fileselection window and i put in my callbacks.c this line void on_ok_button1_clicked (GtkButton *button, gpointer user_data) { g_print("%s",gtk_file_selection_get_filename(

Re: fileselection

2001-07-13 Thread Sven Neumann
Hi, "G.Camozzi" <[EMAIL PROTECTED]> writes: > sorry but i'm a newbie with GTK, and i have problem with fileselection. > i have a fileselection window and i put in my callbacks.c this line > > void > on_ok_button1_clicked (GtkButton *button, > gpointer user_data) >

Re: compile glib with sunpro

2001-07-13 Thread Havoc Pennington
Ian Britten <[EMAIL PROTECTED]> writes: > Yes - Unfortunately, it's not good... (re: GTK). > It seems that GTK doesn't play well with non-GCC compilers. > [ Maintainers - are you listening? ] Simply not the case as far as we know - tons of people have compiled GTK 1.2.x on quite a few non-gcc c

Re: g_strdup symbol conflict

2001-07-13 Thread Andrei Zmievski
On Fri, 06 Jul 2001, Owen Taylor wrote: > While I have no real measurements, my guess is that GLib is vastly > more commonly used than libgssapi_krb5. And g_strdup() is one of the > most commonly used GLib functions. > > Changing the name of g_strdup() from GLib is not really an option -- > I wou

Re: compile glib with sunpro

2001-07-13 Thread Ian Britten
On 13 Jul 2001 10:50:05 -0400 Havoc Pennington <[EMAIL PROTECTED]> wrote: > You can't, however, compile GLib with gcc and then GTK with > non-gcc. Perhaps that's what you are trying to do? Or maybe you have > old GLib headers still installed somewhere that used gcc? Sorry, I should have been mor

How to deallocate memory?

2001-07-13 Thread Esteban Quijano Vincenzi
Title: How to deallocate memory? Is it possible to free the memory allocated for a widget using gtk_widget_destroy(). However, when I try to free a window or a button with gtk_widget_destroy(GTK_WIDGET(widget)) I have a run-time error saying that it is not a widget. How do you deallocate any

figuring out location of open slots in various containers

2001-07-13 Thread Skip Montanaro
Gtk (at least 1.3.x) allows widget reparenting. This is very cool, but it seems to me some are functions missing in various container classes that would let the programmer know where child widgets could be attached. In particular, the Gtk[HV]Paned and GtkTable widgets don't seem to allow the pr

RE: How to deallocate memory?

2001-07-13 Thread Hugues Bernard
> Is it possible to free the memory allocated for a widget using gtk_widget_destroy(). > However, when I try to free a window or a button with >gtk_widget_destroy(GTK_WIDGET(widget)) > I have a run-time error saying that it is not a widget. > How do you deallocate any widget allocated with its

Re: compile glib with sunpro

2001-07-13 Thread Havoc Pennington
Ian Britten <[EMAIL PROTECTED]> writes: > Ugh! This strikes me as a Bad Thing, and defeats one of the > advantages of having C libraries (Compiler independence). We're > developing C++ libraries, and are quite aware of having to build > different versions of each (C++) library for each compile

Re: How to deallocate memory?

2001-07-13 Thread Havoc Pennington
Esteban Quijano Vincenzi <[EMAIL PROTECTED]> writes: > Is it possible to free the memory allocated for a widget using > gtk_widget_destroy(). > However, when I try to free a window or a button with > gtk_widget_destroy(GTK_WIDGET(widget)) > I have a run-time error saying that it is not a widget.

Re: compile glib with sunpro

2001-07-13 Thread Paul Davis
>Ugh! This strikes me as a Bad Thing, and defeats one of the advantages of >having C libraries (Compiler independence). I've never heard of such a thing. Its a matter of convenience that many Unix C compilers use the same ABI, but there's no particular reason for it. In the Windows world, for ex

How to change float to char

2001-07-13 Thread Flavio Alberto Lopes Soares
I need to print float numbers in a gtk label and this widget only accept gchar in your text parameter, I want to know if exists some type of routine that changes float number in format a.bcde to char format "a.bcde". Very Thanks for any help Flavio Alberto

Re: How to change float to char

2001-07-13 Thread Skip Montanaro
Flavio> I need to print float numbers in a gtk label and this widget Flavio> only accept gchar in your text parameter, I want to know if Flavio> exists some type of routine that changes float number in format Flavio> a.bcde to char format "a.bcde". Check out g_snprintf in the gli

Re: How to change float to char

2001-07-13 Thread Dave Reed
> From: Flavio Alberto Lopes Soares <[EMAIL PROTECTED]> > Organization: MAQPLAS > > I need to print float numbers in a gtk label and this widget only accept > gchar in your text parameter, I want to know if exists some type of > routine that changes float number in format a.bcde to char format >

Re: How to change float to char

2001-07-13 Thread Ralph Walden
Flavio Alberto Lopes Soares wrote: > > I need to print float numbers in a gtk label and this widget only accept > gchar in your text parameter, I want to know if exists some type of > routine that changes float number in format a.bcde to char format > "a.bcde". > sprintf(string,"%f", my_float);