Re: serial ports

2007-05-14 Thread G Hasse
On Tue, May 15, 2007 at 02:46:22AM +0300, Tor Lillqvist wrote: > John Coppens writes: > > If I'm not mistaken (I don't use windows), look at the g_io functions, I > > believe they are portable to Windows too. There may be a problem with the > > names of the devices (COM1: vs /dev/ttyS0) or so, b

Pango-1.17.0 released [unstable]

2007-05-14 Thread Behdad Esfahbod
Pango-1.17.0 is now available for download at: http://download.gnome.org/sources/pango/1.17/ or ftp://ftp.gtk.org/pub/pango/1.17 c1b9b2e236a0d5fe208b532a4a792e7a pango-1.17.0.tar.bz2 7326429bb60bf02685aeee4b3ffbf64a pango-1.17.0.tar.gz This is the first development release in what seems to

Re: serial ports

2007-05-14 Thread Tor Lillqvist
John Coppens writes: > If I'm not mistaken (I don't use windows), look at the g_io functions, I > believe they are portable to Windows too. There may be a problem with the > names of the devices (COM1: vs /dev/ttyS0) or so, but that is relatively > easy to solve, I'd say. You are too optimisti

Re: serial ports

2007-05-14 Thread John Coppens
On Mon, 14 May 2007 18:49:02 - "Pavel A. da Mek" <[EMAIL PROTECTED]> wrote: > When I want to use serial ports, shall I write separate code for > Windows and for Linux, or is there some library function which would > allow to do it in the platform independent way? If I'm not mistaken (I don'

Re: Gtk+ and multithreating

2007-05-14 Thread Chris Vine
On Mon, 2007-05-14 at 19:53 +0200, Michelle Konzack wrote: > Hello *, > > I am new on this list, but have already codes some VERY simple admin > GUI's... Now I have a bigger problem/Application which need definitiv > multithreading since it must poll several servers and update several > TreeView

Re: serial ports

2007-05-14 Thread Michael L Torrie
On Mon, 2007-05-14 at 18:49 +, Pavel A. da Mek wrote: > When I want to use serial ports, shall I write separate code for Windows and > for Linux, or is there some library function which would allow to do it in > the platform independent way? There's definitely no GTK library calls to suppo

Re: Gtk+ and multithreating

2007-05-14 Thread Cédric Lucantis
Le lundi 14 mai 2007 20:20, Michael Ekstrand a écrit : > On Mon, 2007-05-14 at 19:53 +0200, Michelle Konzack wrote: > > So, can anyone provide me with a Tutorial HOW TO MULTITHREAD those > > functions ? > > > > And maybe some other tips... > > Can you do everything asynchronously? Initiate your c

Re: How to create a simple multilingual GUI

2007-05-14 Thread Yeti
On Mon, May 14, 2007 at 08:04:09PM +0200, Michelle Konzack wrote: > > Does > setlocale("LC_ALL", "de_DE"); > > not work? It works. Future locale-dependent calls will use the new locale. So if you do this while your application is already running, you can watch it trasmuting slowly to Ger

serial ports

2007-05-14 Thread Pavel A. da Mek
When I want to use serial ports, shall I write separate code for Windows and for Linux, or is there some library function which would allow to do it in the platform independent way? ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org htt

Re: Gtk+ and multithreating

2007-05-14 Thread Michael Ekstrand
On Mon, 2007-05-14 at 19:53 +0200, Michelle Konzack wrote: > So, can anyone provide me with a Tutorial HOW TO MULTITHREAD those > functions ? > > And maybe some other tips... Can you do everything asynchronously? Initiate your connections, and set up some GIOChannels to watch for data availabil

Re: How to create a simple multilingual GUI

2007-05-14 Thread Michelle Konzack
Am 2007-05-13 02:19:39, schrieb David Ne?as (Yeti): > On Fri, May 11, 2007 at 02:52:06PM +0200, John Zoidberg wrote: > > I would like to create a GUI with GTK where the language can be chosen > > interactively in a "settings" menu. > > I would like this to be independant of the machines local langu

