FmPathEntry

FmPathEntry — An entry to enter path with completion.

Synopsis

struct              FmPathEntry;
struct              FmPathEntryClass;
FmPath *            fm_path_entry_get_path              (FmPathEntry *entry);
FmPathEntry *       fm_path_entry_new                   ();
void                fm_path_entry_set_path              (FmPathEntry *entry,
                                                         FmPath *path);

Object Hierarchy

  GObject
   +----GInitiallyUnowned
         +----GtkWidget
               +----GtkEntry
                     +----FmPathEntry

Implemented Interfaces

FmPathEntry implements AtkImplementorIface, GtkBuildable, GtkEditable and GtkCellEditable.

Properties

  "highlight-completion-match" gboolean              : Read / Write

Description

include: libfm/fm-path-entry.h

The FmPathEntry represents a widget to enter folder path for changing current directory. The path entry supports completion and can be used for both UNIX path or file URI entering. The path is represented in the entry unescaped therefore there is no way to enter escape sequence (such as %23) into entry.

Details

struct FmPathEntry

struct FmPathEntry;

struct FmPathEntryClass

struct FmPathEntryClass {
};

fm_path_entry_get_path ()

FmPath *            fm_path_entry_get_path              (FmPathEntry *entry);

Retrieves the current path in the entry. Returned data are owned by entry and should be not freed by caller.

entry :

the widget to inspect

Returns :

the current path. [transfer none]

Since 0.1.10


fm_path_entry_new ()

FmPathEntry *       fm_path_entry_new                   ();

Creates new path entry widget.

Returns :

a new FmPathEntry object. [transfer full]

Since 0.1.0


fm_path_entry_set_path ()

void                fm_path_entry_set_path              (FmPathEntry *entry,
                                                         FmPath *path);

Sets new path into enter field.

entry :

a widget to apply

path :

new path to set

Since 0.1.10

Property Details

The "highlight-completion-match" property

  "highlight-completion-match" gboolean              : Read / Write

The "highlight-completion-match" property is the flag whether the completion match should be highlighted or not.

Default value: TRUE

Since 0.1.0