Re: [gtk-osx-users] GTK3 examples displayed on Catalina.
- From: John Ralls <jralls ceridwen us>
- To: Pascal <p p14 orange fr>
- Cc: gtk-osx-users-list gnome org
- Subject: Re: [gtk-osx-users] GTK3 examples displayed on Catalina.
- Date: Sat, 25 Jan 2020 10:46:14 -0800
On Jan 25, 2020, at 2:08 AM, Pascal <p p14 orange fr> wrote:
Hello,
I've installed gtK3 on Catalina with jhbuild from GTK-OSX (see my previous post).
In order to get a quick test, I took the example "opening files" from:
https://developer.gnome.org/gtk3/stable/ch01s04.html#id-1.2.3.12.7
This example is on GitLab:
https://gitlab.gnome.org/GNOME/gtk/tree/gtk-3-22/examples/application3
I built it:
% jhbuild shell
% cd ... # application3 folder
% make -f Makefile.example
...
And ran it:
% ./exampleapp
But the displayed window is empty instead of looking like the one displayed in the tutorial.
Is it the same on your installed gtk3?
The gtk3-demo in $prefix/bin seems to work properly.
What is wrong?
You have to pass one or more files for it to open on the command line, e.g.
$PREFIX/../src/gtk+-3.24.10/examples/application3/exampleapp ~/foo.txt ~/bar.txt
Where did Makefile.example come from and why did you find it necessary to build it by hand? It should have
been built along with everything else.
Regards,
John Ralls
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]