Gtk+ and multithreating

2007-05-14 Thread Michelle Konzack
Hello *, I am new on this list, but have already codes some VERY simple admin GUI's... Now I have a bigger problem/Application which need definitiv multithreading since it must poll several servers and update several TreeView and ListView. I have no experience with it, since I am one of those

"drag-leave" signal

2007-05-14 Thread Johannes Schmid
Hi! I have a question regarding the dnd drag-leave signal. In my application are multiple drag targets nested into each other (the drag targets derive from GtkContainer). However, if I try to drag the target on the widget inside of the other widget I don't get a drag-leave signal but a drag-motion

Re: Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text()

2007-05-14 Thread Yeti
On Mon, May 14, 2007 at 04:41:26AM -0700, beginner.c wrote: > > I'm doing the following and get the above error (of course with the funny > characters). What am I doing wrong? Beside using sprintf() (instead of at least g_snprintf()) which is always wrong, you are not posting selfcontained, i.e.

Re: Alternative GTK widgets

2007-05-14 Thread Emmanuele Bassi
On Mon, 2007-05-14 at 05:39 -0700, beginner.c wrote: > I've noticed libegg gets used a lot. Does it have a web page? It seems the > most obvious thing for widgets but are there some screen shots somewhere > showing off the widgets? libegg is a "copy-and-paste" library: you have to copy the files i

Re: Alternative GTK widgets

2007-05-14 Thread beginner.c
I've noticed libegg gets used a lot. Does it have a web page? It seems the most obvious thing for widgets but are there some screen shots somewhere showing off the widgets? jcupitt wrote: > > On 5/12/07, Shoq <[EMAIL PROTECTED]> wrote: >> Pardon my noobness, but I am new to GTK. I had assumed

Re: Alternative GTK widgets

2007-05-14 Thread Lance Dillon
Their is also libview, which is the widgets that vmware created. You can search on freshmeat for it. Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, photos & more.

GtkCellRenderer for different cells in a same column

2007-05-14 Thread Christoph Schmeding
Hello, I want to develop a window where I can edit the attributes of an object. I will have a first, non-editable column with the name of the attribute, and a second one, editable, with the value. The values have different types, so I want to have different "widget" types (or behaviours or edit

Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text()

2007-05-14 Thread beginner.c
Hi, I'm doing the following and get the above error (of course with the funny characters). What am I doing wrong? int a = 0; char *x; char Text[500]; sprintf (Text,"Blah %i",a); x = Text; gtk_label_set_text (GTK_LABEL(label1),x); -- View this message in context: http://www.nabble.com/Pango-W

Re: How to create a simple multilingual GUI

2007-05-14 Thread Samuel Cormier-Iijima
On 5/14/07, Gabriel Schulhof <[EMAIL PROTECTED]> wrote: > > Hi! > > On Sun, 2007-05-13 at 02:19 +0200, David Nečas (Yeti) wrote: > > Run-time switching of languages is not > > possible http://bugzilla.gnome.org/show_bug.cgi?id=313736 > > Oh, it's possible, just very difficult. You have to keep all

Re: Alternative GTK widgets

2007-05-14 Thread jcupitt
On 5/12/07, Shoq <[EMAIL PROTECTED]> wrote: > Pardon my noobness, but I am new to GTK. I had assumed there would be a > wealth of open source widgets that descend from the toolkit. I am starting > to think this was a very poor assumption on my part. I've not be able to > find anything but a few a

Re: Alternative GTK widgets

2007-05-14 Thread Vivien Malerba
On 5/12/07, Shoq <[EMAIL PROTECTED]> wrote: > > Pardon my noobness, but I am new to GTK. I had assumed there would be a > wealth of open source widgets that descend from the toolkit. I am starting > to think this was a very poor assumption on my part. I've not be able to > find anything but a few