GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
define_nulltarget(3) Arcan Lua API define_nulltarget(3)

define_nulltarget - Push an output subsegment into a target frameserver

vid
define_nulltarget( vid:fsrv, func:callback )
define_nulltarget( vid:fsrv, string:type, func:callback )

For certain corner cases (typically clipboard) one might need to spawn a subsegment in a frameserver connection that has output characteristics, but other related functions such as define_feedtarget etc. doesn't need to be used as the generic buffer transfer methods aren't in use. The optional type argument is reserved for future/ other custom use targets, and the default type is that of the clipboard paste operation.

function define_nulltarget0()
      target_alloc("demo", function(source, status)
            if (status.kind == "registered") then
                  local vid = define_nulltarget(source, function()
                  end);
                  target_input(vid, "hello world0);
            end
      end);
end

define_feedtarget(3) define_rendertarget(3)

June 2022 targetcontrol

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.