Re: Glib does not print italian character

2012-11-05 Thread Vlad Volodin
Hello Giuseppe, It seems that you did not setup the locale. I think that the similar issue was already reviewed in this thread: http://stackoverflow.com/questions/3092354/printing-utf8-in-glib Kind regards, Vest 2012/11/5 Giuseppe Penone gius...@gmail.com Hi, If I compile and run this

Re: Gtk_Tree_View, drawing speed

2012-09-27 Thread Vlad Volodin
Hello Arne, Is it really necessary to refresh updates 400 times per second? To be honest, me as a human will not notice all these changes. What do you think about doing updates once or two times per second? (like all task managers do) E.g. you can collect all values that come from the hardware

Re: compile multiple source file

2012-08-31 Thread Vlad Volodin
Hello, You probably did not declare the 'hello' function in the main.c file. To do this, just write a header of the function beforevthe main function. Regards, Vlad On Aug 31, 2012 4:48 PM, Rudra Banerjee bnrj.ru...@yahoo.com wrote: I have two file: #THE MAIN### #include gtk/gtk.h int

Re: learning gtk+ well: Which book to buy?

2012-03-27 Thread Vlad Volodin
Hello Howard, I am afraid to disappoint you, but in this case books will not help much. GTK+ was changed significantly comparing to GTK+ from the 2007. The best way to start learning is to read a documentation, play with demos and tutorials, examine other non-complex projects. If you are able to

Re: learning gtk+ well: Which book to buy?

2012-03-27 Thread Vlad Volodin
and readable (of course most of the work is done by the browser embedding, just take a look at how it creates the preferences dialog using GtkBuilder and creates a widget class to encapsulate the preferences module). Cheers, -Tristan On Wed, Mar 28, 2012 at 3:54 AM, Vlad Volodin vest

Re: gtk and linux

2011-11-03 Thread Vlad Volodin
Hello Craig, It seems that an average user has to be able to install linux and then configure it (if possible). That is why I cannot give you an skill level... maybe 7, or 7.35-7.63 :) Is there a list of linux flavors like Ubuntu, KDE, Red Hat... that include or don't include gtk Even if

Re: slow gtk.label drawing

2011-07-26 Thread Vlad Volodin
Hello Yeti, It seems that it would be better to slightly optimize the code and do not create many widgets at once. You know how Google Reader works: it loads RSS feeds by small portions. I think that you can do a similar approach in your application. Thanks, Vest

Re: Problem with installing GTK+-2.0.0 on Fedora Core 6

2009-05-11 Thread Vlad Volodin
Hello, What is the purpose of your update? Do you want to refresh a widget, or anything else? Vlad Volodin 2009/5/11 Adeel Malik adeelmali...@yahoo.com: Hi, I was wondering how to update the gtk_main_thread function after a fixed time interval (in milliseconds) as g_timer_add function

Re: Problem with installing GTK+-2.0.0 on Fedora Core 6

2009-05-11 Thread Vlad Volodin
iterations, and display on the GUI after every 100 ms or so. cheers, Adeel --- On Mon, 5/11/09, Vlad Volodin vest...@gmail.com wrote: From: Vlad Volodin vest...@gmail.com Subject: Re: Problem with installing GTK+-2.0.0 on Fedora Core 6 To: adeelmali...@yahoo.com Cc: gtk-app gtk-app-devel

Re: Problem with installing GTK+-2.0.0 on Fedora Core 6

2009-05-11 Thread Vlad Volodin
, a functionality that I am not supposed to change. Now I want to send a refesh signal to control (during the course of button callback function) and one way to do this it to call a g_timer_add function which my current gtk_installation (gtk 1.2.10) doesn't support. --- On Mon, 5/11/09, Vlad Volodin vest

Re: Cairo clearing problem.

2009-05-10 Thread Vlad Volodin
(); something can be a simple enum, or gboolean, which is assigned elsewhere. By the way, after changing it, you can send signals by yourself, to redraw your widget. Good luck, Vlad Volodin 2009/5/8 Developer csavore...@clubsanjorge.com.ar: Hi all! Well, I'm having a problem with clearing a line

Re: Pass more widgets as gpointer.

2009-04-22 Thread Vlad Volodin
and manipulate with self variables, constructors and destructors. Best regards, Vlad Volodin. 2009/4/21 Claudio Saavedra csaave...@igalia.com: On Tue, Apr 21, 2009 at 08:57:41AM +0400, Vlad Volodin wrote: Hello, Jens The other way is to make your widgets global. Especially, me? I use GOjects

