1 <!-- ##### SECTION Title ##### -->
2 HildonInsertObjectDialog
4 <!-- ##### SECTION Short_Description ##### -->
5 A dialog that enables the user to embed an object into rich text.
7 <!-- ##### SECTION Long_Description ##### -->
9 #HildonInsertObjectDialog is a dialog that enables the user to insert a
10 new or existing object into a Multi-line (Rich Text) Editor as an
15 Here's a simple example for using #HildonInsertObjectDialog:
21 gchar *name, *mime_type;
23 dialog = hildon_insert_object_dialog_new(parent);
24 g_signal_connect(G_OBJECT(dialog), "response",
25 G_CALLBACK(response_cb), NULL);
26 result = gtk_dialog_run(GTK_DIALOG(dialog));
31 name = hildon_insert_object_dialog_get_name( HILDON_INSERT_OBJECT_DIALOG(dialog) );
32 mime_type = hildon_insert_object_dialog_get_mime_type( HILDON_INSERT_OBJECT_DIALOG(dialog) );
33 hildon_insert_object_dialog_set_file( HILDON_INSERT_OBJECT_DIALOG(dialog) );
35 case HILDON_RESPONSE_INSERT_EXISTING:
41 gtk_widget_destroy(dialog);
46 <!-- ##### SECTION See_Also ##### -->
51 <!-- ##### MACRO HILDON_RESPONSE_INSERT_EXISTING ##### -->
58 <!-- ##### STRUCT HildonInsertObjectDialog ##### -->
64 <!-- ##### FUNCTION hildon_insert_object_dialog_new ##### -->
73 <!-- ##### FUNCTION hildon_insert_object_dialog_get_name ##### -->