| Hildon FM Reference Manual | ||||
|---|---|---|---|---|
HildonFileDetailsDialogPrivate;
HildonFileDetailsDialog;
GtkWidget* hildon_file_details_dialog_new (GtkWindow *parent,
const gchar *filename);
GtkWidget* hildon_file_details_dialog_new_with_model
(GtkWindow *parent,
HildonFileSystemModel *model);
void hildon_file_details_dialog_set_file_iter
(HildonFileDetailsDialog *self,
GtkTreeIter *iter);
gboolean hildon_file_details_dialog_get_file_iter
(HildonFileDetailsDialog *self,
GtkTreeIter *iter);
GObject
+----GInitiallyUnowned
+----GtkObject
+----GtkWidget
+----GtkContainer
+----GtkBin
+----GtkWindow
+----GtkDialog
+----HildonFileDetailsDialog
"additional-tab" GtkWidget : Read / Write / Construct "additional-tab-label" gchararray : Read / Write "enable-read-only-checkbox" gboolean : Read / Write / Construct "model" HildonFileSystemModel : Read / Write "show-tabs" gboolean : Read / Write / Construct "show-type-icon" gboolean : Read / Write / Construct
typedef struct _HildonFileDetailsDialogPrivate HildonFileDetailsDialogPrivate;
GtkWidget* hildon_file_details_dialog_new (GtkWindow *parent,
const gchar *filename);
hildon_file_details_dialog_new is deprecated and should not be used in newly-written code.
Creates a new hildon_file_details_dialog AND new underlying HildonFileSystemModel. Be carefull with filename parameter: You don't get any notification if something fails. THIS FUNCTION IS DEPRICATED AND PROVIDED ONLY FOR BACKWARDS COMPABILITY.
|
the parent window. |
|
the filename. |
Returns : |
a new HildonFileDetailsDialog. |
GtkWidget* hildon_file_details_dialog_new_with_model
(GtkWindow *parent,
HildonFileSystemModel *model);
This is the preferred way to create HildonFileDetailsDialog. You can use a shared model structure to save loading times (because you probably already have one at your disposal).
|
the parent window. |
|
a HildonFileSystemModel object used to fetch data. |
Returns : |
a new HildonFileDetailsDialog. |
void hildon_file_details_dialog_set_file_iter
(HildonFileDetailsDialog *self,
GtkTreeIter *iter);
Sets the dialog to display information about a file defined by given iterator.
|
a HildonFileDetailsDialog. |
|
a GtkTreeIter pointing to desired file. |
gboolean hildon_file_details_dialog_get_file_iter
(HildonFileDetailsDialog *self,
GtkTreeIter *iter);
Gets an iterator pointing to displayed file.
|
a HildonFileDetailsDialog. |
|
a GtkTreeIter to be filled. |
Returns : |
TRUE, if dialog is displaying some information.
|
"additional-tab" property"additional-tab" GtkWidget : Read / Write / Construct
Tab to show additinal information.
"additional-tab-label" property"additional-tab-label" gchararray : Read / Write
Label to the additional tab.
Default value: NULL
"enable-read-only-checkbox" property"enable-read-only-checkbox" gboolean : Read / Write / Construct
Whether or not to enable the read-only checkbox.
Default value: TRUE
"model" property"model" HildonFileSystemModel : Read / Write
HildonFileSystemModel to use when fetching information.
"show-tabs" property"show-tabs" gboolean : Read / Write / Construct
Do we want to show the tab label.
Default value: FALSE