![]() |
![]() |
![]() |
Eye of GNOME Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Implemented Interfaces | Properties |
enum EogThumbNavMode; EogThumbNav; GtkWidget * eog_thumb_nav_new (GtkWidget *thumbview, EogThumbNavMode mode, gboolean show_buttons); gboolean eog_thumb_nav_get_show_buttons (EogThumbNav *nav); void eog_thumb_nav_set_show_buttons (EogThumbNav *nav, gboolean show_buttons); EogThumbNavMode eog_thumb_nav_get_mode (EogThumbNav *nav); void eog_thumb_nav_set_mode (EogThumbNav *nav, EogThumbNavMode mode);
GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBox +----GtkHBox +----EogThumbNav
"mode" gint : Read / Write "show-buttons" gboolean : Read / Write "thumbview" EogThumbView* : Read / Write / Construct Only
typedef enum { EOG_THUMB_NAV_MODE_ONE_ROW, EOG_THUMB_NAV_MODE_ONE_COLUMN, EOG_THUMB_NAV_MODE_MULTIPLE_ROWS, EOG_THUMB_NAV_MODE_MULTIPLE_COLUMNS } EogThumbNavMode;
GtkWidget * eog_thumb_nav_new (GtkWidget *thumbview, EogThumbNavMode mode, gboolean show_buttons);
Creates a new thumbnail navigation widget.
|
an EogThumbView to embed in the navigation widget. |
|
The navigation mode. |
|
Whether to show the navigation buttons. |
Returns : |
a new EogThumbNav object. |
gboolean eog_thumb_nav_get_show_buttons (EogThumbNav *nav);
Gets whether the navigation buttons are visible.
|
an EogThumbNav. |
Returns : |
TRUE if the navigation buttons are visible,
FALSE otherwise.
|
void eog_thumb_nav_set_show_buttons (EogThumbNav *nav, gboolean show_buttons);
Sets whether the navigation buttons to the left and right of the widget should be visible.
|
an EogThumbNav. |
|
TRUE to show the buttons, FALSE to hide them.
|
EogThumbNavMode eog_thumb_nav_get_mode (EogThumbNav *nav);
Gets the navigation mode in nav
.
|
an EogThumbNav. |
Returns : |
A value in EogThumbNavMode. |
void eog_thumb_nav_set_mode (EogThumbNav *nav, EogThumbNavMode mode);
Sets the navigation mode in nav
. See EogThumbNavMode for details.
|
An EogThumbNav. |
|
One of EogThumbNavMode. |
"mode"
property"mode" gint : Read / Write
Thumb navigator mode.
Allowed values: [0,2]
Default value: 0
"show-buttons"
property"show-buttons" gboolean : Read / Write
Whether to show navigation buttons or not.
Default value: TRUE
"thumbview"
property"thumbview" EogThumbView* : Read / Write / Construct Only
The internal thumbnail viewer widget.