Clears the contents of the path buffer.
Clears the contents of the path buffer and returns the built path.
Frees a glib.path_buf.PathBuf allocated by glib.path_buf.PathBuf.new_, and returns the path inside the buffer.
Initializes a glib.path_buf.PathBuf instance with the given path.
Initializes a glib.path_buf.PathBuf instance.
Removes the last element of the path buffer.
Extends the given path buffer with path.
Adds an extension to the file name in the path buffer.
Sets the file name of the path.
Retrieves the built path from the path buffer.
Compares two path buffers for equality and returns TRUE if they are equal.
glib.path_buf.PathBuf is a helper type that allows you to easily build paths from individual elements, using the platform specific conventions for path separators.
You can also load a full path and then operate on its components: