GtkFileChooserButton bug?

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

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

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

PangoLayout PangoMatrix

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

GTK+, building a display

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

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...

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

GtkLabel + PangoLayout

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

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 gtk/gtk.h gpointer cb_t1(gpointer d) { while (1) { g_usleep(1000 *

GTK+ Font Metrics (Creating a display)

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