how to scroll a gtk_scrolled_window ?

2007-08-19 Thread Gregory Hosler
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I have a gtk_scrolled_window() in a window, and occasionally there times when I wish to force the window to be at the last line, regardless of where the scrollbar is presently set. In particular, I have widgets below the scrolled_window that hide/show

Editing in GtkTreeView - Automatic Edit and Unwanted Edit Box?

2007-08-19 Thread Tony Cowderoy
I'm new to Gtk, so I'm not sure if I've looked in the right places yet, but I have tried to RTFM before asking these two questions. I'm working on Windows XP with MSYS/Mingw and GTK+ 2.10.11 and I'm using Glade/libglade to define the UI. I've pasted in the relevant source code, which is very m

Re: how to scroll a gtk_scrolled_window ?

2007-08-19 Thread Yeti
On Sun, Aug 19, 2007 at 09:32:20PM +0800, Gregory Hosler wrote: > I have a gtk_scrolled_window() in a window, and occasionally there times when > I > wish to force the window to be at the last line, regardless of where the > scrollbar is presently set. > > In particular, I have widgets below the

Re: Editing in GtkTreeView - Automatic Edit and Unwanted Edit Box?

2007-08-19 Thread Yeti
On Sun, Aug 19, 2007 at 05:16:49PM +0100, Tony Cowderoy wrote: > > First question - is there any (preferably easy) way with a GtkTreeView > to make any editable cell that is selected automatically enter edit mode > and automatically commit the changes when focus moves elsewhere? IIRC this is tr

Re: Editing in GtkTreeView - Automatic Edit and Unwanted Edit Box?

2007-08-19 Thread zz
On Sunday 19 August 2007 18:34:32 David Nečas wrote: > On Sun, Aug 19, 2007 at 05:16:49PM +0100, Tony Cowderoy wrote: > > > > First question - is there any (preferably easy) way with a GtkTreeView > > to make any editable cell that is selected automatically enter edit mode > > and automatically

GtkFileChooserButton bug?

2007-08-19 Thread Leonel Freire
#include int main(int argc, char *argv[]) { GtkWidget *window; GtkWidget *chooser; gtk_init(&argc, &argv); window = gtk_window_new(GTK_WINDOW_TOPLEVEL); chooser = gtk_file_chooser_button_new(NULL, GTK_FILE_CHOOSER_ACTION_OPEN); gtk_widget_set_size_request(chooser, 300, -

Re: GtkFileChooserButton bug?

2007-08-19 Thread Enrico Tröger
On Sun, 19 Aug 2007 14:15:17 -0300, "Leonel Freire" <[EMAIL PROTECTED]> wrote: > #include > > int main(int argc, char *argv[]) > { > GtkWidget *window; > GtkWidget *chooser; > > gtk_init(&argc, &argv); > > window = gtk_window_new(GTK_WINDOW_TOPLEVEL); > chooser = gtk_file_c

Re: GtkFileChooserButton bug?

2007-08-19 Thread Leonel Freire
[EMAIL PROTECTED] ~]$ pkg-config --modversion gtk+-2.0 2.10.14 Leonel Freire ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: GtkFileChooserButton bug?

2007-08-19 Thread Leonel Freire
[EMAIL PROTECTED] ~]$ pkg-config --modversion gtk+-2.0 2.10.14 ¬¬ ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: Accelerator keys and popup menus?

2007-08-19 Thread Stefan Kost
Hi, Daniel Pekelharing wrote: > Hi all, > > Sorry to be posting yet more questions about accel keys... > > I have created a popup menu and assigned accelerator keys to some of the > items, > > I assigned a GtkAccelGroup to the menu using > gtk_menu_set_accel_group(..), > > I attached the same

Re: Accelerator keys and popup menus?

2007-08-19 Thread Mike Melanson
Stefan Kost wrote: > Hi, > > Daniel Pekelharing wrote: >> Hi all, >> >> Sorry to be posting yet more questions about accel keys... >> >> I have created a popup menu and assigned accelerator keys to some of the >> items, >> >> I assigned a GtkAccelGroup to the menu using >> gtk_menu_set_accel_group

Re: Accelerator keys and popup menus?

2007-08-19 Thread Stefan Kost
Hi, Mike Melanson wrote: > Stefan Kost wrote: >> Hi, >> >> Daniel Pekelharing wrote: >>> Hi all, >>> >>> Sorry to be posting yet more questions about accel keys... >>> >>> I have created a popup menu and assigned accelerator keys to some of the >>> items, >>> >>> I assigned a GtkAccelGroup to the

Re: Accelerator keys and popup menus?

2007-08-19 Thread Stefan Kost
Hi, I've commented on this bug: http://bugzilla.gnome.org/show_bug.cgi?id=143007#c6 Stefan Stefan Kost wrote: > Hi, > > Daniel Pekelharing wrote: >> Hi all, >> >> Sorry to be posting yet more questions about accel keys... >> >> I have created a popup menu and assigned accelerator keys to some o

Re: Accelerator keys and popup menus?

2007-08-19 Thread Gabriel Schulhof
Hi! On Sun, 2007-08-19 at 23:48 +0300, Stefan Kost wrote: > I read about the differences. I really want "accelerators". I was able to hack it: Create a plain old regular menubar-type menu with accelerators. Then ref the submenu you want to make into a popup menu and detach it from its parent menu