Funct

Undocumented in source.

Constructors

this
this()
Undocumented in source.
this
this(string text, ConvParms* convParms, string[string] aliases)

Gets the type, name and parameters of the function

Members

Functions

bod
string[] bod()

Gets the body of the GtkD method. This include the call to the Gtk function. If the first parameter is a pointer to the struct make it implicit and use the internal struct

declaration
string declaration()

Gets the method header. If the type is a pointer to the main strcut and the name starts with "new" then the method is a constructor

getCallbackParameters
string getCallbackParameters(int firstParameter)

Gets the parameters for the call back functions. These are all but the first parameter and the last parameter will be the class. I'm not sure ths is valid for all callbacks.

getCallbackVars
string getCallbackVars()

Gets the actual parameters for the call back functions. These are all but the first parameter and the last parameter will be the class. I'm not sure ths is valid for all callbacks.

getDelegateDeclaration
string getDelegateDeclaration(int firstParameter)
Undocumented in source. Be warned that the author may not have intended to support it.
getExternal
string getExternal()

Gets the external declaration

getParameters
string getParameters()
Undocumented in source. Be warned that the author may not have intended to support it.
getStrctVar
string getStrctVar()
Undocumented in source. Be warned that the author may not have intended to support it.
getUnwrappedType
string getUnwrappedType(string currType)

Gets the gtk from the GtkD class to be used on the Gtk function call

getWrapParametersType
string getWrapParametersType()
Undocumented in source. Be warned that the author may not have intended to support it.
getWrappedType
string getWrappedType(string currType)

Checks the type against the strcutWrap table

getWrappedType
string getWrappedType(Param param)

Ditto, but for parameters, also checks for out, ref, array and const.

parameterToGtk
string parameterToGtk(Param param)

Wraps the parameters if necessary

parameterToGtkD
string parameterToGtkD(Param param)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

aliases
string[string] aliases;
Undocumented in source.
convName
string convName;

name after convertion

convParms
ConvParms* convParms;
Undocumented in source.
ctor
bool ctor;

when true this method was found to be a constructor

name
string name;
Undocumented in source.
params
Param[] params;
Undocumented in source.
strctPointer
string strctPointer;
Undocumented in source.
strctVar
string strctVar;
Undocumented in source.
type
string type;
Undocumented in source.
typeWrap
string typeWrap;
Undocumented in source.

Meta