| Top |
| XviewerWindowGalleryPos | gallery-position | Read / Write |
| gboolean | gallery-resizable | Read / Write |
| XviewerStartupFlags | startup-flags | Read / Write / Construct Only |
| enum | XviewerWindowGalleryPos |
| enum | XviewerWindowMode |
| enum | XviewerWindowError |
| enum | XviewerStartupFlags |
| struct | XviewerWindow |
GObject ╰── GInitiallyUnowned ╰── GtkWidget ╰── GtkContainer ╰── GtkBin ╰── GtkWindow ╰── GtkApplicationWindow ╰── XviewerWindow
XviewerWindow implements AtkImplementorIface, GtkBuildable, GActionGroup and GActionMap.
GtkWidget *
xviewer_window_new (XviewerStartupFlags flags);
Creates a new and empty XviewerWindow. Use flags
to indicate
if the window should be initialized fullscreen, in slideshow mode,
and/or without the thumbnails gallery visible. See XviewerStartupFlags.
XviewerWindowMode
xviewer_window_get_mode (XviewerWindow *window);
Gets the mode of window
. See XviewerWindowMode for details.
void xviewer_window_set_mode (XviewerWindow *window,XviewerWindowMode mode);
Changes the mode of window
to normal, fullscreen, or slideshow.
See XviewerWindowMode for details.
GtkUIManager *
xviewer_window_get_ui_manager (XviewerWindow *window);
Gets the GtkUIManager that describes the UI of window
.
XviewerListStore *
xviewer_window_get_store (XviewerWindow *window);
Gets the XviewerListStore that contains the images in the gallery
of window
.
GtkWidget *
xviewer_window_get_view (XviewerWindow *window);
Gets the XviewerScrollView in the window.
GtkWidget *
xviewer_window_get_sidebar (XviewerWindow *window);
Gets the sidebar widget of window
.
GtkWidget *
xviewer_window_get_thumb_view (XviewerWindow *window);
Gets the thumbnails view in window
.
GtkWidget *
xviewer_window_get_thumb_nav (XviewerWindow *window);
Gets the thumbnails navigation pane in window
.
GtkWidget *
xviewer_window_get_statusbar (XviewerWindow *window);
Gets the statusbar in window
.
XviewerImage *
xviewer_window_get_image (XviewerWindow *window);
Gets the image currently displayed in window
or NULL if
no image is being displayed.
void xviewer_window_open_file_list (XviewerWindow *window,GSList *file_list);
Opens a list of files, adding them to the gallery in window
.
Files will be checked to be readable and later filtered according
with xviewer_list_store_add_files().
gboolean
xviewer_window_is_empty (XviewerWindow *window);
Tells whether window
is currently empty or not.
“gallery-position” property“gallery-position” XviewerWindowGalleryPos
Determines the position of the image gallery in the window relative to the image.
Flags: Read / Write
Default value: XVIEWER_WINDOW_GALLERY_POS_BOTTOM
“gallery-resizable” property“gallery-resizable” gboolean
If TRUE the gallery will be resizable by the user otherwise it will be
in single column/row mode.
Flags: Read / Write
Default value: FALSE
“startup-flags” property“startup-flags” XviewerStartupFlags
A bitwise OR of XviewerStartupFlags elements, indicating how the window should behave upon creation.
Flags: Read / Write / Construct Only
“prepared” signalvoid user_function (XviewerWindow *window, gpointer user_data)
The “prepared” signal is emitted when the window
is ready
to be shown.
window |
the object which received the signal. |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last