GtexFindBar

GtexFindBar — Find bar widget

Functions

Types and Values

Object Hierarchy

    GObject
    ╰── GInitiallyUnowned
        ╰── GtkWidget
            ╰── GtkContainer
                ╰── GtkBin
                    ╰── GtexFindBar

Implemented Interfaces

GtexFindBar implements AtkImplementorIface and GtkBuildable.

Includes

#include <gtex.h>

Description

GtexFindBar contains only the widget part of the Find and Replace feature, and is an horizontal bar.

Functions

gtex_find_bar_new ()

GtexFindBar *
gtex_find_bar_new (void);

Returns

a new GtexFindBar widget.

[transfer floating]


gtex_find_bar_set_mode ()

void
gtex_find_bar_set_mode (GtexFindBar *find_bar,
                        GtexFindBarMode new_mode);

Parameters

find_bar

a GtexFindBar.

 

new_mode

the new mode to set.

 

gtex_find_bar_get_find_entry ()

GtkSearchEntry *
gtex_find_bar_get_find_entry (GtexFindBar *find_bar);

Parameters

find_bar

a GtexFindBar.

 

Returns

the GtkSearchEntry of find_bar to search for text.

[transfer none]


gtex_find_bar_get_previous_button ()

GtkButton *
gtex_find_bar_get_previous_button (GtexFindBar *find_bar);

Parameters

find_bar

a GtexFindBar.

 

Returns

the GtkButton of find_bar to go to the previous match.

[transfer none]


gtex_find_bar_get_next_button ()

GtkButton *
gtex_find_bar_get_next_button (GtexFindBar *find_bar);

Parameters

find_bar

a GtexFindBar.

 

Returns

the GtkButton of find_bar to go to the next match.

[transfer none]


gtex_find_bar_get_close_button ()

GtkButton *
gtex_find_bar_get_close_button (GtexFindBar *find_bar);

Parameters

find_bar

a GtexFindBar.

 

Returns

the GtkButton to close find_bar .

[transfer none]


gtex_find_bar_get_info_label ()

GtkLabel *
gtex_find_bar_get_info_label (GtexFindBar *find_bar);

Parameters

find_bar

a GtexFindBar.

 

Returns

the GtkLabel of find_bar to show information about the number of matches.

[transfer none]


gtex_find_bar_get_check_menu_item ()

GtkCheckMenuItem *
gtex_find_bar_get_check_menu_item (GtexFindBar *find_bar,
                                   const gchar *item_name);

Parameters

find_bar

a GtexFindBar.

 

item_name

the item name.

 

Returns

the GtkCheckMenuItem of find_bar corresponding to item_name .

[transfer none]


gtex_find_bar_get_replace_grid ()

GtkGrid *
gtex_find_bar_get_replace_grid (GtexFindBar *find_bar);

Parameters

find_bar

a GtexFindBar.

 

Returns

the GtkGrid of find_bar containing the “Replace” component.

[transfer none]


gtex_find_bar_get_replace_entry ()

GtkSearchEntry *
gtex_find_bar_get_replace_entry (GtexFindBar *find_bar);

Parameters

find_bar

a GtexFindBar.

 

Returns

the GtkSearchEntry of find_bar for the replacement text.

[transfer none]


gtex_find_bar_get_replace_button ()

GtkButton *
gtex_find_bar_get_replace_button (GtexFindBar *find_bar);

Parameters

find_bar

a GtexFindBar.

 

Returns

the GtkButton of find_bar to replace one match.

[transfer none]


gtex_find_bar_get_replace_all_button ()

GtkButton *
gtex_find_bar_get_replace_all_button (GtexFindBar *find_bar);

Parameters

find_bar

a GtexFindBar.

 

Returns

the GtkButton of find_bar to replace all matches.

[transfer none]

Types and Values

struct GtexFindBar

struct GtexFindBar;

enum GtexFindBarMode

The GtexFindBar mode.

Members

GTEX_FIND_BAR_MODE_FIND_ONLY

Only the find component is shown.

 

GTEX_FIND_BAR_MODE_FIND_AND_REPLACE

Both the find and replace components are shown.