Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.3 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Perl Modules

    Tk_OwnSelection 804.027

    Download button

    No screenshots available
    Downloads: 320  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    Fair (2.3/5)
    3 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Nick Ing-Simmons | More programs
    Perl Artistic License / FREE
    December 8th, 2007, 18:39 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    Tk_OwnSelection description

    Tk_OwnSelection is a Perl module to make a window the owner of the primary selection.

    Tk_OwnSelection is a Perl module to make a window the owner of the primary selection.

    SYNOPSIS

    #include < tk.h >

    Tk_OwnSelection(tkwin, selection, proc, clientData)

    ARGUMENTS

    Tk_Window tkwin (in)

    Window that is to become new selection owner.

    Atom selection (in)

    The name of the selection to be owned, such as XA_PRIMARY.

    Tk_LostSelProc *proc (in)

    Procedure to invoke when tkwin loses selection ownership later.

    ClientData clientData (in)

    Arbitrary one-word value to pass to proc.

    Tk_OwnSelection arranges for tkwin to become the new owner of the selection specified by the atom selection. After this call completes, future requests for the selection will be directed to handlers created for tkwin using Tk_CreateSelHandler. When tkwin eventually loses the selection ownership, proc will be invoked so that the window can clean itself up (e.g. by unhighlighting the selection). Proc should have arguments and result that match the type Tk_LostSelProc:

    typedef void Tk_LostSelProc(ClientData clientData);

    The clientData parameter to proc is a copy of the clientData argument given to Tk_OwnSelection, and is usually a pointer to a data structure containing application-specific information about tkwin.

    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    selection owner | Tk class | Perl module | Tk | owner | selection

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM