RE: how to justify text in a GtkTextView -- workaround

2005-02-01 Thread Boncek, John
A work-around for this in GTK 2.2.4 has been found. Adding the line gtk_text_view_set_wrap_mode(view, GTK_WRAP_WORD); just before the call of gtk_text_view_set_justification causes the justification to work. A co-worker reminded me that we had seen similar behavior -- Pango layout cente

Re: Gtk Extra widgets

2005-02-01 Thread Al Hooton
On Tue, 2005-02-01 at 20:21 +, [EMAIL PROTECTED] wrote: > Richard, > > I found out shortly after posting my email that the widget HAS been ported to > gtk2. I've been having some issues with the font display but I'm trying to > get help on it. You can find info on gtkextra from sourceforge.n

Re: How to add accel key without button?

2005-02-01 Thread Gian Mario Tagliaretti
On Tue, 1 Feb 2005 11:19:04 -0400, Antonio Gomes <[EMAIL PROTECTED]> wrote: > Hello Huang, > > And wanna to complement your question ... could i ?! > > How can I use accels without any other widgets related with it (like > buttons or menu itens) ?! So, if I hava just a main window, and I > press

Re: Gtk Extra widgets

2005-02-01 Thread marcodev
Richard, I found out shortly after posting my email that the widget HAS been ported to gtk2. I've been having some issues with the font display but I'm trying to get help on it. You can find info on gtkextra from sourceforge.net, that's where the repository is at. Also, gtkextra-2 is only avail

Re: Gtk Extra widgets

2005-02-01 Thread Richard Gipps
I don't know whether anyone else has started the conversion to gtk 2.x, but it would be a pity for this code to be forgotten about. The plotting function in the package is very good! and I would definitely like to use it the application I am writing. Richard. At 16:48 31/01/05, you wrote: Hi,

RE: how to justify text in a GtkTextView

2005-02-01 Thread Boncek, John
Indeed it does. Thanks. I get it all the way at the left edge running on both SuSE 9.1 and on MontaVista Linux. May be a bug in 2.2.4. Unfortunately, it may not be practical for me to update to a later version any time soon. -Original Message- From: Paolo Costabel [mailto:[EMAIL PROTECT

Re: labels & images

2005-02-01 Thread Tristan Van Berkom
On Tue, 01 Feb 2005 18:44:49 +0100, mici <[EMAIL PROTECTED]> wrote: > Hi, > Does anyone know if and how one could display a GtkLabel widget over a > GtkImage or GtkDrawingArea while preserving font transparency (meaning i > could see the image displayed below the label between the letters of the >

labels & images

2005-02-01 Thread mici
Hi, Does anyone know if and how one could display a GtkLabel widget over a GtkImage or GtkDrawingArea while preserving font transparency (meaning i could see the image displayed below the label between the letters of the label)? Tnx... ___ gtk-app-dev

error building simple program with 2.6.1

2005-02-01 Thread marcodev
Hi, I just downloaded and compiled the following packages to upgrade my gtk 2 installation from 2.4.x to 2.6.1: glib-2.6.1.tar.bz2 gtk+-2.6.1.tar.bz2 pango-1.8.0.tar.bz2 atk-1.9.0.tar.bz2 The configuration and compilation did not indicate any errors but now I get the following error when I run

Re: how to justify text in a GtkTextView

2005-02-01 Thread Paolo Costabel
I have attached a snapshot of your test program. Looks centered to me. I'm using Gtk 2.4.10. Boncek, John wrote: I don't know what that could be. This is a very simple trial program, to put a GtkTextView in a scrolled window with justification. My version of GTK is 2.2.4, as listed by pkg-config

Re: Gtk Extra widgets

2005-02-01 Thread Bernhard . Rumpler
[EMAIL PROTECTED] wrote on 01.02.2005 17:25:15: > I know that it's off topic, but could you tell me what are the "extra > widget libraries" ?! Is it a project the make available non-standarts > widgets or anything else ?! the most recent infos on gtkextra2 can be found in CVS: http://cvs.sourcef

Re: Gtk Extra widgets

2005-02-01 Thread Antonio Gomes
Sorry IAGO ... I know that it's off topic, but could you tell me what are the "extra widget libraries" ?! Is it a project the make available non-standarts widgets or anything else ?! Thanks in advance ! -- Antonio Gomes Embedded Linux Developer Embedded Linux Lab - 10LE INdT - Instituto Nokia

RE: how to justify text in a GtkTextView

2005-02-01 Thread Boncek, John
I don't know what that could be. This is a very simple trial program, to put a GtkTextView in a scrolled window with justification. My version of GTK is 2.2.4, as listed by pkg-config. Here's the entire program, some of which was pieced together from various online examples: #include #include

Re: How to add accel key without button?

2005-02-01 Thread Antonio Gomes
Hello Huang, And wanna to complement your question ... could i ?! How can I use accels without any other widgets related with it (like buttons or menu itens) ?! So, if I hava just a main window, and I press "ctrl + F", for example, an event is fired, calling the correspondent callback !? Than

Re: GdkPixbuf rendering to partially obscured window

2005-02-01 Thread Tristan Van Berkom
On Mon, 31 Jan 2005 17:03:54 -0500, Carl Nygard <[EMAIL PROTECTED]> wrote: > > I have a GdkPixbuf rendering to a drawing area, and when the area is > obscured under another window, the bit under the window never gets the > image. I'm drawing vectors to the same window at the same time, and > they

Re: Gtk Extra widgets

2005-02-01 Thread Iago Rubio
On Mon, 2005-01-31 at 17:48, [EMAIL PROTECTED] wrote: > Hi, > > I am looking at what is required to update the gtk Extra widgets to use gtk > 2.x. Has anyone else started / tried this? You should ask in the gtk-extra mailing list. [EMAIL PROTECTED] Despite of it's name, the gtk-extra library is

Re: gnome_vfs and gtk ?!

2005-02-01 Thread Iago Rubio
On Mon, 2005-01-31 at 23:12, Antonio Gomes wrote: > Hello all, > > I'm working in a gtk Code, and in the main function there is a > gnome_vfs () into it , like that: > > > gtk_init(&argc, &argv); > > /*GnomeVFS*/ > result = gnome_vfs_init(); > > > I wanna know what's

gtk+-2.6.1 on windows when?

2005-02-01 Thread Tor Lillqvist
> When gtk+-2.6.1 will be available for windows in binary ? With 2.6.2 coming out later this week, I'll wait for that. I promise I *will* provide Win32 binaries for 2.6.2, even though I know there are unfinished Win32-relevant aspects. --tml ___ gtk-a