| » Metadata | » Status |
|---|---|
|
|
| » Description | |
|
The class provides an easy way to equip Gtk widgets with file drop functionality. One can specify a list of mime types and file extensions which shall be accepted, and when a drop occurs the file name will be put in the text field of the widget. Additionally, it is possible to specify a callback which is run when the drop with accepted files has happened. It all comes down to just one line, and the class handles the rest: Gtk_FileDrop::attach( $widget, array( 'text/plain', '.dat')); |
|
| » Dependencies | » Links |
|
|
| » Timeline | » Changelog |
|
|