![]() |
![]() |
![]() |
Eye of MATE Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Implemented Interfaces | Properties | Signals |
#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
); void eom_window_reload_image (EomWindow *window
);
GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBin +----GtkWindow +----EomWindow
"collection-position" EomWindowCollectionPos : Read / Write "collection-resizable" gboolean : Read / Write "startup-flags" EomStartupFlags : Read / Write / Construct Only
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. [transfer none] |
EomListStore * eom_window_get_store (EomWindow *window
);
Gets the EomListStore that contains the images in the collection
of window
.
|
An EomWindow. |
Returns : |
an EomListStore. [transfer none] |
GtkWidget * eom_window_get_view (EomWindow *window
);
Gets the EomScrollView in the window.
|
An EomWindow. |
Returns : |
the EomScrollView. [transfer none] |
GtkWidget * eom_window_get_sidebar (EomWindow *window
);
Gets the sidebar widget of window
.
|
An EomWindow. |
Returns : |
the EomSidebar. [transfer none] |
GtkWidget * eom_window_get_thumb_view (EomWindow *window
);
Gets the thumbnails view in window
.
|
an EomWindow. |
Returns : |
an EomThumbView. [transfer none] |
GtkWidget * eom_window_get_thumb_nav (EomWindow *window
);
Gets the thumbnails navigation pane in window
.
|
an EomWindow. |
Returns : |
an EomThumbNav. [transfer none] |
GtkWidget * eom_window_get_statusbar (EomWindow *window
);
Gets the statusbar in window
.
|
an EomWindow. |
Returns : |
a EomStatusBar. [transfer none] |
EomImage * eom_window_get_image (EomWindow *window
);
Gets the image currently displayed in window
or NULL
if
no image is being displayed.
|
an EomWindow. |
Returns : |
an EomImage. [transfer none] |
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. [element-type GFile]
|
gboolean eom_window_is_empty (EomWindow *window
);
Tells whether window
is currently empty or not.
|
an EomWindow. |
Returns : |
TRUE if window has no images, FALSE otherwise. |
"collection-position"
property "collection-position" EomWindowCollectionPos : Read / Write
Determines the position of the image collection in the window relative to the image.
Default value: EOM_WINDOW_COLLECTION_POS_BOTTOM
"collection-resizable"
property "collection-resizable" gboolean : Read / Write
If TRUE
the collection will be resizable by the user otherwise it will be
in single column/row mode.
Default value: FALSE
"startup-flags"
property"startup-flags" EomStartupFlags : Read / Write / Construct Only
A bitwise OR of EomStartupFlags elements, indicating how the window should behave upon creation.
"prepared"
signalvoid user_function (EomWindow *window,
gpointer user_data) : Run Last
The "prepared" signal is emitted when the window
is ready
to be shown.
|
the object which received the signal. |
|
user data set when the signal handler was connected. |