Re: GtkEntry and Gtk2.0

2002-03-26 Thread Nick Soffe
Hi, Thanks very much for the rapid response. Yes that was it. I had returned FALSE for the main callback but forgot my fallthrough function which was there to ignore unwanted events. This was returning TRUE and causing the problem. Program now fully ported! Thanks once again for the help. Nick

Window size

2002-03-26 Thread Jean-Yves Lamoureux
Hi all, I'm walking through gtk 1.2 doc since 1 or 2 hours and I can find a working way to set the size of a window. gtk_window_set_geometry_hints don't works, gtk_window_set_default_size too. Have I misunderstanding something ? (note the window is opened, but in something like 10x10) Thanks a

Re:newbie: display HTML with GTK+ 2?

2002-03-26 Thread Thomas Nichols
That would be great - what would you use in GTK 1.2? I can then find out whether the same approach might work in 2.0. Thanks, Thomas. At 09:07 26/03/2002 +0100, =?utf-8?Q?[EMAIL PROTECTED]?= wrote: Hi, I havn't any idea about displaying HTML wuth GTK+2, But if you want, I can help you to

Re: Window size

2002-03-26 Thread Jean-Christophe Berthon
Did you try this : gdk_window_resize (GdkWindow *window, gint width, gint height); To get the GdkWindow object of your Widget, just do it that way : GTK_WIDGET(MyWindow)-window (N.B. if

Re: newbie: display HTML with GTK+ 2?

2002-03-26 Thread Sven Neumann
Hi, Thomas Nichols [EMAIL PROTECTED] writes: That would be great - what would you use in GTK 1.2? I can then find out whether the same approach might work in 2.0. for GTK+-2.0, check out gtkhtml2: http://gtkhtml2.codefactory.se/ Salut, Sven ___

Re: Window size

2002-03-26 Thread Pavel Rousnak
Hi all, I'm walking through gtk 1.2 doc since 1 or 2 hours and I can find a working way to set the size of a window. gtk_window_set_geometry_hints don't works, gtk_window_set_default_size too. Have I misunderstanding something ? (note the window is opened, but in something like 10x10)

Re: Window size

2002-03-26 Thread Jean-Yves Lamoureux
Le Mardi 26 Mars 2002 12:27, vous avez écrit : Did you try this : gdk_window_resize (GdkWindow *window, gint width, gint height); To get the GdkWindow object of your Widget, just do it

Re: Window size

2002-03-26 Thread John . Cupitt
Jean-Yves Lamoureux wrote: Hi all, I'm walking through gtk 1.2 doc since 1 or 2 hours and I can find a working way to set the size of a window. gtk_window_set_geometry_hints don't works, gtk_window_set_default_size too. Have I misunderstanding something ? (note the window is opened, but

Re: Window size

2002-03-26 Thread Jean-Christophe Berthon
gdk_window_resize (GTK_WINDOW(MyWindow-window), width, height); (becauseMyWindow-window IS a GtkWindow). Then if your window is a GtkWindow object, you should cast it : gdk_window_resize(GTK_WIDGET(MyWindow)-window, width, height); Respect the parenthesis as you need to cast your GtkWindow

Position of Widget

2002-03-26 Thread Jean-Christophe Berthon
Hello, I would like to know if there is a way to know at which position is a widget compare to another one. For example, at which position is the GtkCList that is included in a GtkNotebookTab that is included in a GtkBox that is included in a GtkWindow. I'd like to know the position of this

(no subject)

2002-03-26 Thread [EMAIL PROTECTED]
Hi every one, please can someone send me or tell me where to get the applet-widget.h file ? And if possible how to use this widget? Thank you in advance ! Good Time, Yours, Youssa ! Faites un voeu et puis Voila ! www.voila.fr

How to declare widgets (lower case w)

2002-03-26 Thread Neil Hodge
All: I was wondering, how do people on the list declare widgets (lower case w)? For example, say you have a CList. You could do GtkClist *LocalClist or you could to GtkWidget *LocalClist I have seen some programs that declare everything as the correct type, and some programs that declare

How to draw grids?

2002-03-26 Thread LAURA WANG, BLOOMBERG/ SKILLMAN
Hi, We are using GtkCList to display our data, but we also want to have grids around all cells. Does anyone know how to draw grids around all GtkCList cells? Thanks, Laura ___ gtk-list mailing list [EMAIL PROTECTED]

unable to run Freeamp with Gtk

2002-03-26 Thread Polaris
I am trying to install freeamp with gtk, and it will not run here is what I did: ./configure --with gtk make make install then changed permissions I got no errors, but when I click on the exe file. nothing I tried running the freeamp command in terminal, nothing any help would be

What are available fonts in GTK+?? How find names and sizes, etc.???

2002-03-26 Thread Christian Seberino
Where is a list of available fonts and their sizes, description, etc. for GTK+ programs?? I hope to port this thing from Linux to Win32 so it would be nice to know which guys would carryover as well to Windoze. Thanks! Chris -- === | Dr.

Modifying line breaks

2002-03-26 Thread rsteinke
I'd like to modify the way line breaking works in a GtkTextView (specifically, to prevent breaking between a / and an immediately following alpha character, so /foo isn't broken). After digging through the docs for a while, it looks like the way to do this is to override the default

Re: What are available fonts in GTK+?? How find names and sizes, etc.???

2002-03-26 Thread Paul Davis
Where is a list of available fonts and their sizes, description, etc. for GTK+ programs?? I hope to port this thing from Linux to Win32 so it would be nice to know which guys would carryover as well to Windoze. GTK (1.2 at least) doesn't come with any fonts. When GTK is hosted by X, you can

Re: Modifying line breaks

2002-03-26 Thread Owen Taylor
[EMAIL PROTECTED] writes: I'd like to modify the way line breaking works in a GtkTextView (specifically, to prevent breaking between a / and an immediately following alpha character, so /foo isn't broken). After digging through the docs for a while, it looks like the way to do this

Re: How to declare widgets (lower case w)

2002-03-26 Thread Neil Hodge
Jean: Thanks. Any other takers? Neil On Tue, 2002-03-26 at 12:02, Jean-Christophe Berthon wrote: Yep like you say, I prefer only to use GtkWidget for those reasons and also because I find (but it is really my ownself finding it) that my data structure (which are containing Widgets) looks