Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.os.linux.development.apps > #799
| Path | csiph.com!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail |
|---|---|
| From | Joe Pfeiffer <pfeiffer@cs.nmsu.edu> |
| Newsgroups | comp.os.linux.development.apps |
| Subject | Re: Beyond gtk_init_check() - how do I tell if GTK is installed? |
| Date | Thu, 01 Oct 2015 19:27:07 -0600 |
| Organization | A noiseless patient Spider |
| Lines | 22 |
| Message-ID | <1b1tde12ms.fsf@pfeifferfamily.net> (permalink) |
| References | <muikms0poe@news3.newsguy.com> <wwv8u7nvvn1.fsf@l1AntVDjLrnP7Td3DQJ8ynzIq3lJMueXf87AxnpFoA.invalid> <mujsb001ggn@news3.newsguy.com> <wwv1tdeigg1.fsf@l1AntVDjLrnP7Td3DQJ8ynzIq3lJMueXf87AxnpFoA.invalid> <mukg8b019k@news4.newsguy.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=utf-8 |
| Content-Transfer-Encoding | 8bit |
| Injection-Info | mx02.eternal-september.org; posting-host="2b391fad2c409509b87cf3ff1ad20681"; logging-data="5737"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19GveGFKA99VCvG2SGr+8g1hpcZvMB6+a0=" |
| User-Agent | Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
| Cancel-Lock | sha1:nwUVXIt60JB7Qn8EqG3Hsgk3F/A= sha1:pXG1JVY7oBdssP3KesOB50YaL88= |
| Xref | csiph.com comp.os.linux.development.apps:799 |
Show key headers only | View raw
Charlie Gibbs <cgibbs@kltpzyxm.invalid> writes: > On 2015-10-01, Richard Kettlewell <rjk@greenend.org.uk> wrote: > >> It you want a GTK+ interface and a non-GTK+ interface, I’d recommend >> providing two executables. > > Yech. Too much hassle - first for me to distribute, second for users > to try to figure out. My philosophy is to write programs that are > aware of their environment and make the best of it; the less you make > users fiddle with settings, the fewer trouble calls you get. I'd like > to have the program run, although maybe put up a message saying, "If > you'd like it to be _really_ pretty, contact your local IT person and > have him install GTK+-3.0 for you." Unless there's an easy way to > automate that, and the user has Internet access... Trying to detect whether gtk is available and then loading it yourself at runtime is going to be a *lot* more work than the scenario you're describing above. If I was dead-set on running without gtk being available on the system, I'd include a statically linked gtk.
Back to comp.os.linux.development.apps | Previous | Next — Previous in thread | Next in thread | Find similar
Beyond gtk_init_check() - how do I tell if GTK is installed? Charlie Gibbs <cgibbs@kltpzyxm.invalid> - 2015-10-01 06:43 +0000
Re: Beyond gtk_init_check() - how do I tell if GTK is installed? Richard Kettlewell <rjk@greenend.org.uk> - 2015-10-01 09:30 +0100
Re: Beyond gtk_init_check() - how do I tell if GTK is installed? Charlie Gibbs <cgibbs@kltpzyxm.invalid> - 2015-10-01 18:00 +0000
Re: Beyond gtk_init_check() - how do I tell if GTK is installed? Richard Kettlewell <rjk@greenend.org.uk> - 2015-10-01 19:36 +0100
Re: Beyond gtk_init_check() - how do I tell if GTK is installed? Charlie Gibbs <cgibbs@kltpzyxm.invalid> - 2015-10-01 23:39 +0000
Re: Beyond gtk_init_check() - how do I tell if GTK is installed? Joe Pfeiffer <pfeiffer@cs.nmsu.edu> - 2015-10-01 19:27 -0600
Re: Beyond gtk_init_check() - how do I tell if GTK is installed? Charlie Gibbs <cgibbs@kltpzyxm.invalid> - 2015-10-02 16:50 +0000
Re: Beyond gtk_init_check() - how do I tell if GTK is installed? Richard Kettlewell <rjk@greenend.org.uk> - 2015-10-02 09:27 +0100
Re: Beyond gtk_init_check() - how do I tell if GTK is installed? Charlie Gibbs <cgibbs@kltpzyxm.invalid> - 2015-10-02 16:50 +0000
Re: Beyond gtk_init_check() - how do I tell if GTK is installed? Jerry Peters <jerry@example.invalid> - 2015-10-01 20:12 +0000
Re: Beyond gtk_init_check() - how do I tell if GTK is installed? Charlie Gibbs <cgibbs@kltpzyxm.invalid> - 2015-10-01 23:39 +0000
Re: Beyond gtk_init_check() - how do I tell if GTK is installed? Jasen Betts <jasen@xnet.co.nz> - 2015-10-02 19:52 +0000
Re: Beyond gtk_init_check() - how do I tell if GTK is installed? Charlie Gibbs <cgibbs@kltpzyxm.invalid> - 2015-10-02 20:13 +0000
Re: Beyond gtk_init_check() - how do I tell if GTK is installed? Jerry Peters <jerry@example.invalid> - 2015-10-02 20:08 +0000
Re: Beyond gtk_init_check() - how do I tell if GTK is installed? Jasen Betts <jasen@xnet.co.nz> - 2015-10-02 19:38 +0000
csiph-web