Top | ![]() |
![]() |
![]() |
![]() |
GtkWidget * | egg_find_bar_new () |
void | egg_find_bar_set_search_string () |
const char * | egg_find_bar_get_search_string () |
void | egg_find_bar_set_case_sensitive () |
gboolean | egg_find_bar_get_case_sensitive () |
void | egg_find_bar_get_all_matches_color () |
void | egg_find_bar_get_current_match_color () |
void | egg_find_bar_set_status_text () |
GObject ╰── GInitiallyUnowned ╰── GtkObject ╰── GtkWidget ╰── GtkContainer ╰── GtkToolbar ╰── EggFindBar
EggFindBar implements AtkImplementorIface, GtkBuildable, GtkToolShell and GtkOrientable.
void egg_find_bar_set_search_string (EggFindBar *find_bar
,const char *search_string
);
Sets the string that should be found/highlighted in the document. Empty string is converted to NULL.
Since 2.6
const char *
egg_find_bar_get_search_string (EggFindBar *find_bar
);
Gets the string that should be found/highlighted in the document.
Since 2.6
void egg_find_bar_set_case_sensitive (EggFindBar *find_bar
,gboolean case_sensitive
);
Sets whether the search is case sensitive
Since 2.6
gboolean
egg_find_bar_get_case_sensitive (EggFindBar *find_bar
);
Gets whether the search is case sensitive
Since 2.6
void egg_find_bar_get_all_matches_color (EggFindBar *find_bar
,GdkColor *color
);
Gets the color to use to highlight all the known matches.
Since 2.6
void egg_find_bar_get_current_match_color (EggFindBar *find_bar
,GdkColor *color
);
Gets the color to use to highlight the match we're currently on.
Since 2.6
void egg_find_bar_set_status_text (EggFindBar *find_bar
,const char *text
);
Sets some text to display if there's space; typical text would be something like "5 results on this page" or "No results"
text
: the text to display
Since 2.6
struct EggFindBarClass { GtkToolbarClass parent_class; void (* next) (EggFindBar *find_bar); void (* previous) (EggFindBar *find_bar); void (* close) (EggFindBar *find_bar); void (* scroll) (EggFindBar *find_bar, GtkScrollType* scroll); /* Padding for future expansion */ void (*_gtk_reserved1) (void); void (*_gtk_reserved2) (void); void (*_gtk_reserved3) (void); void (*_gtk_reserved4) (void); };
“case-sensitive”
property“case-sensitive” gboolean
TRUE for a case sensitive search.
Flags: Read / Write
Default value: FALSE
“search-string”
property“search-string” gchar *
The name of the string to be found.
Flags: Read / Write
Default value: NULL
“previous”
signalvoid user_function (EggFindBar *eggfindbar, gpointer user_data)
Flags: Run First
“scroll”
signalvoid user_function (EggFindBar *eggfindbar, GtkScrollType arg1, gpointer user_data)
Flags: Action