Re: Can't get result from a dialog (SOLVED)

2006-03-07 Thread Ian van der Neut
Ok, nobody answered, so I let it lie for a while to look afresh another day (which was today) and figured it out. In the GtkDialog documentation it says in the example: /* Ensure that the dialog box is destroyed when the user responds. */ g_signal_connect_swapped (dialog,

Re: scrollable list widget

2006-03-07 Thread John Vetterli
On Mon, 6 Mar 2006, Steffen Wendzel wrote: I just started working with Gtk+2 using C-Code. I created a list with 3 columns inside of a gtk_scrolled_window. I can scroll the list but while scrolling, the header-line moves out of the shown window-part. How are you adding the GtkTreeView to the

Redrawing slow.

2006-03-07 Thread Jordan Walsh
Hi. I have implemented a widget, and had to include native scrolling capabilities. Only problem is, redrawing is slightly slow, and a noticeable lag (.25 second) is noticed on every scroll. I was wondering if there is a way to after a scroll, draw my window somewhere else, and then show it all

Re: zipping/unzipping library?

2006-03-07 Thread Thomas Klausner
On Mon, Mar 06, 2006 at 11:30:32PM -0500, Allin Cottrell wrote: Before I embark on this I'd like to find out if something of the sort already exists, or if someone else is already working in this area. Also, perhaps, how much interest there might be in this project. What I'm thinking

GLib 2.10.1 released

2006-03-07 Thread Matthias Clasen
GLib 2.10.1 is now available for download at: ftp://ftp.gtk.org/pub/gtk/v2.10/ http://download.gnome.org/sources/glib/2.10/ glib-2.10.1.tar.bz2 md5sum: 51df7932da118f7f27bbda82b65f0f91 glib-2.10.1.tar.gzmd5sum: 9c66a3136d8f456fadb8e9086efdd650 GLib is the low-level core library that

Re: zipping/unzipping library?

2006-03-07 Thread Jody Goldberg
On Tue, Mar 07, 2006 at 07:13:00PM +0100, Thomas Klausner wrote: On Mon, Mar 06, 2006 at 11:30:32PM -0500, Allin Cottrell wrote: Before I embark on this I'd like to find out if something of the sort already exists, or if someone else is already working in this area. Also, perhaps, how

gtk_file_chooser_unselect_all w/directory choosers

2006-03-07 Thread Ken Siersma
I'm using GtkFileChooser with GtkFileChooserAction == GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER so that the user can choose a directory. I'm using gtk_file_chooser_unselect_all in case there are any directories in the CWD. That way, if the user hits OK as soon as the chooser is opened, then

GdkBitmap - turning pixels OFF

2006-03-07 Thread Kent Humphries
Hi, I'm a relative newbie to the Gtk+/Gdk world and am having trouble with the GdkBitmap. I am creating GdkBitmaps in order to create clip masks. The mask is used for a graphics context which I then pass as an argument to gdk_draw_drawable. Basically I have two 'layers' which should be

Re: Building with Quartz support on MacOs X 10.4.5

2006-03-07 Thread Adriano
Anders,Il giorno 06/mar/06, alle ore 10:06, Anders Carlsson ha scritto:Adriano skrev: The problem here is that it's not finding the cairo-atsui backend. Didyou compile cairo with the quartz and atsui backends? Well I didn't remeber what I did with Cairo. I started again from scratch and I

GTK+ team irc meeting

2006-03-07 Thread Matthias Clasen
The meeting is intended for the GTK+ team, but everybody is welcome to come and listen. The meeting logs will be posted on the GTK+ website (http://www.gtk.org/plan/meetings). Place: irc.gnome.org:#gtk-devel Time: 21:00 UTC (16:00 EST), Tue, March 7 Possible agenda items: - async file

Re: Gtk+ print support - request for feedback

2006-03-07 Thread Marco Barisione
Alexander Larsson wrote: locale_data = localeconv (); decimal_point = locale_data-decimal_point; ... val = strtod (nptr, fail_pos); What happens if another thread calls setlocale() after localeconv() but before strtod()? -- Marco Barisione

GLib 2.10.1 released

2006-03-07 Thread Matthias Clasen
GLib 2.10.1 is now available for download at: ftp://ftp.gtk.org/pub/gtk/v2.10/ http://download.gnome.org/sources/glib/2.10/ glib-2.10.1.tar.bz2 md5sum: 51df7932da118f7f27bbda82b65f0f91 glib-2.10.1.tar.gzmd5sum: 9c66a3136d8f456fadb8e9086efdd650 GLib is the low-level core library that

Re: Gtk+ print support - request for feedback

2006-03-07 Thread Owen Taylor
On Tue, 2006-03-07 at 19:12 +0100, Marco Barisione wrote: Alexander Larsson wrote: locale_data = localeconv (); decimal_point = locale_data-decimal_point; ... val = strtod (nptr, fail_pos); What happens if another thread calls setlocale() after localeconv() but before

Re: dropping -Wl,--export-dynamic (Re: GTK+ team irc meeting)

2006-03-07 Thread Owen Taylor
On Tue, 2006-03-07 at 17:42 +0100, Tim Janik wrote: On Tue, 7 Mar 2006, Matthias Clasen wrote: Place: irc.gnome.org:#gtk-devel Time: 21:00 UTC (16:00 EST), Tue, March 7 Possible agenda items: [...] - dropping -Wl,--export-dynamic upon behdad's request, here's the relevant

commits and new release

2006-03-07 Thread Stefan Kost
damon, can you please give me your okay to commit http://bugzilla.gnome.org/show_bug.cgi?id=320588 http://bugzilla.gnome.org/show_bug.cgi?id=332483 patches from other people worth commentiing/commiting http://bugzilla.gnome.org/show_bug.cgi?id=321708

Re: commits and new release

2006-03-07 Thread Damon Chaplin
On Tue, 2006-03-07 at 09:47 +0100, Stefan Kost wrote: damon, can you please give me your okay to commit http://bugzilla.gnome.org/show_bug.cgi?id=320588 http://bugzilla.gnome.org/show_bug.cgi?id=332483 patches from other people worth commentiing/commiting

Re: Usability of the GTK+ 2 file open dialog

2006-03-07 Thread Toby
I'd like to join the ranks of those who are frustrated by GTK2's file dialog. Here are a few (somewhat arbitrary) suggestions to improve it without rewriting it from scratch. Typing a few letters now starts a quick-search for filenames. First suggestion: pressing Tab should 'filter' the files

Re: Usability of the GTK+ 2 file open dialog

2006-03-07 Thread David Necas (Yeti)
On Tue, Mar 07, 2006 at 04:55:18PM +1100, Peter Eckersley wrote: Is anyone else equally frustrated? Absolutely. Despite of the various attempts to make it suck less with keyboard, it still sucks. However, the widgets are quite different so to make them switchable at toolkit level would be

Fwd: Re: gtk cross compiling

2006-03-07 Thread rakesh p
Note: forwarded message attached. Relax. Yahoo! Mail virus scanning helps detect nasty viruses!---BeginMessage--- hi calvin, thanks and greets for your kind approach.when i configure pkg-config it ends up with the following error..please do notice what could make such a strange

Re: Usability of the GTK+ 2 file open dialog

2006-03-07 Thread Clemens Eisserer
Is anyone else equally frustrated? Me too, I simply can't understand who came how in the idea to design such a fileopen dialog. All file-dialogs follow almost the same style, just GTK does its own thing and in my opinion its design has no benefits but just causes frustration (at least this is

Re: Usability of the GTK+ 2 file open dialog

2006-03-07 Thread Piotr Legiecki
Użytkownik Clemens Eisserer napisał: Is anyone else equally frustrated? Me too, I simply can't understand who came how in the idea to design such a fileopen dialog. All file-dialogs follow almost the same style, just GTK does its own thing and in my opinion its design has no benefits but

Re: Usability of the GTK+ 2 file open dialog

2006-03-07 Thread Michael Ekstrand
On Tue, 7 Mar 2006 09:28:43 +0100 Toby [EMAIL PROTECTED] wrote: Another one: who came up with the retarded idea of Browse for other folders? Just show the damn thing already! Why add 1 useless click (on a small widget on top of that) to 90% of file dialog usage? I also have serious problems

Re: QT vs GTK 2006

2006-03-07 Thread Daniel Espinosa
2006/3/6, Martin Olsson [EMAIL PROTECTED]: Hi folks,I'm currently evaluating (GUI) toolkits, and I'm interested in thedifferences between QT and GTK. My code is going to be GPLed and I need itto be cross-platform. I've read a few previous threads from this list concerning this subject so I know

Re: Usability of the GTK+ 2 file open dialog

2006-03-07 Thread Sven Neumann
Hi, Toby [EMAIL PROTECTED] writes: Now for one of the most annoying things ever: how in the world am I supposed to select hidden files on GTK2's file dialog!? Right-click and select Show Hidden Files from the menu. Yes, there should be a way to globally enable this. IIRC there's a bug report

Re: Usability of the GTK+ 2 file open dialog

2006-03-07 Thread Jernej Simončič
On Tue, 07 Mar 2006 15:19:13 +0100, Sven Neumann wrote: Your user model is obviously different than mine because I very much prefer the new file-chooser over the old one. The problem is to find something that works well for the majority of GTK+ users and I believe that the new file-chooser

Dumb question

2006-03-07 Thread Chris Moller
I'm writing a roll-your-own widget that uses, among other things, a few buttons (via gtk_button_new()) and spin_buttons (gtk_spin_button_new()). In my widget _init() fcn, I create all the buttons, pack them into an hbox, and pack the hbox and some other stuff into a vbox. When the app the uses

Re: Usability of the GTK+ 2 file open dialog

2006-03-07 Thread Michael L Torrie
On Tue, 2006-03-07 at 16:55 +1100, Peter Eckersley wrote: Is anyone else equally frustrated? Yes. From a new user usability standpoint, the GTK2 file selector is probably pretty good. For for anyone who needs more flexibility, particularly from the keyboard, it sucks. The most annoying things

Re: Usability of the GTK+ 2 file open dialog

2006-03-07 Thread Michael L Torrie
On Tue, 2006-03-07 at 14:22 +0100, Piotr Legiecki wrote: Użytkownik Clemens Eisserer napisał: Is anyone else equally frustrated? Me too, I simply can't understand who came how in the idea to design such a fileopen dialog. All file-dialogs follow almost the same style, just GTK does

Re: Dumb question

2006-03-07 Thread Mark Leisher
Chris Moller wrote: I'm writing a roll-your-own widget that uses, among other things, a few buttons (via gtk_button_new()) and spin_buttons (gtk_spin_button_new()). In my widget _init() fcn, I create all the buttons, pack them into an hbox, and pack the hbox and some other stuff into a vbox.

Re: Dumb question

2006-03-07 Thread Mark Leisher
Mark Leisher wrote: Chris Moller wrote: I'm writing a roll-your-own widget that uses, among other things, a few buttons (via gtk_button_new()) and spin_buttons (gtk_spin_button_new()). In my widget _init() fcn, I create all the buttons, pack them into an hbox, and pack the hbox and some

Re: Dumb question

2006-03-07 Thread Chris Moller
Much appreciated, and thanks for saving me a couple of months. cm Mark Leisher mumbled something on 03/07/2006 11:39 AM: Not so dumb. I struggled with this one for a couple months. I discovered with GTK+ 2.7 and later that when creating subclasses of GtkContainer, you *have* to

Re: Usability of the GTK+ 2 file open dialog

2006-03-07 Thread Michael L Torrie
On Tue, 2006-03-07 at 15:19 +0100, Sven Neumann wrote: Hi, Toby [EMAIL PROTECTED] writes: Now for one of the most annoying things ever: how in the world am I supposed to select hidden files on GTK2's file dialog!? Right-click and select Show Hidden Files from the menu. Yes, there

Re: Usability of the GTK+ 2 file open dialog

2006-03-07 Thread Michael L Torrie
On Tue, 2006-03-07 at 08:53 +0100, Jernej Simončič wrote: On Tue, 07 Mar 2006 16:55:18 +1100, Peter Eckersley wrote: Is anyone else equally frustrated? Many of us - the new open dialog caused me to start using Windows Exploder again when I want to open files in GIMP, since it's just

Re: Usability of the GTK+ 2 file open dialog

2006-03-07 Thread Toby
Michael L Torrie wrote: Really under Windows, GTK ought to be using the win32 file selector instead of it's own one. That's what users expect. By the way, based on my limited experience (trying to get a few people to use The Gimp instead of buying Paint Shop Pro—and failing) the custom file

Re: Usability of the GTK+ 2 file open dialog

2006-03-07 Thread Petr Tomasek
Another one: who came up with the retarded idea of Browse for other folders? Just show the damn thing already! Why add 1 useless click (on a small widget on top of that) to 90% of file dialog usage? If you started to use the bookmarks feature, it is likely that you will not need to

Re: Usability of the GTK+ 2 file open dialog

2006-03-07 Thread Toby
Sven Neumann wrote: Right-click and select Show Hidden Files from the menu. Wow! I wouldn't have tried that in a million years! I thought obscure features only came in the form of obscure keystrokes: I stand corrected. Yes, there should be a way to globally enable this. That's not the

Re: Usability of the GTK+ 2 file open dialog

2006-03-07 Thread Matthias Clasen
And of course, nobody in this thread can remember the years of screaming and whining about the old file chooser... ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list

Re: Usability of the GTK+ 2 file open dialog

2006-03-07 Thread David Necas (Yeti)
On Tue, Mar 07, 2006 at 07:19:41PM +0100, Toby wrote: Detachable menus should also be turned off by default on Windows. To its users it just doesn't look right. As far as I know menus are not detachable by default in Gtk+ (and the Gimp's are for a good reason). It is funny how the Microsoft

Re: how to remove deprecated widgets - downsizing GTK

2006-03-07 Thread Durai
On Mon, 2006-03-06 at 14:55 -0500, Tristan Van Berkom wrote: I wonder if you could accomplish such a thing by simply compiling the GTK libraries into your UI app staticly, if I'm not mistaken; gcc will only link in symbols and code segments from a static archive if they are referenced by

Re: QT vs GTK 2006

2006-03-07 Thread Matthias Clasen
On 3/6/06, Martin Olsson [EMAIL PROTECTED] wrote: Hi folks, I'm currently evaluating (GUI) toolkits, and I'm interested in the differences between QT and GTK. My code is going to be GPLed and I need it to be cross-platform. I've read a few previous threads from this list concerning this

glib\guitls.h, atexit and the windows DDK

2006-03-07 Thread Rick Jones
i'm in the midst of getting netperf4: http://www.netperf.org/svn/netperf4/trunk/ ported to Windows. As a first step I have it optionally using Glib/Gthread under Linux. Netperf4 also uses libxml2. I've gotten those bits downloaded and placed under my build directory. The Win32 stuff was

Re: Usability of the GTK+ 2 file open dialog

2006-03-07 Thread Sven Neumann
Hi, Petr Tomasek [EMAIL PROTECTED] writes: If you started to use the bookmarks feature, it is likely that you will not need to use the folders list for about 95% of your file dialog usage. That is my experience at least. I see big problem here. There should be per application bookmarks. I

Re: Usability of the GTK+ 2 file open dialog

2006-03-07 Thread Sven Neumann
Hi, Michael L Torrie [EMAIL PROTECTED] writes: The most annoying things deal with opening files: * if you type the name of the file to open, you have to press enter twice. No, you haven't. Just type the name of the file to open (or rather only the first letters of it). Then press Enter

GLib 2.10.1 released

2006-03-07 Thread Matthias Clasen
GLib 2.10.1 is now available for download at: ftp://ftp.gtk.org/pub/gtk/v2.10/ http://download.gnome.org/sources/glib/2.10/ glib-2.10.1.tar.bz2 md5sum: 51df7932da118f7f27bbda82b65f0f91 glib-2.10.1.tar.gzmd5sum: 9c66a3136d8f456fadb8e9086efdd650 GLib is the low-level core library that

Re: Usability of the GTK+ 2 file open dialog

2006-03-07 Thread Tristan Van Berkom
David Necas (Yeti) wrote: [...] Either are those Windows people different species and think and feel in ways incomprehensible to us (and I am not convinced of this), or the problem lies somewhere else. More likely, they are confronted with free software in situations that invoke their

Re: Usability of the GTK+ 2 file open dialog

2006-03-07 Thread Matthias Clasen
On 3/7/06, David Necas (Yeti) [EMAIL PROTECTED] wrote: On Tue, Mar 07, 2006 at 02:02:01PM -0500, Matthias Clasen wrote: And of course, nobody in this thread can remember the years of screaming and whining about the old file chooser... With all respect to you, this is a bogus argument. A

Re: Usability of the GTK+ 2 file open dialog

2006-03-07 Thread Michael L Torrie
On Tue, 2006-03-07 at 20:29 +0100, Sven Neumann wrote: No, you haven't. Just type the name of the file to open (or rather only the first letters of it). Then press Enter once. Do _not_ press Ctrl-L before you do this, just use typeahead as in any other list view. You're right. The need to

Re: Usability of the GTK+ 2 file open dialog

2006-03-07 Thread Michael L Torrie
On Tue, 2006-03-07 at 15:45 -0500, Tristan Van Berkom wrote: Michael L Torrie wrote: Really under Windows, GTK ought to be using the win32 file selector instead of it's own one. That's what users expect. Is it really ok for users to expect that ? Yes. Any other assumption is silly.

Re: Usability of the GTK+ 2 file open dialog

2006-03-07 Thread Toby
Michael L Torrie wrote: The need to press Enter twice occurs when I'm typing a full path (say /tmp/blah). That is annoying. Many times when you're typing a full path, you only want to type the directory part and then browse the files therein. I think that's what the double enter is for.

Re: QT vs GTK 2006

2006-03-07 Thread Derek Piper
My 2 cents on the questions I have an opinion about. Martin Olsson wrote: Hi folks, I'm currently evaluating (GUI) toolkits, and I'm interested in the differences between QT and GTK. My code is going to be GPLed and I need it to be cross-platform. I've read a few previous threads from

Re: Usability of the GTK+ 2 file open dialog

2006-03-07 Thread Michael L Torrie
On Tue, 2006-03-07 at 14:39 -0500, Matthias Clasen wrote: No, but people in this thread were talking about reverting to the old file chooser, as if that would improve things. It would just mean that a different group of people would start to scream (and the intersection of the screaming groups

Re: Usability of the GTK+ 2 file open dialog

2006-03-07 Thread Jernej Simončič
On Tue, 7 Mar 2006 20:04:39 +0100, David Necas (Yeti) wrote: As far as I know menus are not detachable by default in Gtk+ (and the Gimp's are for a good reason). It is funny how the Microsoft Windows users are comfortable with any braindead scanner control GUI where I cannot tell what _are_

Re: Usability of the GTK+ 2 file open dialog

2006-03-07 Thread David Necas (Yeti)
On Tue, Mar 07, 2006 at 09:37:12PM +0100, Jernej Simončič? wrote: Scanner control GUI? You do realize that there isn't any standarised scanning dialog box on Windows, and that every vendor provides it's own That was exactly the point. Each one looks like from a different planet, it often

Re: Usability of the GTK+ 2 file open dialog

2006-03-07 Thread Petr Tomasek
On Tue, Mar 07, 2006 at 08:27:16PM +0100, Sven Neumann wrote: Hi, Petr Tomasek [EMAIL PROTECTED] writes: If you started to use the bookmarks feature, it is likely that you will not need to use the folders list for about 95% of your file dialog usage. That is my experience at least.

button-press-event only called if gtk_drag_source_set was used?

2006-03-07 Thread Norbert Fabritius
Hello everyone, I want to catch a mouse-click on my widget, so I connected with the 'button-press-event' signal. However, it seems that it only gets called if my widget used the 'gtk_drag_source_set()' function before. Why is that? Now it is possible to drag from my widget, but I only wanted to

Re: button-press-event only called if gtk_drag_source_set was used?

2006-03-07 Thread David Necas (Yeti)
On Tue, Mar 07, 2006 at 10:39:25PM +0100, Norbert Fabritius wrote: I want to catch a mouse-click on my widget, so I connected with the 'button-press-event' signal. Depending on how much the widget is `your', either add GDK_BUTTON_PRESS_MASK in widget's realize method: ...

Re: Usability of the GTK+ 2 file open dialog

2006-03-07 Thread Toby
Petr Tomasek wrote: Humm... this seems a wrong approach to me. The user should decide whether a particular bookmark is meant for one application only or globaly, not the application... :-o And she should be able to set an application-specific bookmark, as opposed to a global one, without the

Re: Usability of the GTK+ 2 file open dialog

2006-03-07 Thread Daniel Kasak
Michael L Torrie wrote: On Tue, 2006-03-07 at 08:53 +0100, Jernej Simončič wrote: On Tue, 07 Mar 2006 16:55:18 +1100, Peter Eckersley wrote: Is anyone else equally frustrated? Many of us - the new open dialog caused me to start using Windows Exploder again when I want to open

Re: Usability of the GTK+ 2 file open dialog

2006-03-07 Thread Sven Neumann
Hi, Michael L Torrie [EMAIL PROTECTED] writes: You're right. The need to press Enter twice occurs when I'm typing a full path (say /tmp/blah). That is annoying. http://bugzilla.gnome.org/show_bug.cgi?id=158423 Sven ___ gtk-list mailing list

Re: Usability of the GTK+ 2 file open dialog

2006-03-07 Thread Michael L Torrie
On Wed, 2006-03-08 at 10:20 +1100, Daniel Kasak wrote: I'm not so sure about this. I can understand people wanting to have the *option* of overriding the Gtk2 File Open dialog with a native windows one, but I personally prefer the Gtk2 dialog - apart from it currently now knowing about

How to report user errors

2006-03-07 Thread Jacob Kroon
Hi, I'm trying to lay out a strategy for implementing a way to report errors to users of a library I'm working on. The scenario is pretty similar to a GtkContainer which has multiple children in it, so for easy explanation I'll use it as an example. Let's say the container class had a

Win32 viewers/pagers/editors WAS: glib\guitls.h, atexit and the windows DDK

2006-03-07 Thread David
On Tue, Mar 07, 2006 at 11:17:37AM -0800, Rick Jones wrote: i'm in the midst of getting netperf4: http://www.netperf.org/svn/netperf4/trunk/ ported to Windows. As a first step I have it optionally using Glib/Gthread under Linux. Notepad is useless for looking at the include file

GTK2 and SSH Perfromance issue

2006-03-07 Thread garyolywa
I am seeing an issue with GTK2 and SSH. When running GVIM compiled with GTK1 either over RSH or SSH, it performs fine. When running VIM compiled with GTK2 over RSH it is fine, but over SSH the performance is unacceptable. It appears that with the GTK2 libraries there is a significant increase in

pkg-config cross compilation

2006-03-07 Thread rakesh p
am trying to cross compile pkg-config.but all the way its ends up with the following error-checking whether we are using the GNU C compiler... (cached) yeschecking whether powerpc-405-linux-gnu-gcc accepts -g... (cached) yeschecking for

Re: Usability of the GTK+ 2 file open dialog

2006-03-07 Thread Frank Naumann
Hello! I recall similar arguments about Java swing. They argued that having a consistent UI for one application across all platforms was more important than have an app that acted in a consistent way with apps on any given platform. I think most people would now agree that the latter is more

Is the cellrenderer_date.pl working for anyone?

2006-03-07 Thread zentara
Hi, I've been looking at the custom cellrenderers in the example subdir of the Gtk-1.115 module. Is the cellrenderer_date.pl working correctly for anyone? I get this weird flicker, of the cell text appearring and disappearing, as I move the mouse over the list; and the columns seem to get

Re: Is the cellrenderer_date.pl working for anyone?

2006-03-07 Thread Daniel Kasak
zentara wrote: Is the cellrenderer_date.pl working correctly for anyone? I get this weird flicker, of the cell text appearring and disappearing, as I move the mouse over the list; and the columns seem to get values confused and changing. I posted about this type of issue a couple of days

Re: Gtk2::CellRendererSpinButton-Z

2006-03-07 Thread muppet
On Mar 7, 2006, at 5:06 PM, zentara wrote: Sorry I wasted your time, but I sure learned alot. :-) If something was learned, then the time was not wasted. -- elysse (pregnant): are your hands cold? me: uh, i suppose so. elysse: will you put them on me?