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.org
http://mail.gnome.org
[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
[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
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
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman
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 the skins) at runtime, so I
must recalculate this every time.
Leonel Freire
___
gtk-app
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...
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_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 screen? =\
--
Leonel Freire
___
gtk
I'm doing a multithreading program using GTK+ (a POS emulator) and I'm using
something like that:
//
#include gtk/gtk.h
gpointer cb_t1(gpointer d)
{
while (1)
{
g_usleep(1000 *
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
___
gtk-app-devel
10 matches
Mail list logo