textview attributes [was Re: printf]
- From: shuyingw cse unsw edu au (Shuying Wang)
- To: gtk-app-devel-list gnome org
- Subject: textview attributes [was Re: printf]
- Date: Tue, 8 Jun 2004 22:38:54 +1000
Wow. This is quick response. :) Actually, box *was* NULL, although it shouldn't be and I
only realised after I posted that email. Thanks for the suggestions.
So my next question is, I have an editable text buffer (I'm using gtk_text_view) and
I embed another widget with gtk_text_view_add_child_at_anchor. However, the widget is not quite
aligned with the rest of the text. How do I get either the text or the widget to shift
downward by X amount? I noticed there is a way to get the GtkTextAttributes. Is there a way
to set it?
thanks,
Shuying
On Tue, Jun 08, 2004 at 12:52:32PM +0100, martyn 2 russell bt com wrote:
Does printf () behave the same way?
By the looks of it, box must be NULL, although I bet you're going to
tell me it isn't.
What happens if you replace height, width and depth for actual integers?
Regards,
Martyn
--
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]