Re: Alt-key mnemonics in menus

2011-09-05 Thread Emmanuele Bassi
On 2011-09-05 at 21:35, Allin Cottrell wrote: > Having built a minimal test program, showing a plain GTK window with > a menu, I can confirm that the GTK default is (a). And I find this > to be the case with all the gnome apps that I've tested. I infer > that apps that support (c) -- e.g., Firefox,

Re: Alt-key mnemonics in menus

2011-09-05 Thread Allin Cottrell
Just for the record, in case anyone else wonders about this, here's what I have found (history below): Suppose you have a menubar with a top-level menu _File (with underscore-mnemonic F). How do you open the File menu via the keyboard? Easy: using Alt-F. Now for the question I was asking: su

Can g_file_monitor_file () report events from before it was created?

2011-09-05 Thread Peter Clifton
Hi, I'm working on some code to monitor for file changes in our application, and ran into a bit of a problem today with the Save-As case. The order of operations is something like: 1. File monitor exists on the document file which was loaded last 2. User hits File->Save as.. (and enters a filena

GTK+ 3.1.18

2011-09-05 Thread Matthias Clasen
GTK+ 3.1.18 is now available for download at: ftp://ftp.gtk.org/pub/gtk/3.1/ http://download.gnome.org/sources/gtk+/3.1/ 22197439092404b43184d6121d047610f6c4573891309feca36ac8eedeaf6ab4 gtk +-3.1.18.tar.xz e6f1afcdf87932cb3fb78f65b9459b3e5bae44481d8c9f0ca3be9c388c0ad975 gtk +-3.1.18.tar.bz2

Re: How to detect when user scrolls

2011-09-05 Thread Andrew Wood
Excellent. Thank you On 05/09/11 15:37, David Nečas wrote: On Mon, Sep 05, 2011 at 02:37:32PM +0100, Andrew Wood wrote: However in the mainwindow is a GtkScrolledWindow, and although its detecting mouse movement over the display area, if the user is just moving the scrollbarsandnot doing anyth

Re: How to detect when user scrolls

2011-09-05 Thread David Nečas
On Mon, Sep 05, 2011 at 02:37:32PM +0100, Andrew Wood wrote: > However in the mainwindow is a GtkScrolledWindow, and although its > detecting mouse movement over the display area, if the user is just > moving the scrollbarsandnot doing anything else, as they would if > reading through some te

Re: Alt-key mnemonics in menus

2011-09-05 Thread Allin Cottrell
On Mon, 5 Sep 2011, Allin Cottrell wrote: I've noticed that in my GTK app Alt-key mnemonics work like this: pressing Alt-F, for example, opens the _File menu, but once you're in the menu pressing Alt-N does not activate _New, although pressing plain N does so. In various other GTK apps both A

Alt-key mnemonics in menus

2011-09-05 Thread Allin Cottrell
I've noticed that in my GTK app Alt-key mnemonics work like this: pressing Alt-F, for example, opens the _File menu, but once you're in the menu pressing Alt-N does not activate _New, although pressing plain N does so. In various other GTK apps both Alt-N and plain N work in this sort of cont

How to detect when user scrolls

2011-09-05 Thread Andrew Wood
Im writing some code which will call a function (userActive) when the user does something, for mouse moves, clicks and keyboard presses this is working fine: g_signal_connect(G_OBJECT(mainwindow),"motion-notify-event",G_CALLBACK(userActive),NULL); //will be called when a mouse move occurs g_si

Re: GtkBuilder bugs

2011-09-05 Thread Bernhard Schuster
2011/9/5 Tristan Van Berkom : > On Mon, Sep 5, 2011 at 12:43 PM, Michal Suchanek wrote: >> On 5 September 2011 11:29, Tristan Van Berkom wrote: >>> On Mon, Sep 5, 2011 at 10:49 AM, Michal Suchanek >>> wrote: On 4 September 2011 12:32, Tristan Van Berkom wrote: > Its a bug that needs t

Re: GtkBuilder bugs

2011-09-05 Thread Tristan Van Berkom
On Mon, Sep 5, 2011 at 12:43 PM, Michal Suchanek wrote: > On 5 September 2011 11:29, Tristan Van Berkom wrote: >> On Mon, Sep 5, 2011 at 10:49 AM, Michal Suchanek wrote: >>> On 4 September 2011 12:32, Tristan Van Berkom wrote: Its a bug that needs to be fixed in Glade. You can re

Re: GtkBuilder bugs

2011-09-05 Thread Michal Suchanek
On 5 September 2011 11:29, Tristan Van Berkom wrote: > On Mon, Sep 5, 2011 at 10:49 AM, Michal Suchanek wrote: >> On 4 September 2011 12:32, Tristan Van Berkom wrote: >>> Its a bug that needs to be fixed in Glade. >>> >>> You can remove the line that says n-rows safely fwiw >> >> I don't think t

Re: GtkBuilder bugs

2011-09-05 Thread Tristan Van Berkom
On Mon, Sep 5, 2011 at 10:49 AM, Michal Suchanek wrote: > On 4 September 2011 12:32, Tristan Van Berkom wrote: >> Its a bug that needs to be fixed in Glade. >> >> You can remove the line that says n-rows safely fwiw > > I don't think that an extra property would break the widget, the > warning sh

Re: GtkBuilder bugs

2011-09-05 Thread Michal Suchanek
On 4 September 2011 12:32, Tristan Van Berkom wrote: > Its a bug that needs to be fixed in Glade. > > You can remove the line that says n-rows safely fwiw I don't think that an extra property would break the widget, the warning should be harmless. > > On Sun, Sep 4, 2011 at 1:41 AM, Bernhard Sch