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 > Hi, > If I compile and run this simple code: > > > //

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 and

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" wrote: > I have two file: > > #THE MAIN### > #include > > int main( int argc, >

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

2012-03-27 Thread Vlad Volodin
aintained projects source code, the source code of > Devhelp is small 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 m

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 f

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 i

Re: slow gtk.label drawing

2011-07-25 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
; while loop, 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. &

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

2009-05-11 Thread Vlad Volodin
the > average varibale value, say for last 1000 iterations, and display on the GUI > after every 100 ms or so. > cheers, > Adeel > > --- On Mon, 5/11/09, Vlad Volodin wrote: > > From: Vlad Volodin > Subject: Re: Problem with installing GTK+-2.0.0 on Fedora Core 6

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

2009-05-10 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 : > Hi, I was wondering how to update the gtk_main_thread function after a fixed > time interval (in milliseconds) as g_timer_add function provides a

Re: Cairo clearing problem.

2009-05-10 Thread Vlad Volodin
else draw_other_lines(); "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 : > Hi all! > > Wel

Re: Hiding a GtkDialog and Cancel Callback

2009-04-22 Thread Vlad Volodin
on can you 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 : > Hello, > I Build my application with glade, also a dialog. > > The Dialog is created from xml at startup, but not shown. > >

Re: Pass more widgets as gpointer.

2009-04-22 Thread Vlad Volodin
e HashTables, or STL 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 : > Hi All. > > Thanks for all ideas, to this problem. I figured out how to pass more > widgets in an array, which is IMHO

Re: Pass more widgets as gpointer.

2009-04-22 Thread Vlad Volodin
es. That is why, I prefer GObjects and manipulate with "self" variables, constructors and destructors. Best regards, Vlad Volodin. 2009/4/21 Claudio Saavedra : > On Tue, Apr 21, 2009 at 08:57:41AM +0400, Vlad Volodin wrote: >> Hello, Jens >> >> The other way is to make yo

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 poi

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 : > 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 -I/

GtkButtonBox style problem

2009-03-20 Thread Vlad Volodin
le properties: gtk_widget_get_style --> gtk_style_get_property -- is it the way 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
t field equal to num. 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 : > On Tue, 2009-03-17 at 07:41 +0300, Vlad Volodin wrote: > >> Sorry, I've asked this quest

Re: Background color problem

2009-03-16 Thread Vlad Volodin
27;t look as it able to clear all the structure). Thank you and everybody, who has helped me, again Best wishes, Vlad Volodin 2009/3/17 Emmanuele Bassi : > On Mon, 2009-03-16 at 23:28 +0300, Vlad Volodin wrote: > > first of all, you really want to use the clutter list. > >> I&#x

Re: Background color problem

2009-03-16 Thread Vlad Volodin
again :) 2009/3/17 Chuck Crisler : > Rather than showing the window, call realize(). That does everything > that show() does EXCEPT make the window visible. Then you should be able > to get the background color. X doesn't send the communication to the > server until there is idle

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 : > Vlad Volodin wrote: > >> The canvas is white, and it doesn't have some kind of transparency.

Background color problem

2009-03-16 Thread Vlad Volodin
here I will recheck widget's color and use it as background. What should I use, when I want to redraw my widgets when user dynamically changes GTK theme? 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: 2. Re: General tips about GTK+ programming

2009-03-05 Thread Vlad Volodin
re written in main.c 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

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 : > from what I'v been into, it's bett

General tips about GTK+ programming

2009-03-03 Thread Vlad Volodin
iew of GTK programming and rewrite my C++ game made by GTKmm to GTK, and improve 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

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