![]() |
![]() |
![]() |
Eye of MATE Reference Manual | ![]() |
---|---|---|---|---|
Top | Description |
#define EOM_WINDOW_ERROR enum EomWindowMode; enum EomWindowError; enum EomStartupFlags; struct EomWindow; GtkWidget * eom_window_new (EomStartupFlags flags
); EomWindowMode eom_window_get_mode (EomWindow *window
); void eom_window_set_mode (EomWindow *window
,EomWindowMode mode
); GtkUIManager * eom_window_get_ui_manager (EomWindow *window
); EomListStore * eom_window_get_store (EomWindow *window
); GtkWidget * eom_window_get_view (EomWindow *window
); GtkWidget * eom_window_get_sidebar (EomWindow *window
); GtkWidget * eom_window_get_thumb_view (EomWindow *window
); GtkWidget * eom_window_get_thumb_nav (EomWindow *window
); GtkWidget * eom_window_get_statusbar (EomWindow *window
); EomImage * eom_window_get_image (EomWindow *window
); void eom_window_open_file_list (EomWindow *window
,GSList *file_list
); gboolean eom_window_is_empty (EomWindow *window
);
typedef enum { EOM_WINDOW_MODE_UNKNOWN, EOM_WINDOW_MODE_NORMAL, EOM_WINDOW_MODE_FULLSCREEN, EOM_WINDOW_MODE_SLIDESHOW } EomWindowMode;
typedef enum { EOM_WINDOW_ERROR_CONTROL_NOT_FOUND, EOM_WINDOW_ERROR_UI_NOT_FOUND, EOM_WINDOW_ERROR_NO_PERSIST_FILE_INTERFACE, EOM_WINDOW_ERROR_IO, EOM_WINDOW_ERROR_TRASH_NOT_FOUND, EOM_WINDOW_ERROR_GENERIC, EOM_WINDOW_ERROR_UNKNOWN } EomWindowError;
typedef enum { EOM_STARTUP_FULLSCREEN = 1 << 0, EOM_STARTUP_SLIDE_SHOW = 1 << 1, EOM_STARTUP_DISABLE_COLLECTION = 1 << 2 } EomStartupFlags;
GtkWidget * eom_window_new (EomStartupFlags flags
);
Creates a new and empty EomWindow. Use flags
to indicate
if the window should be initialized fullscreen, in slideshow mode,
and/or without the thumbnails collection visible. See EomStartupFlags.
|
the initialization parameters for the new window. |
Returns : |
a newly created EomWindow. |
EomWindowMode eom_window_get_mode (EomWindow *window
);
Gets the mode of window
. See EomWindowMode for details.
|
An EomWindow. |
Returns : |
An EomWindowMode. |
void eom_window_set_mode (EomWindow *window
,EomWindowMode mode
);
Changes the mode of window
to normal, fullscreen, or slideshow.
See EomWindowMode for details.
|
an EomWindow. |
|
an EomWindowMode value. |
GtkUIManager * eom_window_get_ui_manager (EomWindow *window
);
Gets the GtkUIManager that describes the UI of window
.
|
An EomWindow. |
Returns : |
A GtkUIManager. |
EomListStore * eom_window_get_store (EomWindow *window
);
Gets the EomListStore that contains the images in the collection
of window
.
|
An EomWindow. |
Returns : |
an EomListStore. |
GtkWidget * eom_window_get_view (EomWindow *window
);
Gets the EomScrollView in the window.
|
An EomWindow. |
Returns : |
the EomScrollView. |
GtkWidget * eom_window_get_sidebar (EomWindow *window
);
Gets the sidebar widget of window
.
|
An EomWindow. |
Returns : |
the EomSidebar. |
GtkWidget * eom_window_get_thumb_view (EomWindow *window
);
Gets the thumbnails view in window
.
|
an EomWindow. |
Returns : |
an EomThumbView. |
GtkWidget * eom_window_get_thumb_nav (EomWindow *window
);
Gets the thumbnails navigation pane in window
.
|
an EomWindow. |
Returns : |
an EomThumbNav. |
GtkWidget * eom_window_get_statusbar (EomWindow *window
);
Gets the statusbar in window
.
|
an EomWindow. |
Returns : |
a EomStatusBar. |
EomImage * eom_window_get_image (EomWindow *window
);
Gets the image currently displayed in window
or NULL
if
no image is being displayed.
void eom_window_open_file_list (EomWindow *window
,GSList *file_list
);
Opens a list of files, adding them to the collection in window
.
Files will be checked to be readable and later filtered according
with eom_list_store_add_files()
.
|
An EomWindow. |
|
A NULL -terminated list of GFile's. |