Top | ![]() |
![]() |
![]() |
![]() |
gint | mode | Read / Write |
gboolean | show-buttons | Read / Write |
XviewerThumbView * | thumbview | Read / Write / Construct Only |
GObject ╰── GInitiallyUnowned ╰── GtkWidget ╰── GtkContainer ╰── GtkBox ╰── XviewerThumbNav
XviewerThumbNav implements AtkImplementorIface, GtkBuildable and GtkOrientable.
GtkWidget * xviewer_thumb_nav_new (GtkWidget *thumbview
,XviewerThumbNavMode mode
,gboolean show_buttons
);
Creates a new thumbnail navigation widget.
thumbview |
an XviewerThumbView to embed in the navigation widget. |
|
mode |
The navigation mode. |
|
show_buttons |
Whether to show the navigation buttons. |
gboolean
xviewer_thumb_nav_get_show_buttons (XviewerThumbNav *nav
);
Gets whether the navigation buttons are visible.
void xviewer_thumb_nav_set_show_buttons (XviewerThumbNav *nav
,gboolean show_buttons
);
Sets whether the navigation buttons to the left and right of the widget should be visible.
XviewerThumbNavMode
xviewer_thumb_nav_get_mode (XviewerThumbNav *nav
);
Gets the navigation mode in nav
.
void xviewer_thumb_nav_set_mode (XviewerThumbNav *nav
,XviewerThumbNavMode mode
);
Sets the navigation mode in nav
. See XviewerThumbNavMode for details.
“mode”
property“mode” gint
Thumb navigator mode.
Flags: Read / Write
Allowed values: [0,2]
Default value: 0
“show-buttons”
property“show-buttons” gboolean
Whether to show navigation buttons or not.
Flags: Read / Write
Default value: TRUE
“thumbview”
property“thumbview” XviewerThumbView *
The internal thumbnail viewer widget.
Flags: Read / Write / Construct Only