Re: Pass more widgets as gpointer.

2009-04-22 Thread Vlad Volodin
sets will be more applicable. What do you think about all of this? Good luck in GTK programming :), Vlad Volodin 2009/4/22 Jens Hansen jensh...@gmail.com: Hi All. Thanks for all ideas, to this problem. I figured out how to pass more widgets in an array, which is IMHO the best way to do

Re: Hiding a GtkDialog and Cancel Callback

2009-04-22 Thread Vlad Volodin
try to stop event driving after your callback (to stop do any additional things after your click). Best regards, Vlad Volodin 2009/4/22 arne arne.pa...@gmx.de: Hello, I Build my application with glade, also a dialog. The Dialog is created from xml at startup, but not shown. If I need

Re: Pass more widgets as gpointer.

2009-04-20 Thread Vlad Volodin
Hello, Jens The other way is to make your widgets global. Especially, me? I use GOjects, and always pass self object. For example, I inherit main window object from GtkWindow and later in widgets definition pass itself to callback. Also, you can use g_object_set_data for storing some useful

Re: Root password

2009-04-15 Thread Vlad Volodin
try to look at gufw sources. They just use a simple call gksu (or gksudo) with their binary file in .desktop file. 2009/4/15 Paolo pra...@gmail.com: Do you know the dialog/widget where to insert the root password? I think it's gksu, right? How can I call that program o its libraries?

Re: Gtk and Netbeans

2009-03-28 Thread Vlad Volodin
Hello I'm using the next tip: in console I write: pkg-config gtk+-2.0 --cflags -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/glib-2.0

GtkButtonBox style problem

2009-03-20 Thread Vlad Volodin
to read properties, and where is the way to write them? Thank you in advance, Vlad Volodin ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: Background color problem

2009-03-18 Thread Vlad Volodin
. The others attempts such as {1, 2,}; make the first and the second field equal to 1 and 2, the third and so on are zero. Thank you Vlad Volodin 2009/3/17 Emmanuele Bassi eba...@gmail.com: On Tue, 2009-03-17 at 07:41 +0300, Vlad Volodin wrote: Sorry, I've asked this question, but I can't find any

Background color problem

2009-03-16 Thread Vlad Volodin
, Vlad Volodin ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: Background color problem

2009-03-16 Thread Vlad Volodin
Sorry, Brian, but as I said before, I also can't get the correct GtkWindow background color before it is shown. why? (thank you for your reply) 2009/3/16 Brian J. Tarricone bj...@cornell.edu: Vlad Volodin wrote: The canvas is white, and it doesn't have some kind of transparency. So, as I

Re: Background color problem

2009-03-16 Thread Vlad Volodin
the background color. X doesn't send the communication to the server until there is idle time OR you force it (by calling realize()). On Tue, 2009-03-17 at 00:11 +0300, Vlad Volodin wrote: Sorry, Brian, but as I said before, I also can't get the correct GtkWindow background color before it is shown

Re: Background color problem

2009-03-16 Thread Vlad Volodin
and everybody, who has helped me, again Best wishes, Vlad Volodin 2009/3/17 Emmanuele Bassi eba...@gmail.com: On Mon, 2009-03-16 at 23:28 +0300, Vlad Volodin wrote: first of all, you really want to use the clutter list. I'm using libclutter-gtk (with GtkClutterEmbed widget), where I want

Re: 2. Re: General tips about GTK+ programming

2009-03-05 Thread Vlad Volodin
file (50-100-200 kb). For me, as newbie, its hard to understand how it works. Thank you all. Vlad Volodin ps. I didn't want to say any bad about GnomeGames. My skills are low in such things, so that is why I show it as example. I prefer to break sources into small files, to make them clearer. 2009

General tips about GTK+ programming

2009-03-03 Thread Vlad Volodin
programming skills. Thank you again Vlad Volodin ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: General tips about GTK+ programming

2009-03-03 Thread Vlad Volodin
Hi Tomaz, I have to rewrite my game, using some general technique, in other words I'm a bit tied with this. So, I have to rewrite my code to GTK, and also I want to learn how to program with it :) Vlad Volodin 2009/3/3 Tomaz Canabrava tum...@gmail.com: from what I'v been into, it's better

Model-View-Control in GTK+

2009-02-25 Thread Vlad Volodin
Hello everybody, I would like to ask about implementing the MVC (especially M-VC) with GTK tools. I have an object, where I store internal data. It represents an array with rows and cols (board game with different colored coins). And I have a widget (DrawingArea), wich displays the data. Well, I