Re: Is GtkAssistant a toplevel widget?

2017-03-22 Thread Emmanuele Bassi
As you can see here: https://developer.gnome.org/gtk3/stable/GtkAssistant.html#GtkAssistant.object-hierarchy GtkAssistant is-a GtkWindow, which means it's a top level widget. The documentation of `gtk_widget_is_toplevel()` does not list all the possible GtkWindow sub-types, because GTK+ may

Is GtkAssistant a toplevel widget?

2017-03-22 Thread songqing shan
ml> (and out-of-process GtkPlugs<https://developer.gnome.org/gtk3/stable/GtkPlug.html#GtkPlug-struct>) are toplevel widgets." However, when I use GtkAssistant, the error occurred "Gtk-WARNING **: Can't set a parent on a toplevel widget." . Actually, GtkAssistant is a toplevel

GtkAssistant page visible

2013-06-10 Thread Kip Warner
Hey list, Is there a signal I should be listening for that is emitted when a page on my GtkAssistant is visible for the first time? By visible, I mean has already been constructed (e.g prepare signal) and is now visible. Each page in my GtkAssistant is a GtkBox containing child widgets. -- Kip

Re: GtkAssistant apply signal

2013-05-18 Thread Sébastien Granjoux
Hi Le 18/05/2013 06:57, Kip Warner a écrit : During handling of the apply signal in my GtkAssistant, what is the recommended way of stopping the assistant from advancing to the next page if my code would like to abort the apply transitioning to the next page automatically? In the project

Re: GtkAssistant apply signal

2013-05-18 Thread Kip Warner
On Sat, 2013-05-18 at 17:47 +0900, Tristan Van Berkom wrote: Here's an idea, ... in the GtkAssistant documentation for apply[0], it says: The default behavior of the GtkAssistant is to switch to the page after the current page, unless the current page is the last one. Which means

Re: GtkAssistant apply signal

2013-05-18 Thread Kip Warner
On Sat, 2013-05-18 at 10:38 +0200, Sébastien Granjoux wrote: In the project-wizard in Anjuta, I have added a dummy page after each one. I don't block the transition between the current page and this dummy one. I check if the transition is valid in the prepare handler of the dummy page. If

GtkAssistant apply signal

2013-05-17 Thread Kip Warner
Hey list, During handling of the apply signal in my GtkAssistant, what is the recommended way of stopping the assistant from advancing to the next page if my code would like to abort the apply transitioning to the next page automatically? I am aware of the set_page_complete() function, however I

GtkAssistant : bug or feature ?

2011-11-22 Thread Pierre Wieser
Hi all, When working with GtkAssistant, I used to find the widgets of the pages as children of the GtkAssistant by doing a recursive search starting from the GtkAssistant container. But, as of Gtk+ 3.2 (at least), I have found that GtkAssistant is now an empty container, and widgets

Re: gtkAssistant

2009-08-15 Thread Tadej Borovšak
Hi. The documentation says the first argument should be a page of the assistant, which I assumed to be a number. What should I be putting in there? I'm not sure what documentation you were looking for, but I would suggest you always have a look at C API reference too, since there are types of

gtkAssistant

2009-08-14 Thread Sam Bull
Trying to use GtkAssistant.set_page_complete(), but keep getting an error: TypeError: GtkAssistant.set_page_complete() argument 1 must be gtk.Widget, not int The documentation says the first argument should be a page of the assistant, which I assumed to be a number. What should I be putting in

Re: GtkAssistant flow question

2009-07-26 Thread Pierre Wieser
Date: Sun, 12 Jul 2009 13:25:48 +0200 (CEST) From: pwie...@trychlos.org Subject: GtkAssistant flow question To: gtk-app-devel-list@gnome.org Hi, I have a simple GtkAssistant with : - one intro page - two content pages - one confirm page - one summary page. All works fine

GtkAssistant flow question

2009-07-12 Thread pwieser
Hi, I have a simple GtkAssistant with : - one intro page - two content pages - one confirm page - one summary page. All works fine : the confirm page has 'Cancel' and 'Apply' buttons, and the summary page has only a 'Close' button. Of course (or is it only obvious for me ?), I'd wish display

GtkAssistant vs. GtkFileChooserWidget

2009-07-12 Thread Pierre Wieser
Hi all, I'm building a GtkAssistant which embeds a GtkFileChooserWidget in one of the content pages. My problem is when I run the assistant for the second times, the GtkfileChooserWidget doesn't display at all. Below the sample code which reproduces the problem : enum

GtkAssistant and gtk_assistant_set_forward_page_func wierdness

2008-06-21 Thread Ben
; } return -1; } Now the function works correctly, however it is being called TWICE when I click the forward button. I can not for the life of my figure out why it is doing this? Is this a feature or something? I've created only 1 GtkAssistant and I am only calling

question about GtkAssistant

2007-08-14 Thread Jijun Yu
Hi, guys In my glade file, there's a GtkAssistant class. After building, there's a error output at running: libglade-WARNING **: unknown widget class 'GtkAssistant' My libglade version is 2.6.2, glade-3 version is 3.3.1, gtk+ version is 2.10.12 How to resolve this? It seems that glade-3

GtkAssistant - conditional flow

2007-04-25 Thread minux
Hi there, I have the following situation with GtkAssistant - first page is only informational introduction, second page contains two radio buttons, third page should contain some entries and fourth page is the summary. My problem is how to handle the third page, because its content depends

GtkAssistant - conditional flow

2007-04-25 Thread minux
Hi there, I have the following situation with GtkAssistant - first page is only informational introduction, second page contains two radio buttons, third page should contain some entries and fourth page is the summary. My problem is how to handle the third page, because its content depends

Re: GtkAssistant - conditional flow

2007-04-25 Thread Tristan Van Berkom
On Wed, 2007-04-25 at 19:27 +0200, [EMAIL PROTECTED] wrote: Hi there, I have the following situation with GtkAssistant - first page is only informational introduction, second page contains two radio buttons, third page should contain some entries and fourth page is the summary. My problem