RE: how to justify text in a GtkTextView -- workaround

2005-02-01 Thread Boncek, John
center and right justification only works when wrapping is turned on. -Original Message- From: Boncek, John Sent: Tuesday, February 01, 2005 11:52 AM To: 'Paolo Costabel' Cc: gtk-app-devel-list@gnome.org Subject: RE: how to justify text in a GtkTextView Indeed it does. Thanks. I

RE: how to justify text in a GtkTextView

2005-02-01 Thread Boncek, John
PROTECTED] Sent: Tuesday, February 01, 2005 11:27 AM To: Boncek, John Cc: gtk-app-devel-list@gnome.org Subject: Re: how to justify text in a GtkTextView I have attached a snapshot of your test program. Looks centered to me. I'm using Gtk 2.4.10. Boncek, John wrote: >I don't know what

Re: how to justify text in a GtkTextView

2005-02-01 Thread Paolo Costabel
inal Message- From: Paolo Costabel [mailto:[EMAIL PROTECTED] Sent: Monday, January 31, 2005 4:10 PM To: Boncek, John Cc: gtk-app-devel-list@gnome.org Subject: Re: how to justify text in a GtkTextView Do gtk_text_buffer_set_text after gtk_text_view_set_justification Boncek, John wrote: I

RE: how to justify text in a GtkTextView

2005-02-01 Thread Boncek, John
GTK_CAN_DEFAULT); gtk_widget_grab_default (button); gtk_widget_show (button); gtk_widget_show (window); gtk_main(); return 0; } -Original Message- From: Paolo Costabel [mailto:[EMAIL PROTECTED] Sent: Monday, January 31, 2005 5:42 PM To: Boncek, John Cc: gtk-app

Re: how to justify text in a GtkTextView

2005-01-31 Thread Paolo Costabel
, 2005 4:10 PM To: Boncek, John Cc: gtk-app-devel-list@gnome.org Subject: Re: how to justify text in a GtkTextView Do gtk_text_buffer_set_text after gtk_text_view_set_justification Boncek, John wrote: I can't get text justification to work. Am I missing something? Here is a code sn

RE: how to justify text in a GtkTextView

2005-01-31 Thread Boncek, John
Thanks for your suggestion, which I just tried. No difference. -Original Message- From: Paolo Costabel [mailto:[EMAIL PROTECTED] Sent: Monday, January 31, 2005 4:10 PM To: Boncek, John Cc: gtk-app-devel-list@gnome.org Subject: Re: how to justify text in a GtkTextView Do

Re: how to justify text in a GtkTextView

2005-01-31 Thread Paolo Costabel
Do gtk_text_buffer_set_text after gtk_text_view_set_justification Boncek, John wrote: I can't get text justification to work. Am I missing something? Here is a code snippet: // create TextView GtkTextView * view; GtkTextBuffer * buffer; view = G

how to justify text in a GtkTextView

2005-01-31 Thread Boncek, John
I can't get text justification to work. Am I missing something? Here is a code snippet: // create TextView GtkTextView * view; GtkTextBuffer * buffer; view = GTK_TEXT_VIEW(gtk_text_view_new()); buffer = gtk_text_view_get_buffer(view);