Modules
ADT Database GTK2 GUI IP PiJAX Public Sql Stdio Subversion System Tools Xosd lua v4l2 wx
Recent Changes
Public.Parser.XML2 1.50
Public.ZeroMQ 1.1
Public.Template.Mustache 1.0
Public.Protocols.XMPP 1.4
Sql.Provider.jdbc 1.0
Popular Downloads
Public.Parser.JSON2 1.0
Public.Parser.JSON 0.2
GTK2 2.23
Public.Web.FCGI 1.8
Public.Parser.XML2 1.48
|
Module Information
GUI.GTK2
Viewing contents of GUI_GTK2-0.1/vbox.cmod
#include "global.h"
#include "svalue.h"
#include "interpret.h"
#include
/* This must be included last! */
#include "module.h"
#include "gtk2.h"
/*! @module GUI */
/*! @module GTK2 */
/*! @class VBox
*!
*! VBox is a container that organizes child widgets into a single column.
*/
PIKECLASS VBox
program_flags PROGRAM_USES_PARENT;
{
INHERIT Box;
/*! @decl void create(void)
*! @decl void create(int(0..1) homogeneous)
*! @decl void create(int(0..1) homogeneous,int spacing)
*!
*! Creates a new VBox.
*!
*! @param homogeneous
*! whether all children are to be given equal space allotments (default: 0)
*! @param spacing
*! the number of pixels to place by default between children (default: 0)
*/
PIKEFUN void create(void|int(0..1) homogeneous, void|int spacing)
{
GTK2_LOW=(void*)gtk_vbox_new(args>0?homogeneous->u.integer:0,args>1?spacing->u.integer:0);
pop_n_elems(args);
}
INIT
{
}
EXIT
{
}
}
/*! @endclass */
/*! @endmodule */
/*! @endmodule */
void pike_init_gtk2_vbox(void)
{
INIT
}
void pike_exit_gtk2_vbox(void)
{
EXIT
}
|
|
|