gui

package
v0.0.0-...-1cfdf4e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 8, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LIBGTK_ADDR     = 0
	LIBGLIB_ADDR    = 100
	LIBGOBJECT_ADDR = 200

	GTK_DIALOG_MODAL               = 1
	GTK_DIALOG_DESTROY_WITH_PARENT = 2
	GTK_DIALOG_USE_HEADER_BAR      = 4

	GTK_MESSAGE_INFO     = 0
	GTK_MESSAGE_WARNING  = 1
	GTK_MESSAGE_QUESTION = 2
	GTK_MESSAGE_ERROR    = 3
	GTK_MESSAGE_OTHER    = 4

	GTK_BUTTONS_NONE      = 0
	GTK_BUTTONS_OK        = 1
	GTK_BUTTONS_CLOSE     = 2
	GTK_BUTTONS_CANCEL    = 3
	GTK_BUTTONS_YES_NO    = 4
	GTK_BUTTONS_OK_CANCEL = 5

	GTK_RESPONSE_NONE         = 0xffffffff
	GTK_RESPONSE_REJECT       = 0xfffffffe
	GTK_RESPONSE_ACCEPT       = 0xfffffffd
	GTK_RESPONSE_DELETE_EVENT = 0xfffffffc
	GTK_RESPONSE_OK           = 0xfffffffb
	GTK_RESPONSE_CANCEL       = 0xfffffffa
	GTK_RESPONSE_CLOSE        = 0xfffffff9
	GTK_RESPONSE_YES          = 0xfffffff8
	GTK_RESPONSE_NO           = 0xfffffff7
	GTK_RESPONSE_APPLY        = 0xfffffff6
	GTK_RESPONSE_HELP         = 0xfffffff5

	GTK_FILE_CHOOSER_ACTION_OPEN          = 0
	GTK_FILE_CHOOSER_ACTION_SAVE          = 1
	GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER = 2
	GTK_FILE_CHOOSER_ACTION_CREATE_FOLDER = 3
)

Variables

View Source
var (
	Libgtk     uintptr
	Libglib    uintptr
	Libgobject uintptr

	Gtk_main_quit                 func()
	Gtk_progress_bar_set_fraction func(progressBar uintptr, fraction float64)
)

Functions

func G_free

func G_free(args ...uintptr) uintptr

func G_idle_add

func G_idle_add(args ...uintptr) uintptr

func G_signal_connect_data

func G_signal_connect_data(args ...uintptr) uintptr

func Gtk_box_new

func Gtk_box_new(args ...uintptr) uintptr

func Gtk_box_pack_end

func Gtk_box_pack_end(args ...uintptr) uintptr

func Gtk_box_pack_start

func Gtk_box_pack_start(args ...uintptr) uintptr

func Gtk_button_new_with_label

func Gtk_button_new_with_label(args ...uintptr) uintptr

func Gtk_button_set_label

func Gtk_button_set_label(args ...uintptr) uintptr

func Gtk_container_add

func Gtk_container_add(args ...uintptr) uintptr

func Gtk_dialog_new_with_buttons

func Gtk_dialog_new_with_buttons(args ...uintptr) uintptr

func Gtk_dialog_run

func Gtk_dialog_run(args ...uintptr) uintptr

func Gtk_entry_get_text

func Gtk_entry_get_text(args ...uintptr) uintptr

func Gtk_entry_new

func Gtk_entry_new(args ...uintptr) uintptr

func Gtk_entry_set_text

func Gtk_entry_set_text(args ...uintptr) uintptr

func Gtk_file_chooser_dialog_new

func Gtk_file_chooser_dialog_new(args ...uintptr) uintptr

func Gtk_file_chooser_get_filename

func Gtk_file_chooser_get_filename(args ...uintptr) uintptr

func Gtk_init

func Gtk_init(args ...uintptr) uintptr

func Gtk_label_new

func Gtk_label_new(args ...uintptr) uintptr

func Gtk_label_set_text

func Gtk_label_set_text(args ...uintptr) uintptr

func Gtk_main

func Gtk_main(args ...uintptr) uintptr

func Gtk_message_dialog_new

func Gtk_message_dialog_new(args ...uintptr) uintptr

func Gtk_progress_bar_new

func Gtk_progress_bar_new(args ...uintptr) uintptr

func Gtk_progress_bar_set_text

func Gtk_progress_bar_set_text(args ...uintptr) uintptr

func Gtk_widget_destroy

func Gtk_widget_destroy(args ...uintptr) uintptr

func Gtk_widget_grab_focus

func Gtk_widget_grab_focus(args ...uintptr) uintptr

func Gtk_widget_set_sensitive

func Gtk_widget_set_sensitive(args ...uintptr) uintptr

func Gtk_widget_set_size_request

func Gtk_widget_set_size_request(args ...uintptr) uintptr

func Gtk_widget_show

func Gtk_widget_show(args ...uintptr) uintptr

func Gtk_widget_show_all

func Gtk_widget_show_all(args ...uintptr) uintptr

func Gtk_window_new

func Gtk_window_new(args ...uintptr) uintptr

func Gtk_window_set_default_size

func Gtk_window_set_default_size(args ...uintptr) uintptr

func Gtk_window_set_resizable

func Gtk_window_set_resizable(args ...uintptr) uintptr

func Gtk_window_set_title

func Gtk_window_set_title(args ...uintptr) uintptr

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL