![]() |
![]() |
![]() |
Epiphany Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Implemented Interfaces | Properties | Signals |
EphyToolbar; EphyToolbar * ephy_toolbar_new (EphyWindow *window
); GtkActionGroup * ephy_toolbar_get_action_group (EphyToolbar *toolbar
); void ephy_toolbar_set_favicon (EphyToolbar *toolbar
,GdkPixbuf *icon
); void ephy_toolbar_set_show_leave_fullscreen (EphyToolbar *toolbar
,gboolean show
); void ephy_toolbar_activate_location (EphyToolbar *toolbar
); const char * ephy_toolbar_get_location (EphyToolbar *toolbar
); void ephy_toolbar_set_location (EphyToolbar *toolbar
,const char *address
); void ephy_toolbar_set_navigation_actions (EphyToolbar *toolbar
,gboolean back
,gboolean forward
,gboolean up
); void ephy_toolbar_set_navigation_tooltips (EphyToolbar *toolbar
,const char *back_title
,const char *forward_title
); void ephy_toolbar_set_security_state (EphyToolbar *toolbar
,gboolean is_secure
,gboolean show_lock
,const char *stock_id
,const char *tooltip
); void ephy_toolbar_set_spinning (EphyToolbar *toolbar
,gboolean spinning
); void ephy_toolbar_set_zoom (EphyToolbar *toolbar
,gboolean can_zoom
,float zoom
);
GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBox +----GtkVBox +----EggEditableToolbar +----EphyToolbar
EphyToolbar implements AtkImplementorIface, GtkBuildable, GtkOrientable and EphyLink.
EphyToolbar * ephy_toolbar_new (EphyWindow *window
);
Creates a new EphyToolbar and associates it with window
.
|
parent window for the toolbar |
Returns : |
a new EphyToolbar |
GtkActionGroup * ephy_toolbar_get_action_group (EphyToolbar *toolbar
);
Gets the GtkActionGroup for toolbar
.
|
an EphyToolbar widget |
Returns : |
. [transfer none] |
void ephy_toolbar_set_favicon (EphyToolbar *toolbar
,GdkPixbuf *icon
);
Sets icon
to be the favicon of toolbar
's internal EphyLocationEntry.
|
an EphyToolbar widget |
|
a GdkPixbuf icon |
void ephy_toolbar_set_show_leave_fullscreen (EphyToolbar *toolbar
,gboolean show
);
Tells toolbar
if it should show the leave fullscreen button or not.
|
an EphyToolbar widget |
|
TRUE to show the leave fullscreen button
|
void ephy_toolbar_activate_location (EphyToolbar *toolbar
);
Calls ephy_location_entry_activate on toolbar
's internal EphyLocationEntry.
|
an EphyToolbar widget |
const char * ephy_toolbar_get_location (EphyToolbar *toolbar
);
Gets the current address according to toolbar
's EphyLocationAction.
|
an EphyToolbar widget |
Returns : |
current toolbar address
|
void ephy_toolbar_set_location (EphyToolbar *toolbar
,const char *address
);
Sets the internal EphyLocationAction address to address
.
|
an EphyToolbar widget |
|
new address |
void ephy_toolbar_set_navigation_actions (EphyToolbar *toolbar
,gboolean back
,gboolean forward
,gboolean up
);
Sets the sensivity of navigation buttons in the toolbar
.
|
an EphyToolbar widget |
|
TRUE if possible to go backward
|
|
TRUE if possible to go forward
|
|
TRUE if possible to go up
|
void ephy_toolbar_set_navigation_tooltips (EphyToolbar *toolbar
,const char *back_title
,const char *forward_title
);
Sets the titles of back and forward pages as the tooltips of its corresponding navigation buttons.
|
an EphyToolbar widget |
|
text for back button tooltip |
|
text for forward button tooltip |
void ephy_toolbar_set_security_state (EphyToolbar *toolbar
,gboolean is_secure
,gboolean show_lock
,const char *stock_id
,const char *tooltip
);
Sets properties on the lock icon inside the internal EphyLocationEntry.
|
an EphyToolbar widget |
|
TRUE if the page is loaded over a secure connection
|
|
TRUE to show the lock icon in the location entry
|
|
stock-id to be used as the lock icon |
|
tooltip for the lock icon |
void ephy_toolbar_set_spinning (EphyToolbar *toolbar
,gboolean spinning
);
Controls the internal EphySpinner activity.
|
an EphyToolbar widget |
|
TRUE to set the internal EphySpinner as active
|
void ephy_toolbar_set_zoom (EphyToolbar *toolbar
,gboolean can_zoom
,float zoom
);
Sets the zoom level to zoom
, but only if can_zoom
is TRUE
.
|
an EphyToolbar widget |
|
TRUE if the current EphyWebView can zoom
|
|
new zoom level |
"activation-finished"
signalvoid user_function (EphyToolbar *toolbar, gpointer user_data) : Run First
Emitted when the user clicks on the security icon of the internal EphyLocationEntry.
|
the object which received the signal. |
|
user data set when the signal handler was connected. |
"exit-clicked"
signalvoid user_function (EphyToolbar *toolbar, gpointer user_data) : Run First
Emitted when the user clicks on the security icon of the internal EphyLocationEntry.
|
the object which received the signal. |
|
user data set when the signal handler was connected. |
"lock-clicked"
signalvoid user_function (EphyToolbar *toolbar, gpointer user_data) : Run First
Emitted when the user clicks on the security icon of the internal EphyLocationEntry.
|
the object which received the signal. |
|
user data set when the signal handler was connected. |