Re: Is now gdk-bixbuf the part of gtk+-2?

2005-09-27 Thread David Necas (Yeti)
On Mon, Sep 26, 2005 at 06:02:58PM -0400, John (J5) Palmieri wrote: Actually I believe you do. On Fedora gdk-pixbuf is a separate package so if a developer doesn't have gdk-pixbuf-devel package installed configure should detect this and throw an error. Please don't confuse people. There is

Re: Problem with GTK/GNOME programming

2005-09-27 Thread Przemysław Sitek
Dnia 2005-09-26 16:05, Lalit Kumar napisał: Hi All, I am using Fedora core 3. I am facing problem with Gnome and Gtk programming. Anyone working on GNOMe/GTK programming , please help me out how to write GNOME/GTK program. There's a tutorial: http://www.gtk.org/tutorial/ API reference

GLib gettext and UTF-8

2005-09-27 Thread David Rosal
Hi. I don't know much about UTF8 issues, and I wanted to know if I am making the things well. In my GTK2 program, I use the macro _(str) to translate the strings. str is in english (ASCII), but the translation may be encoded in an arbitrary codeset (e.g. ISO-8859-1 or KOI-8...). The question

Re: GLib gettext and UTF-8

2005-09-27 Thread The Saltydog
On 9/27/05, David Rosal [EMAIL PROTECTED] wrote: In my GTK2 program, I use the macro _(str) to translate the strings. str is in english (ASCII), but the translation may be encoded in an arbitrary codeset (e.g. ISO-8859-1 or KOI-8...). The question is: Does the glib macro _(str) convert the

Re: Is now gdk-bixbuf the part of gtk+-2?

2005-09-27 Thread John (J5) Palmieri
On Tue, 2005-09-27 at 09:16 +0200, David Necas (Yeti) wrote: On Mon, Sep 26, 2005 at 06:02:58PM -0400, John (J5) Palmieri wrote: Actually I believe you do. On Fedora gdk-pixbuf is a separate package so if a developer doesn't have gdk-pixbuf-devel package installed configure should

Re: GLib gettext and UTF-8

2005-09-27 Thread John Vetterli
On Tue, 27 Sep 2005, The Saltydog wrote: On 9/27/05, David Rosal [EMAIL PROTECTED] wrote: In my GTK2 program, I use the macro _(str) to translate the strings. str is in english (ASCII), but the translation may be encoded in an arbitrary codeset (e.g. ISO-8859-1 or KOI-8...). The question is:

Re: Displaying intermediate button images.

2005-09-27 Thread Tristan Van Berkom
Rich Burridge wrote: [...] Can I ask a favour please? Could you adjust the reve_sleep() routine in the attached small program to use a g_timeout_add() to do the pausing? The problem with your program is not with reve_sleep(), the problem is that you have a reve_sleep() function at all, in

Memory question

2005-09-27 Thread David Rosal
Hello. I know this is a general C programming issue, but... It is a memory leak to call g_strdup() as argument to other function? For example, if I do this: gtk_entry_set_text(GTK_ENTRY(entry), g_strdup(banana); Am I leaking memory? AFAIK, the above code makes glib (via libc): 1) ask the

GTK+ 2.8.2

2005-09-27 Thread Matthias Clasen
GTK+ 2.8.4 is now available for download at: ftp://ftp.gtk.org/pub/gtk/v2.8/ http://ftp.gnome.org/pub/GNOME/sources/gtk+/2.8/ gtk+-2.8.4.tar.bz2 md5sum: ae14972d22ac338d87c56b6075dfd2a4 gtk+-2.8.4.tar.gzmd5sum: 6b7fe0ba845c115ad5e9f7795a01a624 This is a bugfix release in the 2.8.x

Re: Displaying intermediate button images.

2005-09-27 Thread Tristan Van Berkom
Rich Burridge wrote: Hi Tristan, Can I ask a favour please? Could you adjust the reve_sleep() routine in the attached small program to use a g_timeout_add() to do the pausing? You seemed to have ignored the revised small attached program that I sent you and gone back to my first version.

Re: Displaying intermediate button images.

2005-09-27 Thread Rich Burridge
Tristan Van Berkom wrote: You seemed to have ignored the revised small attached program that I sent you and gone back to my first version. Could you show me how to do this with the program attached below please? No I did not, I based it on the code you attatched in your private post, note

Re: GLib 2.8.2 released

