Key-value file parser , multiline value definition is posible?

2012-06-08 Thread Igor Chetverovod
Hi All,
I am using Key-value file for program settings storing . It works ok.
But now, I need  to store  a string array. It contains 500 elements.
The main issue - during the key-file editing, I cant to divide this
array to several strings  for comfortable work and readability. Is
there  solution to make this?

Just to be clear. This is a line from curent key-file:

[data]

words_len = 6
words = 13105105, 11100c05, 13105105, 11100c05 , 13105105,  11100c05

I would like to have something like this:

[data]

words_len = 6
words = 13105105, 11100c05,
  13105105, 11100c05 ,
  13105105,  11100c05

Best regards,
Igor
___
gtk-list mailing list
gtk-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-list


Is it posible

2008-07-16 Thread Иван Васильев
Is itposible to draw circle in Cairo and to place in the midle of it Button in 
gtk+?

-- реклама ---
Домен БЕСПЛАТНО!
С хостинг-планом на http://www.hostpro.ua

___
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list


Re: Is it posible

2008-07-16 Thread Claudio Saavedra
El jue, 17-07-2008 a las 01:56 +0300, Иван Васильев escribió:
 
 Is itposible to draw circle in Cairo and to place in the midle of it
 Button in gtk+?

Yes, you can. Use an empty GtkButton and place a GtkDrawingArea inside
of it, then draw here.

Claudio

-- 
Claudio Saavedra [EMAIL PROTECTED]

___
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list


Re: Is it posible

2008-07-16 Thread Paul Davis

On Wed, 2008-07-16 at 19:52 -0400, Claudio Saavedra wrote:
 El jue, 17-07-2008 a las 01:56 +0300, Иван Васильев escribió:
  
  Is itposible to draw circle in Cairo and to place in the midle of it
  Button in gtk+?
 
 Yes, you can. Use an empty GtkButton and place a GtkDrawingArea inside
 of it, then draw here.

you can even override the expose method of the button, and draw directly
(with cairo or GDK) on the button itself. could get a little complicated
because you want some parts of the button to still draw, but slightly
more efficient than packing a DrawingArea into the button.


___
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list


Re: posible string freeze breakage gtk+-properties

2005-05-08 Thread Christian Rose
fre 2005-05-06 klockan 11:47 +0200 skrev Martin Willemoes Hansen:
 Hello everybody
 
 I noticed that gtk+-properties has a new fuzzy string in gtk-2-6 branch,
 I was wondering if gtk+-properties is string frozen for gnome-2-10 or if
 it has its own schedule?

GTK+ has its own schedule and freezes, although it would have been nice
if GTK+ hackers would let translators at gnome-i18n@gnome.org know when
they've changed or added translateable messages in the GTK+ stable
branch at GNOME freeze times.


Christian

___
gtk-devel-list mailing list
gtk-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-devel-list


Re: how to communicate with LPT? is this posible?

2005-03-22 Thread Antonio Gomes
LTP = Linux Test Project ?!

Regards

On Tue, 22 Mar 2005 16:25:43 +0100, ALLs soft [EMAIL PROTECTED] wrote:
 thanks.

-- 
Antonio Gomes
E-mail: [EMAIL PROTECTED]
Embedded Linux Lab - 10LE
INdT - Instituto Nokia de Tecnologia (Manaus/Br)
NOKIA's Technology Institute
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


Re: how to communicate with LPT? is this posible?

2005-03-22 Thread Liam R. E. Quin
On Tue, 2005-03-22 at 13:31 -0400, Antonio Gomes wrote:
 LTP = Linux Test Project ?!

I'm guessing ALLs soft meant the printer, since
LPT was the name for a Line Printer on some 1960s
DEC operating systems.

If so, the answer depends... to send something to the
printer, you can pipe output to lpr or lp; for a better
interface, see maybe libgnomeprint?

Liam


-- 
Liam Quin, W3C XML Activity Lead, http://www.w3.org/People/Quin
Pictures from old books: http://www.holoweb.net/~liam/pictures/oldbooks/
IRC (chat) programs: www.ircreviews.org/clients/

___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


Re: how to communicate with LPT? is this posible?

2005-03-22 Thread ALLs soft
i meen LPT and not LTP.
how to read a word from parallel port.
more on http://www.1osb.ims.hr/skola/lpt/LPT-input.html, but not english.
i now work this with DLportIO but it work only on windows.
i need read what is on 889 adress (if in bios).
somebody can help?
thanks
Liam R. E. Quin wrote:
On Tue, 2005-03-22 at 13:31 -0400, Antonio Gomes wrote:
 

LTP = Linux Test Project ?!
   

I'm guessing ALLs soft meant the printer, since
LPT was the name for a Line Printer on some 1960s
DEC operating systems.
If so, the answer depends... to send something to the
printer, you can pipe output to lpr or lp; for a better
interface, see maybe libgnomeprint?
Liam
 

___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


Re: how to communicate with LPT? is this posible?

2005-03-22 Thread John Coppens
On Tue, 22 Mar 2005 22:20:47 +0100
ALLs soft [EMAIL PROTECTED] wrote:

 i meen LPT and not LTP.
 how to read a word from parallel port.
 more on http://www.1osb.ims.hr/skola/lpt/LPT-input.html, but not
 english. i now work this with DLportIO but it work only on windows.
 i need read what is on 889 adress (if in bios).
 
 somebody can help?

There is a howto on the subject:

http://www.faqs.org/docs/Linux-mini/IO-Port-Programming.html

It explains to access the ports directly, or via the /dev/port device.

Direct port access to normally limited to root, so mostly you will have
to apply tricks to gain access. The HowTo explains that.

John

 thanks
 
 
 Liam R. E. Quin wrote:
 
 On Tue, 2005-03-22 at 13:31 -0400, Antonio Gomes wrote:
   
 
 LTP = Linux Test Project ?!
 
 
 
 I'm guessing ALLs soft meant the printer, since
 LPT was the name for a Line Printer on some 1960s
 DEC operating systems.
 
 If so, the answer depends... to send something to the
 printer, you can pipe output to lpr or lp; for a better
 interface, see maybe libgnomeprint?
 
 Liam
 
 
   
 
 ___
 gtk-app-devel-list mailing list
 gtk-app-devel-list@gnome.org
 http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


Re: posible gtk+ gtk-2-6 string freeze break

2005-03-07 Thread Christian Rose
mån 2005-03-07 klockan 16:37 +0100 skrev Martin Willemoes Hansen:
 Hello everybody!
 
 I noticed that there are two new fuzzy strings in gtk+ branch gtk-2-6,
 which is listed as part of Gnome 2.10.
 
 msgid Not enough memory to composite a frame in GIF file
 
 and
 
 msgid Invalid XPM header
 
 Is this a string freeze breakage or did I miss something?
 
 Happy hacking!

Technically, GTK+ is not part of GNOME, and GTK+ has its own release
schedule and freezes.
Although it would have been nice for GNOME translators to be warned from
GTK+ hackers about string additions and string changes when such happen.


Christian

___
gtk-devel-list mailing list
gtk-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-devel-list