Top |
GObject ╰── GInitiallyUnowned ╰── GtkWidget ╰── GtkContainer ╰── GtkBin ╰── TeplLineColumnIndicator
TeplLineColumnIndicator indicates the cursor position by line and column numbers. For example: "Ln 2, Col 3".
The usual case is to pack this widget in a GtkStatusbar.
TeplLineColumnIndicator *
tepl_line_column_indicator_new (void
);
Since: 6.4
void tepl_line_column_indicator_set_view (TeplLineColumnIndicator *indicator
,TeplView *view
);
Sets a TeplView to update automatically the values for the line and column
of the current cursor position. If view
is NULL
, then indicator
will be
empty.
Use tepl_line_column_indicator_set_view()
or
tepl_line_column_indicator_set_tab_group()
, but not both.
Since: 6.4
void tepl_line_column_indicator_set_tab_group (TeplLineColumnIndicator *indicator
,TeplTabGroup *tab_group
);
Sets a TeplTabGroup to update automatically the values for the line and column of the current cursor position, for the current “active-tab”.
This function can be called only once per indicator
.
Use tepl_line_column_indicator_set_view()
or
tepl_line_column_indicator_set_tab_group()
, but not both.
Since: 6.4