DocDeclStr(
void , SetId(const wxString& format),
"Sets the format to be the custom format identified by the given name.", "");
+
+ %property(Id, GetId, SetId, doc="See `GetId` and `SetId`");
+ %property(Type, GetType, SetType, doc="See `GetType` and `SetType`");
};
}
}
+ %property(AllFormats, GetAllFormats, doc="See `GetAllFormats`");
+ %property(DataHere, GetDataHere, doc="See `GetDataHere`");
+ %property(DataSize, GetDataSize, doc="See `GetDataSize`");
+ %property(FormatCount, GetFormatCount, doc="See `GetFormatCount`");
+ %property(PreferredFormat, GetPreferredFormat, doc="See `GetPreferredFormat`");
};
}
}
+ %property(Format, GetFormat, SetFormat, doc="See `GetFormat` and `SetFormat`");
};
the clipboard or the DnD operation. You can use this method to find
out what kind of data object was recieved.", "");
+ %property(ReceivedFormat, GetReceivedFormat, doc="See `GetReceivedFormat`");
};
//---------------------------------------------------------------------------
fly you may wish to override this function (via
`wx.PyTextDataObject`.)", "");
+ %property(Text, GetText, SetText, doc="See `GetText` and `SetText`");
+ %property(TextLength, GetTextLength, doc="See `GetTextLength`");
};
when the data object receives data. Usually there will be no reason to
override this function.", "");
+ %property(Bitmap, GetBitmap, SetBitmap, doc="See `GetBitmap` and `SetBitmap`");
};
void , AddFile(const wxString &filename),
"Adds a file to the list of files represented by this data object.", "");
+ %property(Filenames, GetFilenames, doc="See `GetFilenames`");
};
//---------------------------------------------------------------------------
return obj;
}
}
+
+ %property(Data, GetData, SetData, doc="See `GetData` and `SetData`");
+ %property(Size, GetSize, doc="See `GetSize`");
+
};
browsers such that it is able to be dragged to or from them.", "");
class wxURLDataObject : public wxDataObject/*Composite*/ {
public:
- wxURLDataObject();
+ wxURLDataObject(const wxString& url = wxPyEmptyString);
DocDeclStr(
wxString , GetURL(),
void , SetURL(const wxString& url),
"Set the URL.", "");
+ %property(URL, GetURL, SetURL, doc="See `GetURL` and `SetURL`");
};
//---------------------------------------------------------------------------