hildon-libs 0.14.11 Reference Manual |
---|
HildonFileHandlingNoteHildonFileHandlingNote — Displaying the notification when a move operation is in progress. |
GtkWidget* hildon_file_handling_note_new_moving (GtkWindow *parent); GtkWidget* hildon_file_handling_note_new_deleting (GtkWindow *parent); GtkWidget* hildon_file_handling_note_new_opening (GtkWindow *parent); GtkWidget* hildon_file_handling_note_new_saving (GtkWindow *parent); void hildon_file_handling_note_set_fraction (HildonFileHandlingNote *note, gfloat frac); void hildon_file_handling_note_set_counter_and_name (HildonFileHandlingNote *note, guint current, guint maximum, const gchar *name); void hildon_file_handling_note_set_name (HildonFileHandlingNote *note, const gchar *name);
This is the notification displayed when a move operation is in progress. The notification uses a progress bar to indicate the progress of the operation. For operation containing multiple items, a separe progress bar is shown for each item. The notification has a single button, which allows users to stop the move operation.
GtkWidget *file_note; file_note = hildon_file_handling_note_new_moving (GTK_WINDOW (parent)); hildon_file_handling_note_set_fraction( HILDON_FILE_HANDLING_NOTE (file_note), 0.7); hildon_file_handling_note_set_counter_and_name ( HILDON_FILE_HANDLING_NOTE (file_note), 1, 2, "bar.txt"); gtk_dialog_run( GTK_DIALOG( file_note )); gtk_widget_destroy( GTK_WIDGET( file_note ));
GtkWidget* hildon_file_handling_note_new_moving (GtkWindow *parent);
hildon_file_handling_note_new_moving
is deprecated and should not be used in newly-written code. use hildon-note instead of hildon-file-handling-note.
This function creates new dialog which is "moving" type.
parent : |
parent GtkWindow |
Returns : | a new HildonFileHandlingNote |
GtkWidget* hildon_file_handling_note_new_deleting (GtkWindow *parent);
hildon_file_handling_note_new_deleting
is deprecated and should not be used in newly-written code. use hildon-note instead of hildon-file-handling-note.
This function creates new dialog which is "deleting" type.
parent : |
parent GtkWindow |
Returns : | a new HildonFileHandlingNote |
GtkWidget* hildon_file_handling_note_new_opening (GtkWindow *parent);
hildon_file_handling_note_new_opening
is deprecated and should not be used in newly-written code. use hildon-note instead of hildon-file-handling-note.
This function creates new dialog which is "opening" type
parent : |
parent GtkWindow |
Returns : | a new HildonFileHandlingNote |
GtkWidget* hildon_file_handling_note_new_saving (GtkWindow *parent);
hildon_file_handling_note_new_saving
is deprecated and should not be used in newly-written code. use hildon-note instead of hildon-file-handling-note.
This function creates new dialog which is "saving" type.
parent : |
parent GtkWindow |
Returns : | a new HildonFileHandlingNote |
void hildon_file_handling_note_set_fraction (HildonFileHandlingNote *note, gfloat frac);
hildon_file_handling_note_set_fraction
is deprecated and should not be used in newly-written code. use hildon-note instead of hildon-file-handling-note.
This function sets fraction value for progress bar.
note : |
the HildonFileHandlingNote widget
|
frac : |
value for progress bar |
void hildon_file_handling_note_set_counter_and_name (HildonFileHandlingNote *note, guint current, guint maximum, const gchar *name);
hildon_file_handling_note_set_counter_and_name
is deprecated and should not be used in newly-written code. use hildon-note instead of hildon-file-handling-note.
This function sets current counter value, maximum counter value and filename for dialog
note : |
the HildonFileHandlingNote widget |
current : |
progress, current item being processed |
maximum : |
maximum value for counter (number of items) |
name : |
filename |
void hildon_file_handling_note_set_name (HildonFileHandlingNote *note, const gchar *name);
hildon_file_handling_note_set_name
is deprecated and should not be used in newly-written code. use hildon-note instead of hildon-file-handling-note.
This function sets the filename for dialog
note : |
the HildonFileHandlingNote widget
|
name : |
filename |
<< HildonNote | Dialogs >> |