Re: GtkFileChooserButton bug?

2007-08-19 Thread Leonel Freire
[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

Re: GtkFileChooserButton bug?

2007-08-19 Thread Leonel Freire
[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

GtkFileChooserButton bug?

2007-08-19 Thread Leonel Freire
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.

PangoLayout & PangoMatrix

2007-08-07 Thread Leonel Freire
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 ___

GTK+, building a display

2007-06-27 Thread 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

Re: GtkLabel + PangoLayout

2007-05-22 Thread Leonel Freire
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

Re: GtkLabel + PangoLayout

2007-05-22 Thread Leonel Freire
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...

GtkLabel + PangoLayout

2007-05-21 Thread Leonel Freire
); 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

Re: Gtk+ and multithreating

2007-05-17 Thread Leonel Freire
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);

GTK+ Font Metrics (Creating a display)

2007-04-11 Thread Leonel Freire
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 __