2005-09-27 Thread Matthias Clasen
It has been brought to my attention that the md5 sums for ftp://ftp.gtk.org/pub/gtk/v2.8/glib-2.8.2.tar.bz2 and http://ftp.gnome.org/pub/gnome/source/glib/2.8/glib-2.8.2.tar.bz2 do not agree. This is because the .bz2 files were created at different compression levels. I have verified that

segmentation fault in g_object_run_dispose

2005-09-27 Thread Boncek, John
Using GTK 2.2.4, we are getting a segmentation fault in g_object_run_dispose called from gtk_widget_destroy on a fixed container. The context is a screen that works fine when operated on slowly, such that all widgets are displayed before any action is taken. The problem only occurs if you type

Re: GTK+ 2.8.2

2005-09-27 Thread Matthias Clasen
The subject should read GTK+ 2.8.4, of course. Matthias ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: GTK+ 2.8.2

2005-09-27 Thread Matthias Clasen
The subject should read GTK+ 2.8.4, of course. Matthias ___ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-devel-list

RE: Pango questions in LSB context

2005-09-27 Thread Banginwar, Rajesh
Thanks for the update Owen. While going through the headers: I am finding that there are three high level headers in pango.h, pangoft2.h and pangoxft.h. I assume these are the headers application typically use for using corresponding libraries. But I am finding that there are some functions

GTK+ 2.8.2

2005-09-27 Thread Matthias Clasen
GTK+ 2.8.4 is now available for download at: ftp://ftp.gtk.org/pub/gtk/v2.8/ http://ftp.gnome.org/pub/GNOME/sources/gtk+/2.8/ gtk+-2.8.4.tar.bz2 md5sum: ae14972d22ac338d87c56b6075dfd2a4 gtk+-2.8.4.tar.gzmd5sum: 6b7fe0ba845c115ad5e9f7795a01a624 This is a bugfix release in the 2.8.x

Re: Designing a Better Font Selection Widget for use in Open Source Software

2005-09-27 Thread mpsuzuki
Hi I think your proposal is a propose of localized font name (like Microsoft Windows fontmenu, or classic QuickDraw based fontmenu on MacOS) or localized sample text (like recent fontpanel on MacOS X). If I'm misunderstanding, please correct. There are a few problem: 1) font name in font file

Gdk Pixbuf and Monochrome images

2005-09-27 Thread Mohit Kumar
Hi All, I am trying to display a monochrome image in a GdkPixbuf. I have the monochrome data in memory and to use it for the call gdk_pixbuf_new_from_data i need to convert into RGB Pixels. Hence where ever I find 1 in bit, it is replaced with 3 bytes woth 0xFF and whereever I find a 0 in a bit,

gtk notebook and the destroy signal

2005-09-27 Thread Hans Oesterholt
Dear All, I'm kinda stuck using a GtkNotebook. In the mzgtk2 binding (Gtk binding for mzscheme), I see from the debugging output that the destroy signal is not being propagated to the widgets on a page of a gtknotebook. When I replace the GtkNotebook with a GtkFrame, the destroy signal is

Re: (no subject)

2005-09-27 Thread Przemysław Sitek
Dnia 2005-09-26 21:43, [EMAIL PROTECTED] napisał: Assignment operator for GtkWidgets? GTK is written in C, thus it does not overload any operator. Is there such a thing, can we do things like MyGtkWidget = SomeGtkWidget? You can do that provided those are POINTERS to widgets

Re: GLib 2.8.2 released

2005-09-27 Thread Matthias Clasen
It has been brought to my attention that the md5 sums for ftp://ftp.gtk.org/pub/gtk/v2.8/glib-2.8.2.tar.bz2 and http://ftp.gnome.org/pub/gnome/source/glib/2.8/glib-2.8.2.tar.bz2 do not agree. This is because the .bz2 files were created at different compression levels. I have verified that

Re: Huge widget sizes exceeding screen width or height

2005-09-27 Thread Nate Case
On 9/23/05, Nate Case [EMAIL PROTECTED] wrote: After upgrading some packages, I can no longer use any gtk+ apps because some widgets are either too tall or too wide. Examples: 1) gdm login screen isn't usable. Everything looks OK except for the middle 'login' part -- I just see a single

window delete, hide, and present on Win32

2005-09-27 Thread David Necas (Yeti)
Hello, I have window positioning troubles when a window is re-shown after gtk_widget_hide() on Win32. The attached program should demonstrate it clearly. It has a main window with a button to show an auxiliary window. The auxiliary window exists though all program lifetime, but can be hidden

window delete, hide, and present on Win32

2005-09-27 Thread Tor Lillqvist
David Necas (Yeti) writes: When the first method is used, it reappears on its previous position. When the second method is used, it always appears in the upper left corner. FWIW, I get exactly the same behaviour on X11, too, so this doesn't appear to be a Win32-specific problem. --tml

freeze/thaw API for treeviews?

2005-09-27 Thread Paul Davis
the old CTree/CList had a nice freeze/thaw API to avoid the widget recomputing stuff while adding rows. is there something comparable for TreeView, or does the Right Thing Just Happen ? --p ___ gtk-list mailing list gtk-list@gnome.org

RE: Pango questions in LSB context

2005-09-27 Thread Banginwar, Rajesh
Thanks for the update Owen. While going through the headers: I am finding that there are three high level headers in pango.h, pangoft2.h and pangoxft.h. I assume these are the headers application typically use for using corresponding libraries. But I am finding that there are some functions

Re: window delete, hide, and present on Win32

2005-09-27 Thread David Necas (Yeti)
On Tue, Sep 27, 2005 at 05:25:49PM +0300, Tor Lillqvist wrote: David Necas (Yeti) writes: When the first method is used, it reappears on its previous position. When the second method is used, it always appears in the upper left corner. FWIW, I get exactly the same behaviour on

GTK+ 2.8.2

2005-09-27 Thread Matthias Clasen
GTK+ 2.8.4 is now available for download at: ftp://ftp.gtk.org/pub/gtk/v2.8/ http://ftp.gnome.org/pub/GNOME/sources/gtk+/2.8/ gtk+-2.8.4.tar.bz2 md5sum: ae14972d22ac338d87c56b6075dfd2a4 gtk+-2.8.4.tar.gzmd5sum: 6b7fe0ba845c115ad5e9f7795a01a624 This is a bugfix release in the 2.8.x

Re: GTK+ 2.8.2

2005-09-27 Thread Matthias Clasen
The subject should read GTK+ 2.8.4, of course. Matthias ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list

Re: window delete, hide, and present on Win32

2005-09-27 Thread Tor Lillqvist
David Necas (Yeti) writes: However, metacity takes GDK_WINDOW_TYPE_HINT_UTILITY as `place always to the upper left corner, no matter what', thus exhibiting the second behaviour. Ah ;-) Yes, it was metacity... The crucial difference is that whatever I try on X11 and whatever kind of

gnome_about_new is deprecated

2005-09-27 Thread Michael Ott
Hello! gnome_about_new is deprecated. But what shall i use instead of this? CU Michael -- Michael Ott, e-mail: [EMAIL PROTECTED], www.zolnott.de I am registered as user #275453 with the

Re: window delete, hide, and present on Win32

2005-09-27 Thread David Necas (Yeti)
On Tue, Sep 27, 2005 at 11:20:00PM +0300, Tor Lillqvist wrote: Well, the window state management code in the gdk/win32 backend is quite hairy, and no doubt has bugs... I am afraid of touching it, though, as fixing one corner case might break another, without me noticing. I would almost

Re: gnome_about_new is deprecated

2005-09-27 Thread Tristan Van Berkom
Michael Ott wrote: Hello! gnome_about_new is deprecated. But what shall i use instead of this? GtkAboutDialog :) Cheers, -Tristan ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list

Re: freeze/thaw API for treeviews?

2005-09-27 Thread Diego Zuccato
Paul Davis ha scritto: the old CTree/CList had a nice freeze/thaw API to avoid the widget recomputing stuff while adding rows. is there something comparable for TreeView, or does the Right Thing Just Happen ? It doesn't happen. You have to save the current model, set the associated model to

Re: Error in glib while trying to execute the gtk-demo

2005-09-27 Thread Valdis . Kletnieks
On Wed, 28 Sep 2005 08:32:07 +0800, Xyber Blue said: Fontconfig error: Cannot load default config file Our target board has already a running x server. I also look the fonts.conf from the following contents dir/opt/rootgtk/rootfs-glibc-frv-040820-3/usr/X11R6/lib/X11/fonts/dir

Re: Gdk Pixbuf and Monochrome images

2005-09-27 Thread Mohit Kumar
I have set the alpha as false Valdis. But still the image is not coming up. Thanks, MohitOn 9/28/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:On Tue, 27 Sep 2005 11:49:42 +0530, Mohit Kumar said: Could anyone help me with where am I going wrong? If that pixbuf has an alpha channel, 24 bits