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
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
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
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
, 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
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
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
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);