📄 gtkselection.zc
字号:
import "glib/glib"
import "glib/glib-object"
import "gdk/gdk"
import "gtk/gtkenums"
import "gtk/gtkwidget"
public [name="c"]
struct GtkSelectionData
selection: GdkAtom
target: GdkAtom
type: GdkAtom
format: gint
data: [] guchar
length: gint
end
struct GtkTargetEntry
target: [] gchar
flags: guint
info: guint
end
struct GtkTargetList
list: GList
ref_count: guint
end
struct GtkTargetPair
target: GdkAtom
flags: guint
info: guint
end
import func gtk_target_list_new (GtkTargetEntry,guint): GtkTargetList
import func gtk_target_list_ref (GtkTargetList)
import func gtk_target_list_unref (GtkTargetList)
import func gtk_target_list_add (GtkTargetList,GdkAtom,guint,guint)
import func gtk_target_list_add_table (GtkTargetList,GtkTargetEntry,guint)
import func gtk_target_list_remove (GtkTargetList,GdkAtom)
import func gtk_target_list_find (GtkTargetList,GdkAtom,guint): gboolean
import func gtk_selection_owner_set (GtkWidget,GdkAtom,guint32): gboolean
import func gtk_selection_add_target (GtkWidget,GdkAtom,GdkAtom,guint)
import func gtk_selection_add_targets (GtkWidget,GdkAtom,GtkTargetEntry,guint)
import func gtk_selection_clear_targets (GtkWidget,GdkAtom)
import func gtk_selection_convert (GtkWidget,GdkAtom,GdkAtom,guint32): gboolean
import func gtk_selection_data_set (GtkSelectionData,
GdkAtom,
gint,
[] guchar,
gint)
import func gtk_selection_data_set_text (GtkSelectionData,[] gchar,gint): gboolean
import func gtk_selection_data_get_text (GtkSelectionData): guchar
import func gtk_selection_data_get_targets (GtkSelectionData,[] [] GdkAtom,[] gint): gboolean
import func gtk_selection_data_targets_include_text (GtkSelectionData): gboolean
import func gtk_selection_remove_all (GtkWidget)
import func gtk_selection_clear (GtkWidget,GdkEventSelection): gboolean
import func gtk_selection_request (GtkWidget,GdkEventSelection): gboolean
import func gtk_selection_incr_event (GdkWindow,GdkEventProperty): gboolean
import func gtk_selection_notify (GtkWidget,GdkEventSelection): gboolean
import func gtk_selection_property_notify(GtkWidget,GdkEventProperty): gboolean
import func gtk_selection_data_get_type: GType
import func gtk_selection_data_copy (GtkSelectionData): GtkSelectionData
import func gtk_selection_data_free (GtkSelectionData)
end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -