TeplGotoLineBar

TeplGotoLineBar — Horizontal bar for the 'Go to line' feature

Functions

Types and Values

Object Hierarchy

    GObject
    ╰── GInitiallyUnowned
        ╰── GtkWidget
            ╰── GtkContainer
                ╰── GtkGrid
                    ╰── TeplGotoLineBar

Implemented Interfaces

TeplGotoLineBar implements AtkImplementorIface, GtkBuildable and GtkOrientable.

Includes

#include <tepl/tepl.h>

Description

TeplGotoLineBar is an horizontal bar containing among other things:

When the GtkSearchEntry's content changes, tepl_view_goto_line() is called on the associated TeplView.

High-level API

TeplGotoLineBar is integrated in the Tepl framework, see:

Functions

tepl_goto_line_bar_new ()

TeplGotoLineBar *
tepl_goto_line_bar_new (void);

Returns

a new TeplGotoLineBar widget.

[transfer floating]

Since: 5.0


tepl_goto_line_bar_set_view ()

void
tepl_goto_line_bar_set_view (TeplGotoLineBar *bar,
                             TeplView *view);

Sets the TeplView. tepl_view_goto_line() will be called on view when the user types a line number in the GtkSearchEntry of bar .

Only one TeplView can be associated per TeplGotoLineBar.

Parameters

bar

a TeplGotoLineBar.

 

view

a TeplView.

 

Since: 5.0


tepl_goto_line_bar_grab_focus_to_entry ()

void
tepl_goto_line_bar_grab_focus_to_entry
                               (TeplGotoLineBar *bar);

Calls gtk_widget_grab_focus() to the GtkSearchEntry of bar .

Parameters

bar

a TeplGotoLineBar.

 

Since: 5.0

Types and Values

struct TeplGotoLineBar

struct TeplGotoLineBar;