|
Public Member Functions |
virtual | ~TextView () |
GtkTextView* | gobj () |
| Provides access to the underlying C GtkObject.
|
const GtkTextView* | gobj () const |
| Provides access to the underlying C GtkObject.
|
| TextView () |
| TextView (const Glib::RefPtr<TextBuffer>& buffer) |
void | set_buffer (const Glib::RefPtr<TextBuffer>& buffer) |
Glib::RefPtr<TextBuffer> | get_buffer () |
Glib::RefPtr<const TextBuffer> | get_buffer () const |
bool | scroll_to_iter (TextBuffer::iterator& iter, double within_margin) |
bool | scroll_to_iter (TextBuffer::iterator& iter, double within_margin, double xalign, double yalign) |
void | scroll_to_mark (const Glib::RefPtr<TextBuffer::Mark>& mark, double within_margin) |
void | scroll_to_mark (const Glib::RefPtr<TextBuffer::Mark>& mark, double within_margin, double xalign, double yalign) |
void | scroll_mark_onscreen (const Glib::RefPtr<TextBuffer::Mark>& mark) |
bool | move_mark_onscreen (const Glib::RefPtr<TextBuffer::Mark>& mark) |
bool | place_cursor_onscreen () |
void | get_visible_rect (Gdk::Rectangle& visible_rect) |
void | set_cursor_visible (bool setting=true) |
bool | get_cursor_visible () const |
void | get_iter_location (const TextBuffer::iterator& iter, Gdk::Rectangle& location) |
void | get_iter_at_location (TextBuffer::iterator& iter, int x, int y) |
void | get_line_yrange (const TextBuffer::iterator& iter, int& y, int& height) |
void | get_line_at_y (TextBuffer::iterator& target_iter, int y, int& line_top) |
void | buffer_to_window_coords (TextWindowType win, int buffer_x, int buffer_y, int& window_x, int& window_y) |
void | window_to_buffer_coords (TextWindowType win, int window_x, int window_y, int& buffer_x, int& buffer_y) |
Glib::RefPtr<Gdk::Window> | get_window (TextWindowType win) |
Glib::RefPtr<const Gdk::Window> | get_window (TextWindowType win) const |
TextWindowType | get_window_type (const Glib::RefPtr<Gdk::Window>& window) |
void | set_border_window_size (TextWindowType type, int size) |
int | get_border_window_size (TextWindowType type) |
bool | forward_display_line (TextBuffer::iterator& iter) |
bool | backward_display_line (TextBuffer::iterator& iter) |
bool | forward_display_line_end (TextBuffer::iterator& iter) |
bool | backward_display_line_start (TextBuffer::iterator& iter) |
bool | starts_display_line (const TextBuffer::iterator& iter) |
bool | move_visually (TextBuffer::iterator& iter, int count) |
void | add_child_at_anchor (Widget& child, const Glib::RefPtr<TextChildAnchor>& anchor) |
void | add_child_in_window (Widget& child, TextWindowType which_window, int xpos, int ypos) |
void | move_child (Widget& child, int xpos, int ypos) |
void | set_wrap_mode (WrapMode wrap_mode) |
WrapMode | get_wrap_mode () |
void | set_editable (bool setting=true) |
bool | get_editable () const |
void | set_pixels_above_lines (int pixels_above_lines) |
int | get_pixels_above_lines () |
void | set_pixels_below_lines (int pixels_below_lines) |
int | get_pixels_below_lines () |
void | set_pixels_inside_wrap (int pixels_inside_wrap) |
int | get_pixels_inside_wrap () |
void | set_justification (Justification justification) |
Justification | get_justification () |
void | set_left_margin (int left_margin) |
int | get_left_margin () |
void | set_right_margin (int right_margin) |
int | get_right_margin () |
void | set_indent (int indent) |
int | get_indent () |
void | set_tabs (Pango::TabArray& tabs) |
Pango::TabArray | get_tabs () |
TextAttributes | get_default_attributes () |
void | set_overwrite (bool overwrite=true) |
bool | get_overwrite () const |
void | set_accepts_tab (bool accepts_tab=true) |
bool | get_accepts_tab () const |
Glib::SignalProxy2< void,
Adjustment*, Adjustment* > | signal_set_scroll_adjustments () |
Glib::SignalProxy1< void,
Menu* > | signal_populate_popup () |
Glib::SignalProxy0<void> | signal_set_anchor () |
Glib::SignalProxy1< void,
const Glib::ustring& > | signal_insert_at_cursor () |
Glib::PropertyProxy<int> | property_pixels_above_lines () |
| You rarely need to use properties because there are get_ and set_ methods for almost all of them.
|
Glib::PropertyProxy<int> | property_pixels_below_lines () |
| You rarely need to use properties because there are get_ and set_ methods for almost all of them.
|
Glib::PropertyProxy<int> | property_pixels_inside_wrap () |
| You rarely need to use properties because there are get_ and set_ methods for almost all of them.
|
Glib::PropertyProxy<bool> | property_editable () |
| You rarely need to use properties because there are get_ and set_ methods for almost all of them.
|
Glib::PropertyProxy<WrapMode> | property_wrap_mode () |
| You rarely need to use properties because there are get_ and set_ methods for almost all of them.
|
Glib::PropertyProxy<Justification> | property_justification () |
| You rarely need to use properties because there are get_ and set_ methods for almost all of them.
|
Glib::PropertyProxy<int> | property_left_margin () |
| You rarely need to use properties because there are get_ and set_ methods for almost all of them.
|
Glib::PropertyProxy<int> | property_right_margin () |
| You rarely need to use properties because there are get_ and set_ methods for almost all of them.
|
Glib::PropertyProxy<int> | property_indent () |
| You rarely need to use properties because there are get_ and set_ methods for almost all of them.
|
Glib::PropertyProxy<Pango::TabArray> | property_tabs () |
| You rarely need to use properties because there are get_ and set_ methods for almost all of them.
|
Glib::PropertyProxy<bool> | property_cursor_visible () |
| You rarely need to use properties because there are get_ and set_ methods for almost all of them.
|
Glib::PropertyProxy< Glib::RefPtr<
TextBuffer > > | property_buffer () |
| You rarely need to use properties because there are get_ and set_ methods for almost all of them.
|
Glib::PropertyProxy<bool> | property_overwrite () |
| You rarely need to use properties because there are get_ and set_ methods for almost all of them.
|
Glib::PropertyProxy<bool> | property_accepts_tab () |
| You rarely need to use properties because there are get_ and set_ methods for almost all of them.
|
Protected Member Functions |
virtual void | on_set_scroll_adjustments (Adjustment* hadjustment, Adjustment* vadjustment) |
virtual void | on_populate_popup (Menu* menu) |
virtual void | on_set_anchor () |
virtual void | on_insert_at_cursor (const Glib::ustring& str) |
Related Functions |
(Note that these are not member functions.)
|
Gtk::TextView* | wrap (GtkTextView* object, bool take_copy=false) |