| Libfm Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Implemented Interfaces | Signals | ||||
struct FmPathBar; struct FmPathBarClass; FmPath * fm_path_bar_get_path (FmPathBar *bar); FmPathBar * fm_path_bar_new (void); void fm_path_bar_set_path (FmPathBar *bar,FmPath *path);
GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBox +----GtkHBox +----FmPathBar
include: libfm/fm-gtk.h
The FmPathBar represents current path as number of buttons so it is possible to click buttons to change directory to parent or child.
struct FmPathBarClass {
GtkHBoxClass parent_class;
void (*chdir)(FmPathBar* bar, FmPath* path);
};
| the parent class | |
| the class closure for the "chdir" signal |
FmPath * fm_path_bar_get_path (FmPathBar *bar);
Retrieves current path from path bar. Returned data are owned by bar
and should be not freed by caller.
|
a path bar widget |
Returns : |
current path. [transfer none] |
Since 0.1.16
FmPathBar * fm_path_bar_new (void);
Creates new path bar.
Returns : |
a new FmPathBar object. [transfer full] |
Since 0.1.16
"chdir" signalvoid user_function (FmPathBar *bar,
gpointer path,
gpointer user_data) : Run First
The FmPathBar::chdir signal is emitted when the user toggles a path
element in the bar or when new path is set via fm_path_bar_set_path().
|
the object which emitted the signal |
|
(FmPath *) new path |
|
user data set when the signal handler was connected. |
Since 0.1.16