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.
Initializes the chatline stuff.
Definition at line 1302 of file chatline.c.
Returns whether the chatline is scrolled to the bottom.
Definition at line 959 of file chatline.c.
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.
Gives the focus to the intput line.
Definition at line 79 of file chatline.c.
Returns TRUE iff the input line has focus.
Definition at line 71 of file chatline.c.
Returns TRUE iff the input line is currently visible.
Definition at line 87 of file chatline.c.
Make a chat link at the current position or make the current selection clickable.
Definition at line 474 of file chatline.c.
Appends a button to the inputline toolkit view widget.
Definition at line 1292 of file chatline.c.
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.
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.
Set the appropriate callbacks for the message buffer.
Definition at line 744 of file chatline.c.
Set given text to output window
Definition at line 951 of file chatline.c.