Freeciv-3.2
|
Go to the source code of this file.
void apply_text_tag | ( | const struct text_tag * | ptag, |
GtkTextBuffer * | buf, | ||
ft_offset_t | text_start_offset, | ||
const char * | text | ||
) |
Convert a struct text_tag to a GtkTextTag.
Definition at line 755 of file chatline.c.
Referenced by real_luaconsole_append(), and real_output_window_append().
Initializes the chatline stuff.
Definition at line 1302 of file chatline.c.
Referenced by activate_gui(), and ui_main().
Returns whether the chatline is scrolled to the bottom.
Definition at line 959 of file chatline.c.
Referenced by button_toggled(), and voteinfo_gui_update().
Scrolls the pregame and in-game chat windows all the way to the bottom. If delayed is TRUE, it will be done in a idle_callback.
Definition at line 1006 of file chatline.c.
Referenced by button_toggled(), chatline_scroll_callback(), main_message_area_resize(), main_message_area_size_allocate(), real_set_client_page(), and voteinfo_gui_update().
Gives the focus to the intput line.
Definition at line 79 of file chatline.c.
Referenced by real_set_client_page(), toplevel_key_press_handler(), and toplevel_key_press_handler().
Returns TRUE iff the input line has focus.
Definition at line 71 of file chatline.c.
Referenced by toplevel_key_press_handler(), toplevel_key_press_handler(), and toplevel_key_release_handler().
Returns TRUE iff the input line is currently visible.
Definition at line 87 of file chatline.c.
Referenced by toplevel_key_press_handler(), and toplevel_key_press_handler().
Make a chat link at the current position or make the current selection clickable.
Definition at line 474 of file chatline.c.
Referenced by butt_down_mapcanvas(), and right_butt_down_mapcanvas().
Appends a button to the inputline toolkit view widget.
Definition at line 1292 of file chatline.c.
Referenced by create_start_page(), and setup_widgets().
Returns a new inputline toolkit view widget that can contain the inputline.
This widget has the following datas: "button_box": pointer to the GtkHBox where to append buttons.
Returns a new inputline toolkit view widget that can contain the inputline.
This widget has the following datas: "button_box": pointer to the GtkBox where to append buttons.
Definition at line 1270 of file chatline.c.
Referenced by create_start_page(), and setup_widgets().
void scroll_if_necessary | ( | GtkTextView * | textview, |
GtkTextMark * | scroll_target | ||
) |
Scroll a textview so that the given mark is visible, but only if the scroll window containing the textview is very close to the bottom. The text mark 'scroll_target' should probably be the first character of the last line in the text buffer.
Definition at line 557 of file chatline.c.
Referenced by real_luaconsole_append(), and real_output_window_append().
Set the appropriate callbacks for the message buffer.
Definition at line 744 of file chatline.c.
Referenced by luaconsole_dialog_create(), and setup_widgets().
Set given text to output window
Definition at line 951 of file chatline.c.