[Linux] Gtk3 + GtkSourceView Demo

Share your advanced PureBasic knowledge/code with the community.
remi_meier
Enthusiast
Enthusiast
Posts: 468
Joined: Sat Dec 20, 2003 6:19 pm
Location: Switzerland

[Linux] Gtk3 + GtkSourceView Demo

Post by remi_meier »

Here is a small demo featuring Gtk3 and the
GtkSourceView widget which is at the base of
many Linux IDEs.
Also: Gtk3, GObject, GIO, Pango and GtkSource
includes built using this.

Here it is:
http://remi.secretly.de/downloads/gtk3demo.tar.bz2

Cheers
Remi
Athlon64 3700+, 1024MB Ram, Radeon X1600
User avatar
idle
Always Here
Always Here
Posts: 5915
Joined: Fri Sep 21, 2007 5:52 am
Location: New Zealand

Re: [Linux] Gtk3 + GtkSourceView Demo

Post by idle »

thanks
Windows 11, Manjaro, Raspberry Pi OS
Image
Zach
Addict
Addict
Posts: 1676
Joined: Sun Dec 12, 2010 12:36 am
Location: Somewhere in the midwest
Contact:

Re: [Linux] Gtk3 + GtkSourceView Demo

Post by Zach »

Can this be used on Windows at all? Or would it require major changes? Is there a Windows version available anywhere?
uwekel
Enthusiast
Enthusiast
Posts: 740
Joined: Sat Dec 03, 2011 5:54 pm
Location: Oldenburg (Germany)

Re: [Linux] Gtk3 + GtkSourceView Demo

Post by uwekel »

As far as i know, there is no Windows installer for the GTK3 library. This must be installed to run applications using the GTK toolkit.
PB 5.70 LTS (x64) - Debian Testing, Gnome 3.30.2
Zach
Addict
Addict
Posts: 1676
Joined: Sun Dec 12, 2010 12:36 am
Location: Somewhere in the midwest
Contact:

Re: [Linux] Gtk3 + GtkSourceView Demo

Post by Zach »

That's sucks. They seemed pretty good about it in the past..

Is GTK2 still in wide use on Linux ? (defaults for distro installs etc?) Cause I would probably be just as happy with that, if there was a wrapper for it. I just assumed 3 was the newest / best and 2 was deprecated or something :|
Poshu
Enthusiast
Enthusiast
Posts: 459
Joined: Tue Jan 25, 2005 7:01 pm
Location: Canada

Re: [Linux] Gtk3 + GtkSourceView Demo

Post by Poshu »

there is some GTK 3 build for windows and osX right there: http://www.tarnyko.net/en/?q=node/20.
If you manage to do something with it, let us know :D
Zach
Addict
Addict
Posts: 1676
Joined: Sun Dec 12, 2010 12:36 am
Location: Somewhere in the midwest
Contact:

Re: [Linux] Gtk3 + GtkSourceView Demo

Post by Zach »

That's interesting.. I have no idea what would need to be changed from the provided source above, but I may try playing with it at some point.

I've never built a GTK app before, much less on Windows, in PB. I also have little experience with wrappers so this may end in a complete an utter failure on my part 8)
Post Reply