]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/ui/backend/gtk/gtk-docs.factor
ui.backend.gtk: use a global variable to store the icon data
[factor.git] / basis / ui / backend / gtk / gtk-docs.factor
index de069ee1e3d62f62b1dac6bed8b8ee1461cc5150..958259b686a2caadeda37519a1d5abeb9786d7ae 100644 (file)
@@ -1,4 +1,5 @@
-USING: alien gdk.ffi gtk.ffi help.markup help.syntax kernel ;
+USING: alien byte-arrays gdk.ffi gtk.ffi help.markup help.syntax
+kernel ;
 IN: ui.backend.gtk
 
 HELP: configure-im
@@ -6,6 +7,9 @@ HELP: configure-im
 { $description "Configures the input methods of the window. Must only be run after the window has been realized." }
 { $see-also gtk_widget_realize } ;
 
+HELP: icon-data
+{ $var-description "Contains a " { $link byte-array } " or " { $link f } " which is the data for the icon to be used for gtk windows. The variable is updated to contain a vocab-specific icon when deploying. See " { $link "vocabs.icons" } " and 'tools.deploy.shaker.strip-gtk-icon'." } ;
+
 HELP: on-configure
 { $values
   { "win" alien }