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:
>
>
> //
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
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,
>
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
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
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
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
_
; 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.
&
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
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
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
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.
>
>
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
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
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
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?
> ___
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/
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
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
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
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
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.
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 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
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
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
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
27 matches
Mail list logo