Tooltip in GtkComboBox

2011-06-08 Thread Gabriele Greco
Is possibile to assign different tooltips to the various elements in the
GtkListStore associated to a GtkComboBox?

I've added to the model a column with the tooltip but it seems GtkComboBox
do not have the API GtkTreeView has to do
this (gtk_tree_view_set_tooltip_column), nor anything similar...

I cannot find any hint about how to do this looking at the properties of the
objects involved (GtkComboBox, GtkTreeViewColumn, GtkCellRendererText and
GtkListStore)

I obviously googled for an answer before posting, without luck...

-- 
Bye,
 Gabry
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


Re: GtkFileChooser: How to get names of files that are inside subfolders?

2011-06-08 Thread Tomaz Canabrava
It will not, the File selector returns a const gchar *, you can use
the glib to open it using a GDir and iterating over the FILE*
pointers.


On Mon, Jun 6, 2011 at 2:29 AM, Phong Cao phn...@gmail.com wrote:
 Hello everybody,

 I am trying to develop a music manager that lets the users import all audio
 files from a folder. That folder may contain many subfolders, and each
 subfolder may contain many files. I know that I need to create a
 GtkFileChooser Dialog with GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER enabled so
 that the user can choose folders instead of files.

 However, I do not know how to make this GtkFileChooser selects/imports all
 the files available in that directory (not only the files that are shown in
 the GtkFileChooser but the files that are deeply contained inside
 subfolders).

 Thank you for reading my questions! I hope you guys have a good day!
 ___
 gtk-app-devel-list mailing list
 gtk-app-devel-list@gnome.org
 http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list