[EMAIL PROTECTED] ~]$ pkg-config --modversion gtk+-2.0
2.10.14
¬¬
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
[EMAIL PROTECTED] ~]$ pkg-config --modversion gtk+-2.0
2.10.14
Leonel Freire
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
27;m getting a segfault after this. I don't know if what's happening have
something to do with this:
http://bugzilla.gnome.org/show_bug.cgi?id=447378
Can someone confirm?
Leonel Freire
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.
gtk_main();
return 0;
}
Well...
What I'm trying to do is a "double width" text, but with the normal
height... what's wrong with this code? It shows just a bad formated text,
nothing that I was expecting...
--
Leonel Freire
___
me and CPU usage.
Another way to see my problem is answering this question: if I have a
display with 168x136 pixels and 21x8 cols what font size, in points, should
I use that best fits this display?
The display size can change (the user can change t
Sorry...
"Double width: 42 chars (210 x 20) -> two "char width" for each char, but
the same height"
Not 210 x 20... but 420 x 20... the same size but with just 21 chars, each
one with double width. =P
___
gtk-app-devel-list mailing list
gtk-app-devel-li
I'm was trying to change de label pango context matrix, but no success.
"because you need to queue a redraw of the label."
After this I wrote...
...
layout = gtk_label_get_layout(GTK_LABEL(label));
pango_layout_set_text(layout, "TEXT", -1);
gtk_widget_queue_draw(label);
But nothing happened...
);
layout = gtk_label_get_layout(GTK_LABEL(label));
pango_layout_set_text(layout, "TEXT", -1);
gtk_widget_show(window);
gtk_main();
/**/
Why the text isn't updated on the scre
I'm doing a multithreading program using GTK+ (a POS emulator) and I'm using
something like that:
//
#include
gpointer cb_t1(gpointer d)
{
while (1)
{
g_usleep(1000 * 2000);
x17 pixels char? (It's
depends on the font, but how can I calculate this?).
* I must calculate the font size at run time.
* The display resolution will be changeable, something like skins.
* Each line of the display is a GtkLabel.
Leonel Freire
__
10 matches
Mail list logo