GtkColorChooser questions

2016-04-14 Thread rbd
Hi all, I am trying to use the GtkColorChooserDialog (3.14 under CentOS7 and also 3.18 under MacOS/MacPorts) and have two questions: (1) My app will potentially do a substantial amount of custom color creation. Every time I make a new custom color with GtkColorChooserDialog, the next time

Gtk+ newb: Some basic infos

2016-04-14 Thread Peter Wiehe
Hello, I want to program C++ applications with a GUI, but I am new to Gtk+ and gtkmm programming. 1.) What are the really important differences between Gtk+ 2 and 3? 2.) Can you recommend a really good paper book? (There seem to be a ton of Gtk+ 2 books but not a single one about Gtk+ 3.)

Re: Uniform look-and-feel on GNU/Linux

2016-04-14 Thread Thomas DEBESSE
> One of the accusations made against GNU/Linux is that there is no > established "native" look-and-feel on it That accusation comes from GNU/Linux users themselves, because they know how it is well done when you have only GTK+ apps or Qt apps etc.That accusation comes from people who just dream

Re[2]: argv

2016-04-14 Thread Andrew Robinson
Hi John, The C code for main(int argc, char *argv[]) is standardized and can only mean one thing on a 32-bit version of any program: argc is an immediate value of 4 bytes length and argv is a 4-byte pointer to an array of 32-pointers to zero-terminated strings. Then when main is called, it will

Re: Uniform look-and-feel on GNU/Linux

2016-04-14 Thread Rena
> On Wed, Apr 13, 2016 at 4:58 PM, Florian Pelz wrote: >> >> On 04/08/2016 10:37 AM, Fabio Pesari wrote: >> > One of the accusations made against GNU/Linux is that there is no >> > established "native" look-and-feel on it - GTK programs look different >> > from Qt

Re: Gtk+3 application Internationalization

2016-04-14 Thread Emmanuele Bassi
Hi; On 14 April 2016 at 17:09, Dave Howorth wrote: >>> I don't know, if I understand it well, that I must translate all >>> strings in my application (copy from Stock Items) one more time to all >>> languages just like Gtk if I want to use them ? >> >> >> It's hardly

Re: Gtk+3 application Internationalization

2016-04-14 Thread Dave Howorth
On 2016-04-14 16:27, Emmanuele Bassi wrote: On 14 April 2016 at 08:30, Ondrej Tuma wrote: because Stock Items are deprecated from Gtk+3.10, what can I use, if I want to use gtk locales in my Application. Use your own (localized) string. Better yet, use readable

Re: Gtk+3 application Internationalization

2016-04-14 Thread Emmanuele Bassi
Hi; On 14 April 2016 at 16:58, Murray Cumming wrote: > On Thu, 2016-04-14 at 16:27 +0100, Emmanuele Bassi wrote: >> > I don't know, if I understand it well, that I must translate all >> > strings in my application (copy from Stock Items) one more time to >> all >> >

Re: Gtk+3 application Internationalization

2016-04-14 Thread Murray Cumming
On Thu, 2016-04-14 at 16:27 +0100, Emmanuele Bassi wrote: > > I don't know, if I understand it well, that I must translate all > > strings in my application (copy from Stock Items) one more time to > all > > languages just like Gtk if I want to use them ? > > It's hardly going to be an issue.

Re: Gtk+3 application Internationalization

2016-04-14 Thread Emmanuele Bassi
Hi; On 14 April 2016 at 08:30, Ondrej Tuma wrote: > because Stock Items are deprecated from Gtk+3.10, what can I use, if I > want to use gtk locales in my Application. Use your own (localized) string. Better yet, use readable strings that rely on the context of the

Re: Gtk+3 application Internationalization

2016-04-14 Thread John Coppens
On Thu, 14 Apr 2016 09:30:10 +0200 Ondrej Tuma wrote: > Where is benefits of this, sorry, stupid decision. When i use Stock > Items, i have my application base translated to all languages which Gtk > have. How can i do that without Stock Items ? I hope, that I had missed >

Re: argv

2016-04-14 Thread John Coppens
On Sat, 9 Apr 2016 18:39:49 -0700 "Andrew Robinson" wrote: > The problem is that [ebp + 12] and [ebp + 8] point to nonsense. I ran a > debugger and looked at the stack, and there is nothing else on the stack > except for ebp, rtn addr, and these two parameters. I even tried

Re: gtk3(mm) under Os X

2016-04-14 Thread Paul Davis
On Thu, Apr 14, 2016 at 1:31 AM, C Gosch wrote: > Hi List, > > I started using gtk3 (gtkmm-3.0) on OS X, coming from Linux. > I installed everything using homebrew. I noticed that the windows of a > very old test program that I wrote are having the wrong spacings between

Re: GTK controls Bug

2016-04-14 Thread Daniel Espinosa
Please file a bug at bugzilla.gnome.org El abr. 14, 2016 2:52 AM, "田红" escribió: > Hi: > > Hi: > ... Hello I am from Chinese developers when I was with the use of the > volume control when rhythmbox control software crash occurred by viewing > the source code found

Re: Uniform look-and-feel on GNU/Linux

2016-04-14 Thread Daniel Espinosa
I know about Freedesktop limitations, but an specification could help, followed or not. I sed it, because it's a place where common specifications are hosted, as a neutral place. Is not about to write a CSS for anyone to use, but a description for basic behavior and images guidelines. Each

Re: Uniform look-and-feel on GNU/Linux

2016-04-14 Thread Emmanuele Bassi
Hi; On 13 April 2016 at 22:45, Daniel Espinosa wrote: > But what about to promot a Standard Look , say in Freedesktop. It can > suggest how graphical objects should look, no matter of toolkit? You are vastly overestimating what Freedesktop.org does. Fd.o is a place to host

Re: Uniform look-and-feel on GNU/Linux

2016-04-14 Thread Daniel Espinosa
Qt -> Gtk this is OK, but also GtK -> Qt, all using same theme, a Standard Theme. This should be hosted, in Freedesktop, with graphical representation of how a button, for example, should be drawn side, color effects, may no animations may be, but its different state. With this, all toolkits can

Re: gtk3(mm) under Os X

2016-04-14 Thread Andrea Giammarchi
Out of curiosity, in macports ML they said GTK3 works best on XQuartz and here you're saying the best way is to build against quartz, which is also what homebrew does ...why do they say gtk3 on quartz isn't good? What am I missing? Anyway, I've used GJS via brew and adwaita-icon-theme formulas

GTK controls Bug

2016-04-14 Thread 田红
Hi: Hi: ... Hello I am from Chinese developers when I was with the use of the volume control when rhythmbox control software crash occurred by viewing the source code found rhythmbox is your official GTK in gtk_volume_button_new () do the following: (1) Open rhythmbox tap the volume

Gtk+3 application Internationalization

2016-04-14 Thread Ondrej Tuma
Hi, because Stock Items are deprecated from Gtk+3.10, what can I use, if I want to use gtk locales in my Application. I don't know, if I understand it well, that I must translate all strings in my application (copy from Stock Items) one more time to all languages just like Gtk if I want to use

Re: Uniform look-and-feel on GNU/Linux

2016-04-14 Thread Florian Pelz
On 04/13/2016 11:45 PM, Daniel Espinosa wrote: > But what about to promot a Standard Look , say in Freedesktop. It can > suggest how graphical objects should look, no matter of toolkit? I don't understand your proposal. There are people who try to make Qt use GTK+ themes [1][2]. This is probably