Questions tagged [gtktextview]

GtkTextView, part of the GTK+ (GIMP Toolkit), is a widget that displays a GtkTextBuffer.

37 questions
0
votes
1 answer

Linux / C / GTK+ Set GtkTextView background to the default window colour

I want to set the GtkTexetView background colour to the window's default colour so that it looks like a GtkLabel. Take a look at these images, but please note that I want it for C and not PHP, and I use GNOME, not MS Windows.
user197967
0
votes
1 answer

GtkLabel reset and GtkTextView max length

I've a NULL gtklabel. Upon the occurrence of an event, I set a text in this label (with gtk_label_set_text). How can I reset the gtklabel after the event (reset to NULL)? How can I set the max length (characters) of a GtkTextView? What's the…
stdio
  • 435
  • 2
  • 7
  • 18
0
votes
1 answer

How can I disable editting for GtkTextView in C?

I tried this one and it generates a TextView window: http://zetcode.com/tutorials/gtktutorial/gtktextview/ But I don't want it to be editable. BTW, how can I show the scroll bar when the text overflows?
Gtker
  • 2,237
  • 9
  • 29
  • 37
0
votes
2 answers

adding number to GtkTextBuffer in gtk+3

how can we add a number of type gint to a TextBuffer in gtk+3? gtk_text_buffer_set_text has argument of type gchar but I want to set integer of type gint
user3318922
  • 51
  • 1
  • 6
0
votes
2 answers

What are the differences between GtkEntry and GtkTextView?

Apart from GTextView being multiline and able to display text in different styles (font, color etc. using tags), what are other obvious differences between the two?
Aaron S
  • 5,023
  • 4
  • 29
  • 30
0
votes
2 answers

Gtk::TextView with constant string

I am using Gtkmm 3+ and What I am trying to do is have the text buffer have the constant string "> " even if the user tries to delete it. In addition when the user pressed return it will automatically be there again. Basically have a constant string…
vis.15
  • 751
  • 8
  • 18
0
votes
1 answer

python gtk save gtksourceview

I am working with GTK in Python. I noticed that it is easy to SAVE AS but for some reason I cannot just SAVE a file. I thought I'd set it up to check if it was saved at all and then SAVE but for some reason it restarts the function over and over w/o…
LUser
  • 1,127
  • 4
  • 23
  • 39
1 2
3