Code: Select all
If OpenWindow(0, 0, 0, 400, 45, "ExplorerComboGadget", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
ExplorerComboGadget(0, 10, 10, 380, 25, "", #PB_Explorer_DrivesOnly | #PB_Explorer_NoMyDocuments)
Repeat
Event = WaitWindowEvent()
Until Event = #PB_Event_CloseWindow
EndIf
Code: Select all
$ LANG=C df --output=source,target
Filesystem Mounted on
dev /dev
run /run
/dev/sda2 /
tmpfs /dev/shm
tmpfs /sys/fs/cgroup
tmpfs /tmp
/dev/sda1 /boot/efi
/dev/sdb1 /home/alexander/Games
tmpfs /run/user/1000
/dev/sdc /run/media/alexander/USBSTICK
ExplorerComboGadget:
- Windows: WC_COMBOBOXEX
- Linux: GtkComboBoxEntry
- Mac: HIComboBox
It seems that no special gadget is used, but a normal gadget and the entries are manually inserted into the gadget.
Is the behavior of the gadget under Linux intended by the PB developers, that not all drives are displayed as under Windows, or is this a bug?
What does it look like under Mac?PB help: ExplorerComboGadget() wrote:#PB_Explorer_DrivesOnly : The gadget will only display drives to choose from.