검색 결과


    이 문서는 기술적인 검토가 필요합니다.

    아직 자원 봉사자들이 한국어로 현재 문서를 번역하지 않았습니다. 가입해서 이 문서가 번역되는 일에 함께 해 주세요!

    « Gecko Plugin API Reference « Plug-in Side Plug-in API


    Note: This structure is only used on Unix platforms.

    Contains information about the plug-in's Unix window environment.


    typedef struct
        int32         type;
        Display*      display;
        Visual*       visual;
        Colormap      colormap;
        unsigned int  depth;
    } NPSetWindowCallbackStruct;


    The data structure has the following fields:

    Always contains NP_SetWindow.
    Standard X Toolkit attribute. Pointer to the Display structure that represents the browser-server connection.
    Standard X Toolkit attribute. X Visual for the plug-in window or drawable.
    Standard X Toolkit attribute. Colormap for the plug-in window or drawable.
    Standard X Toolkit attribute. Depth of the plug-in window or drawable.


    Callback structures are used to pass platform-specific information. The NPSetWindowCallbackStruct object, allocated by the browser, contains information required for the ws_info field of an NPWindow.

    The NPP_SetWindow() function passes a pointer to this structure to the plug-in. The structure is valid for the lifetime of the NPWindow, that is, until NPP_SetWindow() is called again or the instance is destroyed.

    The type field of this structure always contains NP_SetWindow. The remaining fields are Standard X Toolkit attributes of the top-level shell window in the browser window hierarchy.

    See also

    문서 태그 및 공헌자

    Contributors to this page: Pmash, Karlt, kscarfone, Sheppy
    최종 변경: kscarfone,