GLib 2.13.2 released

2007-05-22 Thread Matthias Clasen
GLib 2.13.2 is now available for download at: ftp://ftp.gtk.org/pub/gtk/2.13/ http://ftp.gnome.org/pub/GNOME/sources/glib/2.13/ glib-2.13.2.tar.bz2 md5sum: fe671c2152bda5510f6c07706c1f glib-2.13.2.tar.gz md5sum: 7c9a41df3851371d42aa13ef299de17c This is the third development release le

Re: How to create a self contained GTK+ Application for Linux

2007-05-22 Thread Brian J. Tarricone
Hey Jeremy, On Wed, 23 May 2007 06:54:14 +0300 Tor Lillqvist wrote: > Jeremy Roberson writes: > > So, I copied all of the shared libraries into a sub directory of > > the application directory called "lib/" for testing. > > But GTK+ and Pango also look for various other files at run-time. It's

Re: How to create a self contained GTK+ Application for Linux

2007-05-22 Thread Tor Lillqvist
Jeremy Roberson writes: > So, I copied all of the shared libraries into a sub directory of > the application directory called "lib/" for testing. But GTK+ and Pango also look for various other files at run-time. It's not just the shared libraries that are needed. The pathnames of these other fi

Re: GtkLabel + PangoLayout

2007-05-22 Thread Leonel Freire
Sorry... "Double width: 42 chars (210 x 20) -> two "char width" for each char, but the same height" Not 210 x 20... but 420 x 20... the same size but with just 21 chars, each one with double width. =P ___ gtk-app-devel-list mailing list gtk-app-devel-li

Re: GtkLabel + PangoLayout

2007-05-22 Thread Leonel Freire
I'm was trying to change de label pango context matrix, but no success. "because you need to queue a redraw of the label." After this I wrote... ... layout = gtk_label_get_layout(GTK_LABEL(label)); pango_layout_set_text(layout, "TEXT", -1); gtk_widget_queue_draw(label); But nothing happened...

RE: How to get the titles for all top level windows

2007-05-22 Thread Sreeram Akella
Hi Wally, Thanks for your quick response. But is there any way I can get the list of all the windows of all applications, just like what a Window manager would maintain? Thanks Sreeram -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 22, 2007 4:49

Re: How to create a self contained GTK+ Application for Linux

2007-05-22 Thread Jeremy Roberson
Tristan Van Berkom gnome.org> writes: > > On Tue, 2007-05-22 at 20:29 +, Jeremy Roberson wrote: > [...] > > And I get a segmentation fault. I then tried ldd and gdb and I get an instant > > segmentation fault. If I unset the LD_LIBRARY_PATH variable and then try ldd > > and gdb, they wor

Re: How to get the titles for all top level windows

2007-05-22 Thread Emmanuele Bassi
On Tue, 2007-05-22 at 16:33 -0700, Sreeram Akella wrote: > I would greatly appreciate it if some one can point me to the error here > or still better a code snippet that can do this. you want to use libwnck, not gtk+ if you plan to manipulate the entire windows list. ciao, Emmanuele. -- Emman

Re: How to get the titles for all top level windows

2007-05-22 Thread wallace . owen
On Tue, 2007-05-22 at 16:33 -0700, Sreeram Akella wrote: > Hi, > I am using GTK version 2.8.9 on Fedora Core 6. > I need to develop an application that lists all top level windows along > with the corresponding titles. I tried using the method > gdk_windows_get_toplevels() to return the GList of al

Re: How to get the titles for all top level windows

2007-05-22 Thread Brian J. Tarricone
On Tue, 22 May 2007 16:33:49 -0700 Sreeram Akella wrote: >I need to develop an application that lists all top level windows along >with the corresponding titles. I tried using the method >gdk_windows_get_toplevels() to return the GList of all top level >windows on the default screen on the default

How to get the titles for all top level windows

2007-05-22 Thread Sreeram Akella
Hi, I am using GTK version 2.8.9 on Fedora Core 6. I need to develop an application that lists all top level windows along with the corresponding titles. I tried using the method gdk_windows_get_toplevels() to return the GList of all top level windows on the default screen on the default di

Extending GtkRange to support buffered region / GtkRange subclassing limitation

2007-05-22 Thread Daniel Yek
Hi, I subclassed GtkHScale and overrode expose_event virtual function and others to add additional functionality to the class. I called the parent classes's (particularly GtkRange's) expose_event implementation to draw the trough and slider. So far so good. Due to the lack of support for "buff

Re: How to create a self contained GTK+ Application for Linux

2007-05-22 Thread Jeremy Roberson
Tristan Van Berkom gnome.org> writes: > > On Tue, 2007-05-22 at 20:29 +, Jeremy Roberson wrote: > [...] > > And I get a segmentation fault. I then tried ldd and gdb and I get an instant > > segmentation fault. If I unset the LD_LIBRARY_PATH variable and then try ldd > > and gdb, they wor

Re: How to create a self contained GTK+ Application for Linux

2007-05-22 Thread Shixin Zeng
On 5/22/07, Jeremy Roberson <[EMAIL PROTECTED]> wrote: > The majority of our clients are using custom Linux Distributions and they are > using older versions of GTK+. Our application depends on features available > in > GTK+ >= 2.10 so, I need to figure out how to distribute the application with

Re: How to create a self contained GTK+ Application for Linux

2007-05-22 Thread Tristan Van Berkom
On Tue, 2007-05-22 at 20:29 +, Jeremy Roberson wrote: [...] > And I get a segmentation fault. I then tried ldd and gdb and I get an instant > segmentation fault. If I unset the LD_LIBRARY_PATH variable and then try ldd > and gdb, they work but the application fails because it's linking agains

How to create a self contained GTK+ Application for Linux

2007-05-22 Thread Jeremy Roberson
The majority of our clients are using custom Linux Distributions and they are using older versions of GTK+. Our application depends on features available in GTK+ >= 2.10 so, I need to figure out how to distribute the application with all of its dependencies. So, I used ldd to determine all of t

Re: Fake pushing a GTK+ button

2007-05-22 Thread Mike Melanson
danielg RHCE wrote: > I'm pulling my hair out over something that I believe should be easy but I > cannot see it. > > I have a program that has your basic set of buttons, windows, switches and > adjustables. I have added a listener to tell me if a directory has been added > to or changed. The pr

Fake pushing a GTK+ button

2007-05-22 Thread danielg RHCE
I'm pulling my hair out over something that I believe should be easy but I cannot see it. I have a program that has your basic set of buttons, windows, switches and adjustables. I have added a listener to tell me if a directory has been added to or changed. The printf statement works great and s

Re: Howto discover when GtkLabel is elipsized.

2007-05-22 Thread Alexander Semyonov
I realized that pango_layout_get_width (GTK_LABEL (label)->layout)) return -1 when the label's text is not elipsized. I think it suffices. :) On 5/22/07, Alexander Semyonov <[EMAIL PROTECTED]> wrote: > > Hello. I have an elipsized GtkLabel. What I need is to correctly discover > when the ellipsis

Howto discover when GtkLabel is elipsized.

2007-05-22 Thread Alexander Semyonov
Hello. I have an elipsized GtkLabel. What I need is to correctly discover when the ellipsis "..." is displayed (I think i must discover it in some resize or paint event). Can you help me? Thanx. ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnom

G_KEY_FILE_KEEP_COMMENTS adds extra newlines

2007-05-22 Thread Enrico Tröger
Hi, please see http://mail.gnome.org/archives/gtk-app-devel-list/2007-January/msg00102.html are there any news? I still have this issue and I don't want to remove the G_KEY_FILE_KEEP_COMMENTS flag. I guess it is a bug but I didn't find a bug report. Should I create one? Or is it maybe already fix