GetIntPtrProperty() public method

public GetIntPtrProperty ( System.Property property ) : IntPtr
property System.Property
return System.IntPtr
Example #1
0
        bool HandleWindowEvent(ScreenEvent ev)
        {
            var handle = ev.GetIntPtrProperty(Property.SCREEN_PROPERTY_WINDOW);

            if (!windows.ContainsKey(handle))
            {
                return(false);
            }
            windows [handle].HandleEvent(ev);
            return(true);
        }
Example #2
0
 bool HandleWindowEvent(ScreenEvent ev)
 {
     var handle = ev.GetIntPtrProperty (Property.SCREEN_PROPERTY_WINDOW);
     if (!windows.ContainsKey (handle)) {
         return false;
     }
     windows [handle].HandleEvent (ev);
     return true;
 }