Re: When are these g_io_channel_*() input conditions occurring ?

2006-12-05 Thread Daniel Yek
At 11:07 PM 12/5/2006, Philippe Bertin wrote: >Hello all, > >This is a new thread, based upon a very recent thread in this list, and a >some things I asked myself in the (recent) past when I programmed a >g_io_channel watcher callback. > >I used, for my GIOChannel, the condition G_IO_IN, in order

When are these g_io_channel_*() input conditions occuring ?

2006-12-05 Thread Philippe Bertin
Hello all, This is a new thread, based upon a very recent thread in this list, and a some things I asked myself in the (recent) past when I programmed a g_io_channel watcher callback. I used, for my GIOChannel, the condition G_IO_IN, in order to have my callback called whenever there was any i

Re: Pango and Consolas

2006-12-05 Thread Allin Cottrell
On Wed, 6 Dec 2006, Allin Cottrell wrote: > An oddity, trying to use the MS Consolas monospaced truetype font > with Pango 1.14.5 on Ubuntu... Oops, sorry, nothing to do with pango. Somehow the permissions on the font files got borked. Allin Cottrell

Pango and Consolas

2006-12-05 Thread Allin Cottrell
An oddity, trying to use the MS Consolas monospaced truetype font with Pango 1.14.5 on Ubuntu: PangoWarning: shape engine failure, expect ugly output. the offending font is 'Consolas 9.9990234375' PangoWarning: pango_font_get_glyph_extents called with bad font, expect ugly output The font samp

Re: Possible Code to make Visual Studio compile easier

2006-12-05 Thread Tor Lillqvist
Replying the gtk-app-devel list, Bcc:ing to you. Please don't send me personal mail about GTK+. Use the mailing lists. > I noticed that alot of the examples use the int main(int argc, char* > argv[]) entry type.. That's hardly surprising, as that is the standard for C programs, and 100% portabl

main loop merging

2006-12-05 Thread skaller
Not sure if this is the right list but here goes. Tristan Van Berkom <[EMAIL PROTECTED]> recently wrote: "Maybe its just my personal opinion but I always prefer letting the main loop do its thing and not hack around it by adding: "while (events_pending) iteration_do();" sprinkles here and th

Re: GTK - Proper Way to Code Pipes

2006-12-05 Thread Daniel Yek
At 02:27 PM 12/5/2006, Christopher Bland wrote: > >> Based on suggestions from this mailing list I've implemented a pipe to > >> pass data from my other processes to the main GTK thread. I noticed > >> that when writing to the pipe there was a long delay before it was > >> handled. I'm assuming thi

Re: GTK - Proper Way to Code Pipes

2006-12-05 Thread Christopher Bland
>> Based on suggestions from this mailing list I've implemented a pipe to >> pass data from my other processes to the main GTK thread. I noticed >> that when writing to the pipe there was a long delay before it was >> handled. I'm assuming this is because it was a pending event. >> >> Can someone

Re: GTK - Proper Way to Code Pipes

2006-12-05 Thread Tristan Van Berkom
On Tue, 2006-12-05 at 21:35 +, Christopher Bland wrote: > Based on suggestions from this mailing list I've implemented a pipe to > pass data from my other processes to the main GTK thread. I noticed > that when writing to the pipe there was a long delay before it was > handled. I'm assuming thi

how is libqtengine.so to be built from source ?

2006-12-05 Thread Philippe Bertin
Hello, I have gtk installed on my system. Also, I built gtk+ twice (versions 2.4.0 and 2.10.6) from sources, with other PKG_CONFIG_PATH's and all the rest, so that everything is neatly out of each other's way. However, in the last configuration (2.10.6), I am faced with the following warning(/

GTK - Proper Way to Code Pipes

2006-12-05 Thread Christopher Bland
Based on suggestions from this mailing list I've implemented a pipe to pass data from my other processes to the main GTK thread. I noticed that when writing to the pipe there was a long delay before it was handled. I'm assuming this is because it was a pending event. Can someone please let me know

Re: Finding Version of GTK installed

2006-12-05 Thread Yeti
On Tue, Dec 05, 2006 at 12:06:35PM -0500, David Vandepol wrote: > Thanks, you're right, I am looking for a "run-time" type of detection to > see if the GUI for the installer will even show up. > The installer that I'm creating is Java based, and I'm trying not to mix > too many languages unneccess

Re: Finding Version of GTK installed

2006-12-05 Thread John Coppens
On Tue, 5 Dec 2006 09:42:02 -0500 David Vandepol <[EMAIL PROTECTED]> wrote: > I'm still having problems. When I run java tool and view all of > the LaF's GTK is displayed, however gtk isn't available in the > pkg-config Hi David. I'm not sure about this, but I suspect that if any other la

Re: Finding Version of GTK installed

2006-12-05 Thread David Vandepol
Thanks, you're right, I am looking for a "run-time" type of detection to see if the GUI for the installer will even show up. The installer that I'm creating is Java based, and I'm trying not to mix too many languages unneccessarily, is there any known way to fine the versions in Java? I've looked

Re: Finding Version of GTK installed

2006-12-05 Thread Yeti
On Tue, Dec 05, 2006 at 09:42:02AM -0500, David Vandepol wrote: > I'm still having problems. When I run java tool and view all of the > LaF's GTK is displayed, however gtk isn't available in the pkg-config Does the LaF actually use Gtk+ or just emulates the look? And if it uses Gtk+, does i

Re: Scrolling a Tree View before it's realized

2006-12-05 Thread Attilio Fiandrotti
Attilio Fiandrotti wrote: > Liam R E Quin wrote: > >>On Sat, 2006-11-11 at 11:51 +0100, Attilio Fiandrotti wrote: >>[...] >> >> >>>I eventually managed this by scrolling the treeview from a callback that >>>gets fired after the expose event is fired. >>>In order to have scrolling performed only t

Re: Finding Version of GTK installed

2006-12-05 Thread David Vandepol
Thanks, I'm still having problems. When I run java tool and view all of the LaF's GTK is displayed, however gtk isn't available in the pkg-config It appears that GTK isn't installed. Just to be clear, GTK is installed with Red Hat OS correct? I installed all the packages when installing

Re: How to keep UTF-8 characters, but escape non-UTF-8 byte sequence to hex codes in ASCII

2006-12-05 Thread Peter Lund
On Mon, 2006-12-04 at 18:22 -0800, Daniel Yek wrote: > At 07:29 AM 12/1/2006, Peter Lund wrote: > >On Thu, 2006-11-30 at 15:46 -0800, Daniel Yek wrote: > > > > > Well, with g_utf8_validate(), it is trivial to implement a function that > > > escape non-UTF-8 bytes to Hex. However, I then found out