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/hbox.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 HBox
*!
*! HBox is a container that organizes child widgets into a single row.
*/
PIKECLASS HBox
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 HBox.
*!
*! @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_hbox_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_hbox(void)
{
INIT
}
void pike_exit_gtk2_hbox(void)
{
EXIT
}
|
|
|