Re: Desktop as transient window

2015-08-10 Thread Igor Korot
Jasper, On Sun, Aug 9, 2015 at 7:19 PM, Jasper St. Pierre jstpie...@mecheye.net wrote: The desktop is not a window. It could be in some desktop environments, but is not always. In fact, in some desktop environments, there is no desktop window or desktop concept at all. There is no standard

Re: Desktop as transient window

2015-08-10 Thread Igor Korot
Paul, On Mon, Aug 10, 2015 at 12:33 PM, Paul Davis p...@linuxaudiosystems.com wrote: On Mon, Aug 10, 2015 at 12:31 PM, Igor Korot ikoro...@gmail.com wrote: Jasper, On Sun, Aug 9, 2015 at 7:19 PM, Jasper St. Pierre jstpie...@mecheye.net wrote: The desktop is not a window. It could be in

Re: WHere is the icons

2015-08-10 Thread Igor Korot
Stefan, On Mon, Aug 10, 2015 at 9:36 AM, Stefan Salewski m...@ssalewski.de wrote: On Mon, 2015-08-10 at 01:28 -0400, Igor Korot wrote: Hi, I'm trying to run the modified GTK+3 application. Sorry, no idea what the modified GTK+3 application is... I have KDE4 as my WM and trying to run the

Re: Desktop as transient window

2015-08-10 Thread Paul Davis
On Mon, Aug 10, 2015 at 12:31 PM, Igor Korot ikoro...@gmail.com wrote: Jasper, On Sun, Aug 9, 2015 at 7:19 PM, Jasper St. Pierre jstpie...@mecheye.net wrote: The desktop is not a window. It could be in some desktop environments, but is not always. In fact, in some desktop environments,

Re: Desktop as transient window

2015-08-10 Thread Paul Davis
On Mon, Aug 10, 2015 at 12:42 PM, Paul Davis p...@linuxaudiosystems.com wrote: On Mon, Aug 10, 2015 at 12:40 PM, Igor Korot ikoro...@gmail.com wrote: IIUC, in this specific case I should create the main frame, hide it and then set the parent for my options dialog to be this main frame. you

Re: Desktop as transient window

2015-08-10 Thread Paul Davis
On Mon, Aug 10, 2015 at 12:40 PM, Igor Korot ikoro...@gmail.com wrote: IIUC, in this specific case I should create the main frame, hide it and then set the parent for my options dialog to be this main frame. you do not need to set the parent, and in almost all cases you should not set the

Re: WHere is the icons

2015-08-10 Thread Stefan Salewski
On Mon, 2015-08-10 at 12:28 -0400, Igor Korot wrote: But then how do I set the label for such button? It looks like this function can be used for bitmap buttons only (no labels). Of course you can continue using the deprecated stock item, as long as that still works... My impression is, that

Re: Desktop as transient window

2015-08-10 Thread Jasper St. Pierre
The important thing is that we can tie a dialog back to context for the user -- we really want it on DEs like GNOME, and I've heard that KDE wants to get rid of transient-less dialogs as well, since they can just randomly show up to the user. When it's attached to a transient, then we raise the

Re: Desktop as transient window

2015-08-10 Thread Paul Davis
On Mon, Aug 10, 2015 at 12:57 PM, Jasper St. Pierre jstpie...@mecheye.net wrote: Hi Paul, In recent GTK+ versions, GtkDialog emits a warning when it is mapped without a parent, saying that it is discouraged. See https://git.gnome.org/browse/gtk+/tree/gtk/gtkdialog.c#n776 I should my

Re: Desktop as transient window

2015-08-10 Thread Jasper St. Pierre
Hi Paul, In recent GTK+ versions, GtkDialog emits a warning when it is mapped without a parent, saying that it is discouraged. See https://git.gnome.org/browse/gtk+/tree/gtk/gtkdialog.c#n776 On Mon, Aug 10, 2015 at 9:43 AM, Paul Davis p...@linuxaudiosystems.com wrote: On Mon, Aug 10, 2015 at

Re: GtkFrame has no frame border drawn?

2015-08-10 Thread Chris Vine
On Mon, 10 Aug 2015 15:05:30 +0100 Emmanuele Bassi eba...@gmail.com wrote: Hi; On 10 August 2015 at 14:51, Richard Shann rich...@rshann.plus.com wrote: Having invested effort in this it is exasperating to discover that GTK+ chooses a default theme that cripples one of the widgets - by

Re: Desktop as transient window

2015-08-10 Thread richard boaz
hi, i think this is a case when the warning, (which can be ignored), is meant for the developer, and not the end-user. i would trap the error, ignore it, and definitely not forward to the end-user; following the dictum avoid confusing them as much as possible... richard On Mon, Aug 10, 2015 at

Re: Desktop as transient window

2015-08-10 Thread Jasper St. Pierre
You can either ignore the warning, or simply use a window that isn't marked as a dialog as that first window. On Mon, Aug 10, 2015 at 9:31 AM, Igor Korot ikoro...@gmail.com wrote: Jasper, On Sun, Aug 9, 2015 at 7:19 PM, Jasper St. Pierre jstpie...@mecheye.net wrote: The desktop is not a

Re: Another documentation inconsistency

2015-08-10 Thread Emmanuele Bassi
Hi; On 8 August 2015 at 05:29, Igor Korot ikoro...@gmail.com wrote: Hi, ALL, The documentation states: [quote] Adds an activatable widget to the action area of a GtkDialog, connecting a signal handler that will emit the “response” signal on the dialog when the widget is activated. The

Re: WHere is the icons

2015-08-10 Thread Igor Korot
Hi, On Mon, Aug 10, 2015 at 1:54 AM, Fan, Chun-wei (范君維) fanc...@yahoo.com.tw wrote: Hi Igor, Igor Korot 於 2015/8/10 下午 01:28 寫道: So my question is: are the icons for GTK+3 in a different package that is not installed by default. You will need to get the adwaita-icon-theme package and

Re: WHere is the icons

2015-08-10 Thread Stefan Salewski
On Mon, 2015-08-10 at 01:28 -0400, Igor Korot wrote: Hi, I'm trying to run the modified GTK+3 application. Sorry, no idea what the modified GTK+3 application is... I have KDE4 as my WM and trying to run the application I see that my button does not have a stock images. However my app

Re: gtk-3.16: GtkStackSideBar GtkStack - Change page from code (No user interaction)

2015-08-10 Thread Alfredo Pons
Hi Ben, Thank you. This works for me. I attach two examples (gtk gtkmm) with a button that do this. 2015-07-30 16:13 GMT+02:00 Ben iofel...@gmail.com: You can use gtk_stack_set_visible_child() https://developer.gnome.org/gtk3/stable/GtkStack.html#gtk-stack-set-vis ible-child On Wed,

Re: gtk-3.16: GtkStackSideBar GtkStack - Change page from code (No user interaction)

2015-08-10 Thread Ben
You can use gtk_stack_set_visible_child() https://developer.gnome.org/gtk3/stable/GtkStack.html#gtk-stack-set-vis ible-child On Wed, 2015-07-29 at 19:43 +0200, Alfredo Pons wrote: The transtions between GtkStacks are very beautifuls. Can I change pages from the source code without user

Re: [gnome-desktop-testing] enchant and gtk

2015-08-10 Thread Vadim Rutkovsky
Hey, On Sat, Aug 1, 2015 at 12:33 AM, James Stortz james.ryan.sto...@gmail.com wrote: When trying to build myself, make freezes at Scanning dependencies of target WebCore Any help would be appreciated! On Continuous we often rebuild WebKit and it requires setting CFLAGS and CXXFLAGS [1] to

Re: Another documentation inconsistency

2015-08-10 Thread Igor Korot
Emmanuele, On Mon, Aug 10, 2015 at 4:11 AM, Emmanuele Bassi eba...@gmail.com wrote: Hi; On 8 August 2015 at 05:29, Igor Korot ikoro...@gmail.com wrote: Hi, ALL, The documentation states: [quote] Adds an activatable widget to the action area of a GtkDialog, connecting a signal handler

Re: GtkFrame has no frame border drawn?

2015-08-10 Thread Chris Vine
On Mon, 10 Aug 2015 09:05:50 +0100 Emmanuele Bassi eba...@gmail.com wrote: Hi; the theme is responsible for drawing the frame. The old Windows theme engine shows a frame; the default GTK+ theme (Adwaita) does not. The original Adwaita theme did not show frames. More recent versions (for

Re: GtkFrame has no frame border drawn?

2015-08-10 Thread Emmanuele Bassi
Hi; On 10 August 2015 at 12:11, Chris Vine ch...@cvine.freeserve.co.uk wrote: On Mon, 10 Aug 2015 09:05:50 +0100 Emmanuele Bassi eba...@gmail.com wrote: Hi; the theme is responsible for drawing the frame. The old Windows theme engine shows a frame; the default GTK+ theme (Adwaita) does not.

Re: GtkFrame has no frame border drawn?

2015-08-10 Thread Richard Shann
On Mon, 2015-08-10 at 09:05 +0100, Emmanuele Bassi wrote: Hi; the theme is responsible for drawing the frame. The old Windows theme engine shows a frame; the default GTK+ theme (Adwaita) does not. Thank you for explaining the problem. As a developer of a free software program using GTK+ I

Re: GtkFrame has no frame border drawn?

2015-08-10 Thread Emmanuele Bassi
Hi; On 10 August 2015 at 14:51, Richard Shann rich...@rshann.plus.com wrote: Having invested effort in this it is exasperating to discover that GTK+ chooses a default theme that cripples one of the widgets - by failing to draw a frame around the contents the user can no longer see clearly