Re: GTK+3 win32/64 build environment

2013-04-10 Thread Paul Davis
On Wed, Apr 10, 2013 at 1:39 PM, Marc-André Lureau marcandre.lur...@gmail.com wrote: On Wed, Apr 10, 2013 at 7:18 PM, Paul Davis p...@linuxaudiosystems.comwrote: to be relocatable, your app should *fall back* on -DPKGDATADIR but should first try checking for an environment variable

Re: GTK+3 win32/64 build environment

2013-04-10 Thread Paul Davis
On Wed, Apr 10, 2013 at 2:19 PM, Marc-André Lureau marcandre.lur...@gmail.com wrote: On Wed, Apr 10, 2013 at 8:08 PM, Paul Davis p...@linuxaudiosystems.comwrote: i assume you mean as the fallback? You said, should first try checking for an environment variable and then a path relative

Re: GTK+3 win32/64 build environment

2013-04-10 Thread Paul Davis
On Wed, Apr 10, 2013 at 2:23 PM, Paul Davis p...@linuxaudiosystems.comwrote: On Wed, Apr 10, 2013 at 2:19 PM, Marc-André Lureau marcandre.lur...@gmail.com wrote: On Wed, Apr 10, 2013 at 8:08 PM, Paul Davis p...@linuxaudiosystems.comwrote: i assume you mean as the fallback? You said

Re: Unordered container of Glib::ustring

2013-04-03 Thread Paul Davis
On Wed, Apr 3, 2013 at 12:11 PM, אנטולי קרסנר tomback...@gmail.com wrote: Hi, I'm writing an application in C++ with gtkmm. I want to have an unordered container, std::unordered_map, in which the key type is Glib::ustring. It means I need choose one of these options: 1. Make the map

Re: Unordered container of Glib::ustring

2013-04-03 Thread Paul Davis
On Wed, Apr 3, 2013 at 12:23 PM, אנטולי קרסנר tomback...@gmail.com wrote: Why? Isn't it natural to wish to have a map containing user-defined strings, which may be in any language? that describes std::string too. all that Glib::ustring gives you are UTF-8-aware iterators. if you never

Re: GTK+ 2.XX sources

2013-03-24 Thread Paul Davis
On Sun, Mar 24, 2013 at 8:39 AM, John Emmas john...@tiscali.co.uk wrote: If I'm working on an application which still uses GTK+ version 2, is it still possible to obtain the sources (using subversion or git) or is version 2 only available from tarballs now? git clone

Re: Is GTK+ a cross-platform toolkit ?

2013-03-04 Thread Paul Davis
On Mon, Mar 4, 2013 at 6:56 PM, tarn...@tarnyko.net wrote: Hi folks, The subject of this mail is taken from the corresponding thread on gtk-list. The thread itself (a few days old) can be read here :

Re: gtk-quartz status

2013-03-02 Thread Paul Davis
On Sat, Mar 2, 2013 at 12:08 PM, Allin Cottrell cottr...@wfu.edu wrote: Hello all, I recently did a native quartz build of the GTK stack on OS X 10.6.8, using gtk+-2.24.16 along with latest-stable versions of GLib and all other dependencies (including FreeType 2.4.11 and fontconfig 2.10.2).

Re: no fonts displayed in gtk-demo on Mac PPC OSX 10.4

2013-03-02 Thread Paul Davis
On Sat, Mar 2, 2013 at 6:16 AM, Dr. Thomas Tensi t.te...@gmx.de wrote: Dear all, I have installed the current version of gtk2 via Macports on a PowerPC Mac mini with Mac OSX 10.4. This is a Quartz installation without any underlying X11. When I start gtk-demo, the application comes up as

Re: EXTERNAL: Windows Installer for Gtk+3.6.2 and gtkmm-3.6.0

2013-02-17 Thread Paul Davis
On Sat, Feb 16, 2013 at 7:27 AM, Bálint Réczey bal...@balintreczey.huwrote: Unfortunately our efforts are severely impacted by the lack of official GTK+ installers for Windows and OS X and this uncertainty was a major reason which brought the Qt port alive. I'm not speaking as a

Re: EXTERNAL: Windows Installer for Gtk+3.6.2 and gtkmm-3.6.0

2013-02-17 Thread Paul Davis
On Sun, Feb 17, 2013 at 1:44 PM, Bálint Réczey bal...@balintreczey.huwrote: Hi Paul, 2013/2/17 Paul Davis p...@linuxaudiosystems.com: On Sat, Feb 16, 2013 at 7:27 AM, Bálint Réczey bal...@balintreczey.hu wrote: Unfortunately our efforts are severely impacted by the lack

Re: Multithreaded gtk apps

