----- Original Message -----
From: Graeme Geldenhuys <[EMAIL PROTECTED]>
Date: Sunday, June 24, 2007 11:01 pm
Subject: Re: [lazarus] GTK1 + dirsel unit + TSelectDirectoryDialog

> Anyways, my problem is this.  The TSelectDirectoryDialog for GTK1 uses
> the TFileOpen dialog, because GTK1 doesn't have a native Select
> Directory dialog. My proposal is to use the dirsel unit instead of the
> TFileOpen dialog under GTK1.
> 
> That means whenever I use the TSelectDirectoryDialog, internally it
> actually uses the dirsel unit (treeview of directories). My problem
> is, I have no idea how to do that in the LCL code.

The gtk dialogs are called from the gtkwsdialogs unit. Maybe you can implement 
some methods in TGtkWSSelectDirectoryDialog. 

A problem is that the gtk interface hasn't much code in GtkWSDialog yet (it has 
not been moved). Look for example how it can be done in the win32 widgetset and 
probably in the QT and carbon widget set.

Vincent

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to