Re: What to use on GTK+3

2015-08-09 Thread Thiago Bellini Ribeiro
On Sun, Aug 9, 2015 at 1:46 AM Daniel Kasak wrote: > No no no. Everybody is wrong. What we need is: > > [ Actually, now that I come to think about it, this is not the action > I would like to take at this time. Thankyou all the same] > [ This is precisely the action that I require, and I thank yo

Re: What to use on GTK+3

2015-08-09 Thread Igor Korot
Hi, On Sun, Aug 9, 2015 at 8:00 AM, Thiago Bellini Ribeiro wrote: > On Sun, Aug 9, 2015 at 1:46 AM Daniel Kasak wrote: >> >> No no no. Everybody is wrong. What we need is: >> >> [ Actually, now that I come to think about it, this is not the action >> I would like to take at this time. Thankyou a

Re: Another documentation inconsistency

2015-08-09 Thread Daniel Espinosa
May is better if you file a bug about your issue. Then developers could know. track and fix your issues. El ago. 7, 2015 11:29 PM, "Igor Korot" escribió: > Hi, ALL, > > The documentation states: > > [quote] > Adds an activatable widget to the action area of a GtkDialog, > connecting a signal hand

Re: What to use on GTK+3

2015-08-09 Thread Thiago Bellini Ribeiro
On Sun, Aug 9, 2015 at 10:09 AM Igor Korot wrote: > Hi, > > On Sun, Aug 9, 2015 at 8:00 AM, Thiago Bellini Ribeiro > wrote: > > On Sun, Aug 9, 2015 at 1:46 AM Daniel Kasak > wrote: > >> > >> No no no. Everybody is wrong. What we need is: > >> > >> [ Actually, now that I come to think about it,

Re: What to use on GTK+3

2015-08-09 Thread Igor Korot
Hi, On Sun, Aug 9, 2015 at 10:33 AM, Thiago Bellini Ribeiro wrote: > On Sun, Aug 9, 2015 at 10:09 AM Igor Korot wrote: >> >> Hi, >> >> On Sun, Aug 9, 2015 at 8:00 AM, Thiago Bellini Ribeiro >> wrote: >> > On Sun, Aug 9, 2015 at 1:46 AM Daniel Kasak >> > wrote: >> >> >> >> No no no. Everybody i

Re: What to use on GTK+3

2015-08-09 Thread Florian Pelz
On 08/09/2015 05:42 PM, Igor Korot wrote: > I just took a look at those links. > Now nowhere in [1] and [2] I found an actual stats of how many people > did/did not read the > dialog messages prior to clicking the response button. There was > absolutely _no statistics_. > While [3] does show some s

Desktop as transient window

2015-08-09 Thread Igor Korot
Hi, ALL, There is a function in GTK - gtk_window_set_transient_for() - which sets the parent window for the current one. Now the question I have is: is it possible to set the parent to become a Desktop? Let's say I have an application class and I want to make sure that I already have a TLW to pas

Re: Desktop as transient window

2015-08-09 Thread Jasper St. Pierre
The default transient window is NULL, so you don't have to do anything. On Sun, Aug 9, 2015 at 11:59 AM, Igor Korot wrote: > Hi, ALL, > There is a function in GTK - gtk_window_set_transient_for() - which > sets the parent > window for the current one. > > Now the question I have is: is it possibl

Re: What to use on GTK+3

2015-08-09 Thread Tristan Van Berkom
On Sun, Aug 9, 2015 at 10:09 PM, Igor Korot wrote: Hi, On Sun, Aug 9, 2015 at 8:00 AM, Thiago Bellini Ribeiro wrote: On Sun, Aug 9, 2015 at 1:46 AM Daniel Kasak wrote: No no no. Everybody is wrong. What we need is: [ Actually, now that I come to think about it, this is not the action

gtk_check_version() confusion

2015-08-09 Thread Igor Korot
Hi, ALL, Documentation says: [quote] Returns NULL if the GTK+ library is compatible with the given version, or a string describing the version mismatch. The returned string is owned by GTK+ and should not be modified or freed. [/quote] So NULL is returned if my GTK+ version is >= than the suppl

Re: Desktop as transient window

2015-08-09 Thread Igor Korot
Hi, Jasper, On Sun, Aug 9, 2015 at 3:00 PM, Jasper St. Pierre wrote: > The default transient window is NULL, so you don't have to do anything. OK, I did call "gtk_window_set_transient_for( dlg, NULL );", but still got the warning GtkDialog mapped without a transient parent: This is discouraged.

Re: Desktop as transient window

2015-08-09 Thread Jasper St. Pierre
As mentioned, dialogs are designed to be parented to a specific window. As the warning says, this is discouraged (and might cause things like Wayland not to work correctly). You can ignore the warning if you want. On Sun, Aug 9, 2015 at 3:34 PM, Igor Korot wrote: > Hi, Jasper, > > On Sun, Aug 9,

Re: Desktop as transient window

2015-08-09 Thread Igor Korot
Jasper, On Sun, Aug 9, 2015 at 6:39 PM, Jasper St. Pierre wrote: > As mentioned, dialogs are designed to be parented to a specific > window. As the warning says, this is discouraged (and might cause > things like Wayland not to work correctly). You can ignore the warning > if you want. Well, "De

Re: Desktop as transient window

2015-08-09 Thread Jasper St. Pierre
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 protocol to fetch the desktop window if it exists, either. The reason that unparented dialogs

Re: gtk_check_version() confusion

2015-08-09 Thread Victor Aurélio Santos
Why do not you test ? I'm running 3.16.5, with following code: const char *lower; const char *equal; const char *higher; lower = gtk_check_version(3, 16, 4); equal = gtk_check_version(3, 16, 5); higher = gtk_check_version(3, 16, 6); printf("The lower is: %s\n", lower)

WHere is the icons

2015-08-09 Thread Igor Korot
Hi, I'm trying to run the modified GTK+3 application. 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 compiled against GTK+2 does have it. So my question is: are the icons for GTK+3 in a different package that is not install

Re: WHere is the icons

2015-08-09 Thread 范君維
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 install it... Plus, you will need the librsvg package installed (the SVG GDK-Pixbuf loader, t