wxPerl documentation updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16048 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -190,6 +190,8 @@ wxImage to a wxBitmap.}
|
|||||||
\item{Wx::Bitmap->new( width, height, depth = -1 )}
|
\item{Wx::Bitmap->new( width, height, depth = -1 )}
|
||||||
\item{Wx::Bitmap->new( name, type )}
|
\item{Wx::Bitmap->new( name, type )}
|
||||||
\item{Wx::Bitmap->new( icon )}
|
\item{Wx::Bitmap->new( icon )}
|
||||||
|
\item{Wx::Bitmap->newFromBits( bits, width, height, depth = 1 )}
|
||||||
|
\item{Wx::Bitmap->newFromXPM( data )}
|
||||||
\end{itemize}
|
\end{itemize}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -166,6 +166,8 @@ hotSpotY=0)}}{Constructs a cursor from a filename}
|
|||||||
\begin{itemize}
|
\begin{itemize}
|
||||||
\item{Wx::Cursor->new( name, type, hotSpotX = 0, hotSpotY = 0 )}
|
\item{Wx::Cursor->new( name, type, hotSpotX = 0, hotSpotY = 0 )}
|
||||||
\item{Wx::Cursor->new( id )}
|
\item{Wx::Cursor->new( id )}
|
||||||
|
\item{Wx::Cursor->new( image )}
|
||||||
|
\item{Wx::Cursor->newData( bits, width, height, hotSpotX = -1, hotSpotY = -1, maskBits = 0 )}
|
||||||
\end{itemize}
|
\end{itemize}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -104,6 +104,9 @@ translation under Windows is not yet finished.
|
|||||||
Derive a class from \helpref{wxPyDataObjectSimple}{wxdataobjectsimple}
|
Derive a class from \helpref{wxPyDataObjectSimple}{wxdataobjectsimple}
|
||||||
instead.}
|
instead.}
|
||||||
|
|
||||||
|
\perlnote{This class is not currently usable from wxPerl; you may
|
||||||
|
use \helpref{Wx::PlDataObjectSimple}{wxdataobjectsimple} instead.}
|
||||||
|
|
||||||
\wxheading{Virtual functions to override}
|
\wxheading{Virtual functions to override}
|
||||||
|
|
||||||
Each class derived directly from wxDataObject must override and implement all
|
Each class derived directly from wxDataObject must override and implement all
|
||||||
|
@@ -24,6 +24,9 @@ wxPython you should derive the class from wxPyDataObjectSimple
|
|||||||
in order to get Python-aware capabilities for the various virtual
|
in order to get Python-aware capabilities for the various virtual
|
||||||
methods.}
|
methods.}
|
||||||
|
|
||||||
|
\perlnote{In wxPerl, you need to derive your data object class
|
||||||
|
from Wx::PlDataObjectSimple.}
|
||||||
|
|
||||||
\wxheading{Virtual functions to override}
|
\wxheading{Virtual functions to override}
|
||||||
|
|
||||||
The objects supporting rendering the data must override
|
The objects supporting rendering the data must override
|
||||||
|
@@ -18,6 +18,9 @@ are constructed.
|
|||||||
|
|
||||||
Also consult \helpref{list of available handlers}{fs}.
|
Also consult \helpref{list of available handlers}{fs}.
|
||||||
|
|
||||||
|
\perlnote{In wxPerl, you need to derive your file system handler class
|
||||||
|
from Wx::PlFileSystemHandler.}
|
||||||
|
|
||||||
\wxheading{Notes}
|
\wxheading{Notes}
|
||||||
|
|
||||||
\begin{itemize}\itemsep=0pt
|
\begin{itemize}\itemsep=0pt
|
||||||
|
@@ -196,6 +196,8 @@ must have mask colour set.
|
|||||||
\begin{itemize}
|
\begin{itemize}
|
||||||
\item{Wx::Icon->new( width, height, depth = -1 )}
|
\item{Wx::Icon->new( width, height, depth = -1 )}
|
||||||
\item{Wx::Icon->new( name, type, desiredWidth = -1, desiredHeight = -1 )}
|
\item{Wx::Icon->new( name, type, desiredWidth = -1, desiredHeight = -1 )}
|
||||||
|
\item{Wx::Icon->newFromBits( bits, width, height, depth = 1 )}
|
||||||
|
\item{Wx::Icon->newFromXPM( data )}
|
||||||
\end{itemize}
|
\end{itemize}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user