Re: Is there a way to access to the GtkFileChooser's file list ??

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2004-05-26 at 20:52 +0200, simonartige@xxxxxxx wrote:
> Hi !
> 
> Iâm a newbie and I really need your help ! Iâm currently using a GtkFileChooser 
> for an application Iâm programming and I need something I canât happen to find 
> anywhere. Iâd like to access to the file list field. Indeed, Iâd like to 
> implement a drag&drop between the treeview which contains the file list and 
> another treeview so I can add easily a file in my treeview.
> 
> I know itâs possible to access to the file list in a GtkFileSelection by using 
> the field file_list. However, is it possible to do the same thing with a 
> GtkFileChooser ? If so, could you guys tell me how ?
> 
> Thanks so much for advance ! I really need this information, so please help 
> meeee !
> 
> Simon.

There currently is no way to do what you want, though that functionality
arguably belongs in FileChooser (so you don't need to bother with DnD
for the file-chooser, just add the "text/x-uri-list" target to your
TreeView). I'd recommend filing a bug on GTK+ for this (if you write a
patch to implement this, attach it to the bug, then drop a mail here it
has a good chance of getting into the next release).

The relevant file in the GTK+ source tree is:

gtk/gtkfilechooserdefault.c

-- 
Peace,

    Jim Cape
    http://ignore-your.tv

    "We still name our military helicopter gunships after victims
     of genocide. Nobody bats an eyelash about that: Blackhawk.
     Apache. And Comanche. If the Luftwaffe named its military
     helicopters Jew and Gypsy, I suppose people would notice."
       -- Noam Chomsky, "Propaganda and the Public Mind"

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux