Documentation ¶
Index ¶
- func Dir(useLocal bool, name string) http.FileSystem
- func FS(useLocal bool) http.FileSystem
- func FSByte(useLocal bool, name string) ([]byte, error)
- func FSMustByte(useLocal bool, name string) []byte
- func FSMustString(useLocal bool, name string) string
- func FSString(useLocal bool, name string) (string, error)
- type Graphics
- type Icon
- type NoHooks
- type OSHooks
- type StyleContextable
- type UI
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Dir ¶ added in v0.3.9
func Dir(useLocal bool, name string) http.FileSystem
Dir returns a http.Filesystem for the embedded assets on a given prefix dir. If useLocal is true, the filesystem's contents are instead used.
func FS ¶ added in v0.3.9
func FS(useLocal bool) http.FileSystem
FS returns a http.Filesystem for the embedded assets. If useLocal is true, the filesystem's contents are instead used.
func FSByte ¶ added in v0.3.9
FSByte returns the named file from the embedded assets. If useLocal is true, the filesystem's contents are instead used.
func FSMustByte ¶ added in v0.3.9
FSMustByte is the same as FSByte, but panics if name is not present.
func FSMustString ¶ added in v0.3.9
FSMustString is the string version of FSMustByte.
Types ¶
type Graphics ¶
type Graphics struct {
// contains filtered or unexported fields
}
Graphics represent the graphic configuration
type Icon ¶
Icon is a published interface that allows the conversion of an icon to a pixbuf
var CoyimIcon Icon = coyimIcon
CoyimIcon is the CoyIM official icon, as a 256x256 png
type NoHooks ¶
type NoHooks struct{}
NoHooks implements the OSHooks interface, doing nothing with the hooks
func (*NoHooks) BeforeMainWindow ¶
func (*NoHooks) BeforeMainWindow(*gtkUI)
BeforeMainWindow implements the OSHooks interface
type OSHooks ¶
type OSHooks interface { // BeforeMainWindow will be called with the gtkUI object as soon as it's created BeforeMainWindow(*gtkUI) // AfterInit will be called after GTK has been initialized AfterInit() }
OSHooks represents different hooks that will be called where OS specific functionality can be added
type StyleContextable ¶ added in v0.3.9
type StyleContextable interface {
GetStyleContext() (gtki.StyleContext, error)
}
StyleContextable is an interface to assing css style
Source Files ¶
- account.go
- account_details.go
- account_events.go
- account_manager.go
- accounts_menu.go
- actions.go
- assistant_helpers.go
- authors.go
- certificate_window.go
- change_password_details.go
- colors.go
- commands.go
- connected_accounts_component.go
- connection.go
- conversation.go
- conversation_view_owner.go
- definitions.go
- desktop_notifications.go
- desktop_notifications_linux.go
- dev_errors.go
- display_settings.go
- edit_contact.go
- encryption_status.go
- error_notification.go
- file_transfer.go
- file_transfer_notification.go
- fingerprint_verification.go
- first_account.go
- forms.go
- global_preferences.go
- gtk_column_types.go
- hacks.go
- icons.go
- icons_muc.go
- importer.go
- infobar_component.go
- install.go
- jid.go
- keys.go
- language_selector_component.go
- loading_overlay_component.go
- logging.go
- master_password.go
- menubar.go
- menubar_not_osx.go
- menus.go
- muc.go
- muc_account.go
- muc_account_room.go
- muc_chat_services_component.go
- muc_colors.go
- muc_create_room.go
- muc_create_room_account.go
- muc_create_room_form.go
- muc_create_room_success.go
- muc_errors.go
- muc_events.go
- muc_join_room.go
- muc_join_room_context.go
- muc_notification_messages.go
- muc_public_rooms.go
- muc_room.go
- muc_room_config.go
- muc_room_config_assistant.go
- muc_room_config_assistant_cancel_confirm.go
- muc_room_config_component.go
- muc_room_config_list_add_component.go
- muc_room_config_list_component.go
- muc_room_config_list_controller.go
- muc_room_config_list_form.go
- muc_room_config_list_form_admins.go
- muc_room_config_list_form_banned.go
- muc_room_config_list_form_members.go
- muc_room_config_list_form_owners.go
- muc_room_config_page.go
- muc_room_config_page_access.go
- muc_room_config_page_info.go
- muc_room_config_page_occupants.go
- muc_room_config_page_others.go
- muc_room_config_page_permissions.go
- muc_room_config_page_summary.go
- muc_room_conversation.go
- muc_room_conversation_display.go
- muc_room_conversation_display_affiliations.go
- muc_room_conversation_display_affiliations_roles.go
- muc_room_conversation_display_roles.go
- muc_room_conversation_format.go
- muc_room_conversation_tags.go
- muc_room_conversation_text_buffer.go
- muc_room_destroy.go
- muc_room_destroy_dialog_error.go
- muc_room_dialog_error_component.go
- muc_room_events.go
- muc_room_events_data.go
- muc_room_form_component.go
- muc_room_kick_occupant.go
- muc_room_loading.go
- muc_room_lobby.go
- muc_room_lobby_errors.go
- muc_room_main.go
- muc_room_manager.go
- muc_room_message_box_notification.go
- muc_room_name_component.go
- muc_room_notifications.go
- muc_room_occupant_affiliation.go
- muc_room_occupant_role.go
- muc_room_roster.go
- muc_room_roster_info.go
- muc_room_toolbar.go
- muc_room_warnings.go
- muc_styles.go
- notifications.go
- notifications_component.go
- options_menu.go
- os_hooks.go
- password_component.go
- password_confirmation_component.go
- proxy_edit.go
- registration.go
- roster.go
- shortcuts.go
- signals.go
- spinner_component.go
- subscription.go
- timeago.go
- tls.go
- ui.go
- ui_reader.go
- ui_thread.go
- unified.go
- verifier.go
- view_menu.go
- widgets.go
- xml_console.go