2013-01-13 Thread Paul Davis
just stop doing all of this. ensure that there is only 1 thread making calls to GTK/GDK/X. if other threads need to get graphical work done, use g_idle_add() or its cousins. no locks, no questions about parallelism for any GUI stuff. really, this is what most of us are doing these days. On

Re: recursiveness of Glib::Mutex::Lock

2013-01-12 Thread Paul Davis
On Sat, Jan 12, 2013 at 12:13 PM, sam tygier samtyg...@yahoo.co.uk wrote: Hi, I am hitting a bug in rawtherapee ( http://code.google.com/p/rawtherapee/issues/detail?id=1675 ) which appears to stem from a difference between the behaviour of Glib::Mutex::Lock() on linux and windows. The

Re: supporting all X (not only gtk+) applications in browser

2013-01-10 Thread Paul Davis
On Thu, Jan 10, 2013 at 1:55 AM, aix64 hossein.ai...@gmail.com wrote: I can't clearly tell what specifically you're asking, whether the network or the client-server interaction for fetching the data. Please be more specific, AND: reply to the list (gtk-devel-list@gnome.org) not to me :-D

Re: Bug 687752 - work with theme authors

2012-11-30 Thread Paul Davis
On 11/11/2012 10:17 AM, Benjamin Otte wrote: GTK 3 at this point really is just the GNOME toolkit. There is absolutely zero involvement from anyone else. Neither XFCE nor LXDE nor Windows or OS X developers take any interest in pushing the toolkit forward - apart from occasional bug

Re: Internationalization of GLib/GTK+ applications

2012-10-09 Thread Paul Davis
On Tue, Oct 9, 2012 at 11:09 AM, Alejandro T. Colombini atcolomb...@gmail.com wrote: Hi, I've spent the last days adding i18n to a project I'm working on. I've been looking for some manual or reference that could help me with that task and I've found this very well written and explained

Re: Clarification of GTK/GDK locking pre GTK 4.0

2012-09-14 Thread Paul Davis
On Fri, Sep 14, 2012 at 11:11 AM, Emmanuele Bassi eba...@gmail.com wrote: [ a lot of very confusing stuff ... ] are you saying that g_idle_add() is not thread-safe? because if it IS threadsafe, and the rest of program either (a) only uses g_idle_add() to get work done in the main

Re: runtime accel changes

2012-09-13 Thread Paul Davis
On Thu, Sep 13, 2012 at 9:20 AM, Ryan Lortie de...@desrt.ca wrote: hi, Thanks for the feedback. On 12-09-12 05:15 PM, Paul Davis wrote: On Wed, Sep 12, 2012 at 5:07 PM, Michael Natterer mi...@gimp.org wrote: I object. Do you really want to disable shortcut editors in complex

Re: runtime accel changes

2012-09-13 Thread Paul Davis
On Thu, Sep 13, 2012 at 4:43 PM, Juan Pablo Ugarte juanpablouga...@gmail.com wrote: On Thu, 2012-09-13 at 06:22 +, Tristan Van Berkom wrote: From what I see... all one should *need* to do is specify the accelerator keys desired to trigger a given GtkAction and add that action to an

Re: Clarification of GTK/GDK locking pre GTK 4.0

2012-09-13 Thread Paul Davis
On Thu, Sep 13, 2012 at 11:55 AM, Yehouda Harpaz y...@lispworks.com wrote: We produce a programming environment for lisp that us GTK for gUI on have you read the discussion of this in the archives of gtk-devel? the thread is called deprecating gdk threads there was also a discussion of

Re: runtime accel changes

2012-09-12 Thread Paul Davis
On Wed, Sep 12, 2012 at 5:07 PM, Michael Natterer mi...@gimp.org wrote: On Wed, 2012-09-12 at 16:27 -0400, Ryan Lortie wrote: hi, I recently wrote a patch[1] to re-enable accel labels in GtkMenu generated from GMenuModel. They got lost in the shuffle during some related recent

Re: deprecating gdk threads

2012-08-08 Thread Paul Davis
On Mon, Aug 6, 2012 at 1:28 PM, Pavel Holejsovsky pavel.holejsov...@gmail.com wrote: [ ... ] Pavel, on re-reading Colin's bug report and then your original message, I realize that I was not paying attention. You were discussing object cleanup from GC in non-main-event-loop threads, not

Re: drawing on offscreen surface

2012-08-08 Thread Paul Davis
On Wed, Aug 8, 2012 at 7:53 AM, Prasanta Sadhukhan psadhuk...@gmail.comwrote: Hi, I am trying to draw something on offscreen surface and then trying to render it on primary window. I started with simple primitives like rectangle but it seems to not draw anything except a blank white window.

Re: deprecating gdk threads

2012-08-06 Thread Paul Davis
On Mon, Aug 6, 2012 at 11:08 AM, Pavel Holejsovsky pavel.holejsov...@gmail.com wrote: [ ... ] Sorry for not being clear. I wanted to say that previously, when higher language registered callback or signal, it didn't have to bother whether the callback or signal will be called with proper

Re: deprecating gdk threads

2012-08-06 Thread Paul Davis
On Mon, Aug 6, 2012 at 1:28 PM, Pavel Holejsovsky pavel.holejsov...@gmail.com wrote: On Mon, 06 Aug 2012 11:56:48 -0400, Paul Davis wrote: i don't believe that there are any examples in glib/gdk/gtk where a signal handler attached to a signal of a glib/gdk/gtk object will be executed

Re: deprecating gdk threads

2012-08-06 Thread Paul Davis
On Mon, Aug 6, 2012 at 3:54 PM, Stef Walter st...@gnome.org wrote: On 08/06/2012 05:56 PM, Paul Davis wrote: i don't believe that there are any examples in glib/gdk/gtk where a signal handler attached to a signal of a glib/gdk/gtk object will be executed in anything other than the main

Re: SIGABRT raised from gthread-posix.c

2012-08-06 Thread Paul Davis
On Mon, Aug 6, 2012 at 2:56 AM, SHOBHIT SRIVASTAVA shobhi...@samsung.comwrote: Hi I am getting a SIGABRT in my code which is raised from glib. The exact error message is as below *GLib (gthread-posix.c): Unexpected error from C library during 'pthread_setspecific': Invalid argument.

Re: next steps for touch support in GTK+

2012-08-02 Thread Paul Davis
On Thu, Aug 2, 2012 at 5:42 AM, Simon Schampijer si...@schampijer.dewrote: === 3. SpinButton === [ ... ] Another option is introducing a complete new widget targeted at touch usage (similar to the one in iOS Garageband) [4] which Carlos implemented already [5]. The issue is here the

Re: Hello, some of us still care about memory usage

2012-07-30 Thread Paul Davis
On Mon, Jul 30, 2012 at 6:42 PM, Sergei Steshenko sergst...@yahoo.comwrote: I.e. had I started today, I would have written my application in Qt + Qt-script + QML. had i started today, i would have used pygtk for the GUI. and if not that, then neither Qt nor GTK, but some bitmap-based

Re: Hello, some of us still care about memory usage

2012-07-29 Thread Paul Davis
On Sun, Jul 29, 2012 at 8:35 PM, John Lindgren john.lindg...@aol.comwrote: Might I suggest putting less time into making things look flashy, and more time into making them work well, if you are short on developers? CSS theming may be cool, but I would rather have a working GTK+ 3.x for

Re: Hello, some of us still care about memory usage

2012-07-29 Thread Paul Davis
On Sun, Jul 29, 2012 at 9:56 PM, Sergei Steshenko sergst...@yahoo.comwrote: Is then switching to Qt a viable/practical alternative ? IMO, this question has absolutely nothing to do with what I wrote earlier. In addition, it has been remarked before that this list is not an appropriate forum

Re: GTK Installaion : configure: error: Package requirements

2012-07-28 Thread Paul Davis
On Sat, Jul 28, 2012 at 2:59 PM, Stevean Raja Kumar stev...@stevean.inwrote: ** Hello All, I am new to linux and I wanted to try out the GUI development using GTK. There is no reason for you to be build GTK on a system that already has it packaged and ready for use. you system already has

Re: Glib for iOS

2012-07-17 Thread Paul Davis
On Tue, Jul 17, 2012 at 6:34 PM, Guetcho Guetchev getcho.getc...@gmail.comwrote: Hello guys, I am trying to build Glib for iOS. I have set up everything - the cross compiler, the toolchain, etc. The build process takes place on Mac OS 10.7.4 I am able to build Glib from the release tarball.

Re: Glib for iOS

2012-07-17 Thread Paul Davis
On Tue, Jul 17, 2012 at 6:49 PM, Hubert Figuière hfigui...@teaser.frwrote: On 17/07/12 03:46 PM, Paul Davis wrote: it can be very hard. there are two approaches. one is to build a pseudo/fake gtk-doc package for OS X, which does actually exist, but i can't tell you where to find it. google

Re: Gtk / Cairo Question

2012-07-12 Thread Paul Davis
On Thu, Jul 12, 2012 at 9:12 PM, Thomas Dineen tdin...@ix.netcom.comwrote: The code shown is cut from a GTK Scrolled window example and is based on gtk_dialog_new which from my experiments dose NOT allow Cairo drawing. all drawing in GTK is done with Cairo. you generally create a

Re: GtkApplication Thread Initialization

2012-07-06 Thread Paul Davis
/* Initialize threading in older libraries */ #if (!GLIB_CHECK_VERSION (2, 31, 0)) g_thread_init (NULL); #endif #if (!CLUTTER_CHECK_VERSION (1, 9, 0))' these are compile time checks ... seems unwise, no? ___ gtk-list mailing list

regression in gtk-2-24

2012-07-02 Thread Paul Davis
i've recently appended info to the following bug report about a regression in gtk-2-24 introduced by a commit from April. i don't know if there are any plans for a new gtk2 release, but this bug is relatively serious, since it makes the filechooser misbehave in many common cases.

Re: Xcode and gdkconfig.h

2012-06-26 Thread Paul Davis
On Tue, Jun 26, 2012 at 4:55 PM, S G sophiespinn...@gmail.com wrote: Hi, Despite all the activity on the web about this subject, I have not found how to get rid of this problem on my system. I downloaded and installed GTK+ a few days ago and it seems I got version 2.24. I am trying to

Re: How To Script .gtkrc-2.0?

2012-06-23 Thread Paul Davis
On Tue, Jun 12, 2012 at 12:11 AM, johny why johny...@gmail.com wrote: Can gtk_rc_parse_string or other functions on the page below be used to write to the gtkrc-2.0 file? Or only read? as already explained, read only. http://developer.gnome.org/gtk/stable/gtk-Resource-Files.html Is there

Re: How To Script .gtkrc-2.0?

2012-06-23 Thread Paul Davis
On Tue, Jun 12, 2012 at 1:48 AM, Johny Why johny...@gmail.com wrote: Why odd? How do other gtk theme editors do it? what other theme editors? if they exist, go read the source ... ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org

Re: How To Script .gtkrc-2.0?

2012-06-12 Thread Paul Davis
On Tue, Jun 12, 2012 at 1:48 AM, Johny Why johny...@gmail.com wrote: Why odd? How do other gtk theme editors do it? what other theme editors? if they exist, go read the source ... ___ gtk-devel-list mailing list gtk-devel-list@gnome.org

Re: How To Script .gtkrc-2.0?

2012-06-11 Thread Paul Davis
On Tue, Jun 12, 2012 at 12:11 AM, johny why johny...@gmail.com wrote: Can gtk_rc_parse_string or other functions on the page below be used to write to the gtkrc-2.0 file? Or only read? as already explained, read only. http://developer.gnome.org/gtk/stable/gtk-Resource-Files.html Is there

Re: future of development for the desktop

2012-06-11 Thread Paul Davis
On Mon, Jun 11, 2012 at 6:43 PM, Enrico Weigelt weig...@metux.de wrote: * Gour g...@atmarama.net wrote: Found it...it talks about gtk3 2x slower than gtk2 which I really did not notice and cannot say how good that benchmark is to reflect real speed. Well, AFAIK, gtk had become much more

Re: future of development for the desktop

2012-06-11 Thread Paul Davis
On Mon, Jun 11, 2012 at 7:38 PM, Enrico Weigelt weig...@metux.de wrote: * Paul Davis p...@linuxaudiosystems.com wrote: Well, AFAIK, gtk had become much more dynamic than its older versions. Maybe that's the problem: too many dynamic (heap) allocations, lookups, etc

Re: How To Script .gtkrc-2.0?

2012-06-09 Thread Paul Davis
On Fri, Jun 8, 2012 at 5:11 AM, Johny Why johny...@gmail.com wrote: Are the gtk functions exposed, so my app can call them in an existing gtk desktop (eg. xfce)? Or is it necessary to recompile gtk? Any getting started tips would be much appreciated by this noob. your messages so far seem

Re: How To Script .gtkrc-2.0?

2012-06-09 Thread Paul Davis
On Fri, Jun 8, 2012 at 8:04 AM, Johny Why johny...@gmail.com wrote: Trying to write a script in bash or another language which reads/writes gtkrc-2.0. Would prefer to use gtk built-in functions for the read/write. GTK does not create these files. They are generally created by humans, and

Re: How To Script .gtkrc-2.0?

2012-06-08 Thread Paul Davis
On Fri, Jun 8, 2012 at 5:11 AM, Johny Why johny...@gmail.com wrote: Are the gtk functions exposed, so my app can call them in an existing gtk desktop (eg. xfce)? Or is it necessary to recompile gtk? Any getting started tips would be much appreciated by this noob. your messages so far seem

Re: How To Script .gtkrc-2.0?

2012-06-08 Thread Paul Davis
On Fri, Jun 8, 2012 at 8:04 AM, Johny Why johny...@gmail.com wrote: Trying to write a script in bash or another language which reads/writes gtkrc-2.0. Would prefer to use gtk built-in functions for the read/write. GTK does not create these files. They are generally created by humans, and

Re: Ropes and String Formatting

2012-05-24 Thread Paul Davis
On Thu, May 24, 2012 at 8:10 PM, Russell Harmon r...@eatnumber1.com wrote: Is there any particular reason I'm being ignored? no. ___ gtk-devel-list mailing list gtk-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-devel-list

Re: gdk threads ...

2012-05-21 Thread Paul Davis
On Mon, May 21, 2012 at 7:36 AM, Michael Meeks michael.me...@suse.comwrote: So - yes, the solution of: * simply re-write -all- your code to make everything call asynchronous / idle handlers on one-of-N glib mainloops Has the siren of simplicity for gtk+

Re: gdk threads ...

2012-05-21 Thread Paul Davis
On Mon, May 21, 2012 at 9:00 AM, Michael Meeks michael.me...@suse.comwrote: Windows, has this rather nice 'SendMessage' abstraction that hides that synchronous cross-thread blocking fun, its really not significantly different from g_idle_add(), except that SendMessage relies on a

Re: gdk threads ...

2012-05-21 Thread Paul Davis
On Mon, May 21, 2012 at 9:39 AM, Michael Meeks michael.me...@suse.comwrote: your code is designed around the execution of GDK/GTK code in multiple threads. it was unfortunate that GDK/GTK ever allowed this (as has been pointed out, this is absolutely NOT possible on Windows with

Re: Keyboard-Free accessibility of GTK

2012-05-19 Thread Paul Davis
tablets are taking a dominant market share which decade do you live in? ___ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-devel-list

Re: RHEL 6.2 and gtk+ dependency hell

2012-05-03 Thread Paul Davis
On Thu, May 3, 2012 at 10:58 AM, Sarah Duncan sarah_dun...@wgbh.org wrote: Thanks Yeti!  I did finally find all of the necessary versions, but would still be glad to learn a bit more from this experience, if you don't mind. Part of my problem has definitely been that I don't know the

Re: gdk threads ...

2012-04-25 Thread Paul Davis
On Wed, Apr 18, 2012 at 6:24 AM, Michael Meeks michael.me...@suse.com wrote: [... ] there seems to be some confusion here. I've read back over your posts in the this thread. I don't see you mentioning libreoffice doing anything that requires thread enter/leave calls. You've mentioned idle

Re: gdk threads ...

2012-04-25 Thread Paul Davis
On Wed, Apr 25, 2012 at 1:53 PM, Chris Vine ch...@cvine.freeserve.co.uk wrote: That's interesting - you have found with Ardour that attaching timeout sources to a main loop is not thread safe? Not at all - we just don't want it. The other event loops run/provide support for non-Graphical UIs,

Re: gdk threads ...

2012-04-25 Thread Paul Davis
On Wed, Apr 25, 2012 at 2:36 PM, Chris Vine ch...@cvine.freeserve.co.uk wrote: I was responding to your advice that If you want other threads to be able to set up timeout callbacks in the GUI event loop, then just use g_idle_add() to get them set up.  Something seems to have become elided in

Re: gdk threads ...

2012-04-25 Thread Paul Davis
On Wed, Apr 25, 2012 at 2:50 PM, Chris Vine ch...@cvine.freeserve.co.uk wrote: On Wed, 25 Apr 2012 14:39:24 -0400 Paul Davis p...@linuxaudiosystems.com wrote: i've never seen anyone remark that  attaching a timeout (or other source) to a main loop is thread safe. if it is, then great.  i

Re: gdk threads ...

2012-04-25 Thread Paul Davis
On Wed, Apr 25, 2012 at 3:28 PM, Chris Vine ch...@cvine.freeserve.co.uk wrote: If g_source_attach() is not thread safe, then g_idle_add() is not threads safe: it invokes g_source_attach() in the same way that the other *_add()'s do. Idle sources are just another source, albeit ones which fire

Re: Experimenting with no gtk_main()

2012-04-19 Thread Paul Davis
2012/4/19 Patrick patr...@spellingbeewinnars.org: Hope this makes sense. While I hope to change this one day, at the moment I am just an amateur coder... it doesn't really make sense. run the GUI in its own thread (either the initial thread the process starts with, or a different one). run

Re: gdk threads ...

2012-04-11 Thread Paul Davis
Are there any plans for a gtkmm release based on gtk2 that will avoid the endless messages about using deprecated API, some related to thread stuff in gtk 2.24? ___ gtk-devel-list mailing list gtk-devel-list@gnome.org

Re: gdk threads ...

2012-04-11 Thread Paul Davis
On Wed, Apr 11, 2012 at 7:26 AM, Paul Davis p...@linuxaudiosystems.com wrote: Are there any plans for a gtkmm release based on gtk2 that will avoid the endless messages about using deprecated API, some related to thread stuff in gtk 2.24? these, specifically, are the messages i'm referring

Re: GTK2 performance issues on low-end computers running X11, but not Win32

2012-03-12 Thread Paul Davis
On Mon, Mar 12, 2012 at 1:19 PM, Daniel Levine dle...@hotmail.com wrote: [ ... ] try changing the GTK theme in use. theme engines are generally the source of poor performance in GTK2 applications, unless the app is just exceptionally badly coded. ___

Re: gdk threads ...

2012-03-05 Thread Paul Davis
On Mon, Mar 5, 2012 at 9:34 AM, Andy Wingo wi...@pobox.com wrote: Heya, On Mon 05 Mar 2012 14:07, Ryan Lortie de...@desrt.ca writes: On Mon, 2012-03-05 at 12:11 +, Michael Meeks wrote:      Does that mean you're removing gdk_threads_enter and leave and the semantics around that ? is

Re: tree_view_set_cursor outlier case

2012-02-13 Thread Paul Davis
On Sun, Feb 12, 2012 at 11:37 PM, Enoch Langston palmett...@yahoo.comwrote: My name is Kevin and I work in IT support. I am new to the mailing list and development in general. I have found gtk both rewarding and difficult to learn. I have especially been having a rough time with figuring out

Re: Creating custom GTK+ widget using C++ -- Ctor/Dtor not called

2012-02-09 Thread Paul Davis
On Thu, Feb 9, 2012 at 4:28 PM, Agnel Kurian agnel.kur...@gmail.com wrote: Hi, I am trying to create a custom GTK+ widget using GTK+ 2.4.8 called from C++. I find that the constructor and destructor of my widget is never called. So... 1. Is this expected behaviour? 2. What is the usual

Re: How to grab key combination event in GDK?

2012-02-04 Thread Paul Davis
On Sat, Feb 4, 2012 at 2:30 AM, victor-victor nada...@hotmail.com wrote: Hello I know how to grab a single key event with gdk, but I'd like to know how to grab a key combination  that is *not* using a modifier key. For example I would like to grab when 'GDK_KEY_a' and 'GDK_KEY_right' are

Re: How to grab key combination event in GDK?

2012-02-04 Thread Paul Davis
On Sat, Feb 4, 2012 at 10:34 AM, salsaman salsa...@gmail.com wrote: Hi Paul, Have a look at gtk_key_snooper_install(). key snoopers are deprecated now. we use them in ardour but will switch to gdk event filters soon. ___ gtk-list mailing list

Re: How to grab key combination event in GDK?

2012-02-04 Thread Paul Davis
On Sat, Feb 4, 2012 at 11:21 AM, salsaman salsa...@gmail.com wrote: What do you mean deprecated ? There is no mention of this in the documentation. i'm looking ahead to 3.0 and i talk to the GTK guys regularly on IRC. ___ gtk-list mailing list

Re: How to grab key combination event in GDK?

2012-02-04 Thread Paul Davis
On Sat, Feb 4, 2012 at 11:41 AM, salsaman salsa...@gmail.com wrote: So whats the replacement ? Set key event handlers for every single window ? That makes no sense. Why remove a function which works perfectly well, which people are relying on ? gdk_window_add_filter (NULL, ) works for all

Re: gtk3 replacement for gdk_pixmap_foreign_new

2012-01-24 Thread Paul Davis
On Tue, Jan 24, 2012 at 9:33 AM, salsaman salsa...@gmail.com wrote: Dear Olav, How do you know it is a bug ? olav is being subtly sarcastic. what he's really trying to say is that the people who work on GTK development tend to be *much* more responsive to things being reported at

Re: RFC: new features

2012-01-13 Thread Paul Davis
On Fri, Jan 13, 2012 at 4:51 PM, Alberto Ruiz ar...@gnome.org wrote: I think that if we were up to do this, we should go ahead and get rid of GtkTreeModel altogether and substitute it for something like libmodel. The data driven app situation in GObject/Gtk+ is quite sad at the moment and

Re: RFC: new features

2012-01-12 Thread Paul Davis
On Thu, Jan 12, 2012 at 6:32 AM, Paolo Borelli pbore...@katamail.com wrote: UNDO A full undo/redo stack may belong in glib, to me, this is highly unrealistic. undo/redo is incredibly application (and scale) specific. even inside one application, it can make sense to find two entirely different

Re: RFC: new features

2012-01-12 Thread Paul Davis
On Thu, Jan 12, 2012 at 7:31 AM, Ross Burton r...@burtonini.com wrote: Tasks has a undo manager/undoable implementation and that's implemented by function pointers that do the right thing, so you can probably implement both methods with that. well, sure. i guess i was assuming that much.

Re: RFC: UI design

2012-01-09 Thread Paul Davis
On Mon, Jan 9, 2012 at 1:44 PM, Jan Jokela janjok...@gmail.com wrote: . But for the App to be cohesive with the platform, the theme (the design and usability features of widgets) must remain identical. this notion of cohesiveness with the platform doesn't seem to bother the developers of most

Re: RFC: UI design

2012-01-09 Thread Paul Davis
On Mon, Jan 9, 2012 at 2:05 PM, Jan Jokela janjok...@gmail.com wrote: Take iPhoto, Calendar and similar apps, even the ones not developed by Apple. Many of them style widgets to a certain look and feel and most have a bunch of custom widgets. And I see this as  essential for making great

Re: combined mouse and button event in a drawing area

2012-01-05 Thread Paul Davis
On Thu, Jan 5, 2012 at 9:55 PM, victor-victor nada...@hotmail.com wrote: 1) my widget is a drawing area; the 2 signals are emited when I use the mainWindow widget (that contains the drawingarea) but not the drawing area widget in itself; I don't see where is the problem; you set the event

Re: Glib resource framework

2011-12-29 Thread Paul Davis
On Thu, Dec 29, 2011 at 2:43 AM, Enrico Weigelt weig...@metux.de wrote: Okay, we're talking about ways to deploy an arbitrary binary package (built somewhere else, fully out of the scope of the users's distro) to an arbitratry location. But: WHY ? What is the problem that should be solved

Re: Glib resource framework

2011-12-28 Thread Paul Davis
On Wed, Dec 28, 2011 at 3:02 AM, Enrico Weigelt weig...@metux.de wrote: ACK, that would be the quickest and easiest solution. And I have a very strange feeling with changing ldd's lookup semantics, beginning with serious security considerations. But: if the application bundle should be

Re: Glib resource framework

2011-12-28 Thread Paul Davis
On Wed, Dec 28, 2011 at 9:20 AM, Enrico Weigelt weig...@metux.de wrote: * Paul Davis p...@linuxaudiosystems.com schrieb: But: if the application bundle should be entirely self-contained, why using dynamic linking (of non-system-libaries) at all ? the GTK stack in particular cannot

Re: Glib resource framework

2011-12-28 Thread Paul Davis
On Wed, Dec 28, 2011 at 10:03 AM, Enrico Weigelt weig...@metux.de wrote: * Paul Davis p...@linuxaudiosystems.com schrieb: the GTK stack in particular cannot be statically linked (certainly not without considerable effort). Why not, exactly ? because quite a lot of GTK is dynamically

Re: Glib resource framework

2011-12-22 Thread Paul Davis
On Thu, Dec 22, 2011 at 7:07 PM, Hub Figuière hfigui...@teaser.fr wrote: Supporting this concept would involve the following changes: -API in gio to access bundle and content so that application developer can write relocatable software. They can be designed to work either way. there is no

Re: Locked accels hardcoded for GtkWindow

2011-12-07 Thread Paul Davis
On Wed, Dec 7, 2011 at 3:22 AM, Zveroy zve...@gmail.com wrote:  /* movement keys are considered locked accels */  if (!accel_mods)    {      static const guint bindings[] = {        GDK_KEY_space, GDK_KEY_KP_Space, GDK_KEY_Return, GDK_KEY_ISO_Enter, GDK_KEY_KP_Enter, GDK_KEY_Up,

Re: App on MAC - and Pango

2011-11-26 Thread Paul Davis
On Fri, Nov 25, 2011 at 4:08 AM, richard boaz ivor.b...@gmail.com wrote: Hello, I'm attempting to get my GTK-based app packaged for delivery to MAC platforms.  Everything is going okay except for one last implementation issue. I suggest you read the function fixup_bundle_environment() in

Re: GTK+ on Mac OS X status

2011-11-21 Thread Paul Davis
On Mon, Nov 21, 2011 at 4:34 AM, Lothar Scholz llot...@web.de wrote: Come on and stop talking bullshit. You now exactly that this is not true. A 1st class citizen toolkit has to use the Cocoa widgets and this will never happen for GTK. you have some very specific definition of 1st class

Re: GTK+ on Mac OS X status

2011-11-21 Thread Paul Davis
On Mon, Nov 21, 2011 at 10:37 AM, Lothar Scholz llot...@web.de wrote: If they adapt the look and feel and functions of MacOSX GUI's they are. The menu on top, native file selection, standard toolbar, file icons, dialog modal sheets instead of application modal, aqua look in dialogs... using

Re: GTK+ on Mac OS X status

2011-11-20 Thread Paul Davis
On Sun, Nov 20, 2011 at 10:40 AM, Gour g...@atmarama.net wrote: So, how is the project of having 'native' GTK+ on going on and is it on par with the Qt? most people who work with GTK don't do much work with Qt and vice versa, so its a bit hard to answer is it on par. this application is

Re: gobject-introspection broken (?) on quartz ?

2011-11-18 Thread Paul Davis
On Fri, Nov 18, 2011 at 3:18 AM, Kristian Rietveld k...@loopnest.org wrote: Which machine is this on?  If this is on Tiger, you need to build yourself a newer make (3.71, it's in MacPorts) because things break with the (old) make 3.70 that's shipped with latest XCode for Tiger. yes, this is

Re: gobject-introspection broken (?) on quartz ?

2011-11-18 Thread Paul Davis
On Fri, Nov 18, 2011 at 7:56 AM, Paul Davis p...@linuxaudiosystems.com wrote: On Fri, Nov 18, 2011 at 3:18 AM, Kristian Rietveld k...@loopnest.org wrote: Which machine is this on?  If this is on Tiger, you need to build yourself a newer make (3.71, it's in MacPorts) because things break

Re: gobject-introspection broken (?) on quartz ?

2011-11-18 Thread Paul Davis
On Fri, Nov 18, 2011 at 8:03 AM, Paul Davis p...@linuxaudiosystems.com wrote: On Fri, Nov 18, 2011 at 7:56 AM, Paul Davis p...@linuxaudiosystems.com wrote: On Fri, Nov 18, 2011 at 3:18 AM, Kristian Rietveld k...@loopnest.org wrote: Which machine is this on?  If this is on Tiger, you need

Re: gobject-introspection broken (?) on quartz ?

2011-11-18 Thread Paul Davis
On Fri, Nov 18, 2011 at 9:53 AM, Kristian Rietveld k...@loopnest.org wrote: My apologies (I didn't have my Tiger machine handy), I meant that Tiger ships with GNU make 3.80 and you need at least GNU make 3.81.  This is due to usage of $(or ...) and/or $(and ...) which are only available in

gobject-introspection broken (?) on quartz ?

2011-11-17 Thread Paul Davis
Building GTK stack on Quartz/OSX using instructions from: http://live.gnome.org/GTK%2B/OSX/Building *** Checking out gobject-introspection *** [8/14] curl --continue-at - -L http://ftp.gnome.org/pub/GNOME/sources/gobject-introspection/0.10/gobject-introspection-0.10.8.tar.bz2 -o

Re: GTK+ library access issue?

2011-10-24 Thread Paul Davis
2011/10/24 David Buchan pdbuc...@yahoo.com: Interesting. I just tried compiling a simple non-gtk c program: apparently you didn't use -lm ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list

gio modules makes the g* stack non-relocatable

2011-10-18 Thread Paul Davis
in another wrinkle to the continuing general difficulty of relocating libraries that make up the gtk stack, a new issue with gio... libgio is hardcoded at compile time to search {prefix}/gio/modules) for its gio plugins. if an app linked against libgio executes on a system where

Re: gio modules makes the g* stack non-relocatable

2011-10-18 Thread Paul Davis
On Tue, Oct 18, 2011 at 9:23 AM, Matthias Clasen matthias.cla...@gmail.com wrote: Not sure how I feel about the idea of relocated stacks not providing the full glib api, the relocated stack would (almost certainly) be providing the full API that existed for its version. the problem is that it

Re: GTK and OSX: a call to sanity

2011-10-11 Thread Paul Davis
On Mon, Oct 10, 2011 at 4:11 PM, John Ralls jra...@ceridwen.us wrote: Please have a look and comment either here or directly to me. I'd like to merge this into gtk-web master by Thursday. looks good to me. we should also get ardour onto the ported-app list somehow.

Re: Geometry Management

2011-09-25 Thread Paul Davis
On Sun, Sep 25, 2011 at 5:36 PM, Matthew Bucknall matthew.buckn...@googlemail.com wrote: I'm trying to get my head around GTK+ 3.0's new 'Height-for-width Geometry Management'. Sorry if I'm missing it in the documentation somewhere, but what exactly is the definition of a widget's natural

Re: Geometry Management

2011-09-25 Thread Paul Davis
On Sun, Sep 25, 2011 at 6:20 PM, Matthew Bucknall matthew.buckn...@googlemail.com wrote: What I'm not clear on is the meaning of the 'natural' arguments in calls to gtk_widget_get_preferred_height () and gtk_widget_get_preferred_width (). Are the natural sizes just some sort hint to

Re: Stable cross-platform version?

2011-09-19 Thread Paul Davis
On Mon, Sep 19, 2011 at 12:39 AM, Jonathan S. Shapiro s...@eros-os.org wrote: I'm new, and I'm willing to work on the issues I'm about to raise, but I could use some guidance. We're building a cross-platform app, and it would be nice to be on the latest stable version of GTK+. On the main

Re: GTK TreeView control in Windows (DND issue)

2011-09-19 Thread Paul Davis
On Mon, Sep 19, 2011 at 4:05 PM, Doug Blank doug.bl...@gmail.com wrote: BTW, do you think that these fixes will have any effect on Mac OSX? I am getting the same behavior there, and am hopeful that we can restore functionality there too. which behaviour? DnD on OS X with 2.24 built with the

<    1   2   3   4   5   6   7   8   9   10   >