Documentation ¶
Index ¶
- Constants
- func AppIconPath() *string
- func CreateButton(text string, cssClass string, toolTip *string) *gtk.Button
- func CreateLabel(text string, cssClass string, toolTip *string) *gtk.Label
- func CreateTmpDir() (string, error)
- func ExportPage(srcPath string, dstPath string) error
- func FullscreenIcon() string
- func GetImagePaths(filePath string, tmpDir string) ([]string, error)
- func HashFile(filePath string) (string, error)
- func LoadTextFile(filePath string) (*string, error)
- func Log(format string, a ...any)
- func ParseFileUrl(fileUrl string) *string
- func ReadBookmarkList(hash string) (*string, error)
- func ReadLayout(hash string) (*string, error)
- func ReadRendererState() (string, error)
- func ReadSeriesList(filePath string) ([]string, error)
- func RestoreIcon() string
- func S(str string) *string
- func TrcEnd(s string, startTime time.Time)
- func TrcStart(s string) (string, time.Time)
- func WriteBookmarkList(hash string, data string) error
- func WriteLayout(hash string, data string) error
- func WriteRendererState(data string) error
- type DirListItem
- type Img
- type ImgFormat
- type Message
- type Messenger
Constants ¶
View Source
const BOOKMARKS_DN string = "bookmarks"
View Source
const CBXS_DN string = "cbxv"
View Source
const DEBUG = false
View Source
const HELP_TXT = `` /* 1182-byte string literal not displayed */
View Source
const LAYOUTS_DN string = "layouts"
View Source
const RENDERERSTATE_FN string = "rendererstate.json"
View Source
const TMP_CBXS_PREFIX string = "cbxv-"
Variables ¶
This section is empty.
Functions ¶
func AppIconPath ¶
func AppIconPath() *string
Get a string that points to an icon for our executables use at runtime Linux - find the icon in one of the standard directories Windows - find the icon relative to the executable
func CreateTmpDir ¶
func ExportPage ¶
func FullscreenIcon ¶
func FullscreenIcon() string
func LoadTextFile ¶
func ParseFileUrl ¶
func ReadBookmarkList ¶
func ReadLayout ¶
func ReadRendererState ¶
func ReadSeriesList ¶
func RestoreIcon ¶
func RestoreIcon() string
func WriteBookmarkList ¶
func WriteLayout ¶
func WriteRendererState ¶
Types ¶
type DirListItem ¶
func ReadDirList ¶
func ReadDirList(filePath string) ([]DirListItem, error)
type Img ¶ added in v0.4.7
func ImgNewFromFile ¶ added in v0.4.7
type ImgFormat ¶ added in v0.4.7
type ImgFormat = gdk.PixbufFormat
Click to show internal directories.
Click to hide internal directories.