Re: GtkNotebook with action on click of special tab

2011-05-03 Thread Bernhard Schuster
In the end it was as easy as replacing g_signal_connect with g_signal_connect_after Regards Bernhard ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: GtkNotebook with action on click of special tab

2011-04-27 Thread Bill Czermak
On 27/04/11 10:02, Bernhard Schuster wrote: 2011/4/27 Bill Czermakczer...@netspace.net.au: Hi Bernhard Checked my code and last updated my notebook handling source last November. Probably written 6 months earlier, and changes were to restructure the way I was using GTK, rather than change

Re: GtkNotebook with action on click of special tab

2011-04-27 Thread Bernhard Schuster
Easiest way is to check it out yourself: g...@gitorious.org:tinygecko/devel.git Its not big and a simple make does it all for you :) dependencies are gtksourceview and gtk+2.0 Thank you for your time, I already implemented pretty much of what you said, I am just struggling about this focus issue.

Re: GtkNotebook with action on click of special tab

2011-04-26 Thread Bernhard Schuster
Now I am adding a a new page on the switch-page signal. It works well so far BUT I got a focus problem. No matter if I try to focus it via gtk_notebook_set_current_page instantly after adding the page, or in a function glued to the signal page-added, the clicked tab will show up. So is there any

Re: GtkNotebook with action on click of special tab

2011-04-26 Thread Bill Czermak
Hi Bernhard Checked my code and last updated my notebook handling source last November. Probably written 6 months earlier, and changes were to restructure the way I was using GTK, rather than change the notebook handling area. So I might have forgotten a few implementation problems I

Re: GtkNotebook with action on click of special tab

2011-04-26 Thread Bernhard Schuster
2011/4/27 Bill Czermak czer...@netspace.net.au: Hi Bernhard Checked my code and last updated my notebook handling source last November.  Probably written 6 months earlier, and changes were to restructure the way I was using GTK, rather than change the notebook handling area.  So I might have

Re: GtkNotebook with action on click of special tab

2011-04-20 Thread Bernhard Schuster
2011/4/20 Tristan Van Berkom t...@gnome.org On Wed, Apr 20, 2011 at 8:34 AM, Bernhard Schuster schuster.bernh...@googlemail.com wrote: Hi I am trying to achieve the effect of new tab openening if one tab gets selected. Unfortunaltly the doc is very sparse on that:

Re: GtkNotebook with action on click of special tab

2011-04-20 Thread Bill C
Hi Bernhard Not sure what you are trying to do. Gtk_Notebook is a nice feature. What I found works is to process the switch-page signal. Generally I setup each page prior to displaying it and associate my own control data with each page. (From memory GTK does not bother to display blank

GtkNotebook with action on click of special tab

2011-04-19 Thread Bernhard Schuster
Hi I am trying to achieve the effect of new tab openening if one tab gets selected. Unfortunaltly the doc is very sparse on that: http://developer.gnome.org/gtk/stable/GtkNotebook.html as of using the select-page signal. Can anyone give me a hint how to use it properly with a g_signal_connect

Re: GtkNotebook with action on click of special tab

2011-04-19 Thread Tristan Van Berkom
On Wed, Apr 20, 2011 at 8:34 AM, Bernhard Schuster schuster.bernh...@googlemail.com wrote: Hi I am trying to achieve the effect of new tab openening if one tab gets selected. Unfortunaltly the doc is very sparse on that: http://developer.gnome.org/gtk/stable/GtkNotebook.html as of using the