; -*- scheme -*- (define-method flags (of-object "GtkObject") (c-name "GTK_OBJECT_FLAGS") (return-type "guint") ) (define-method set_flags (of-object "GtkObject") (c-name "GTK_OBJECT_SET_FLAGS") (return-type "none") (parameters '("guint" "flags") ) ) (define-method unset_flags (of-object "GtkObject") (c-name "GTK_OBJECT_UNSET_FLAGS") (return-type "none") (parameters '("guint" "flags") ) ) (define-method get_allocation (of-object "GtkWidget") (c-name "gtk_widget_get_allocation") (return-type "GtkAllocation") ) (define-method get_selection (of-object "GtkList") (c-name "gtk_list_get_selection") (return-type "GList*") ) (define-method set_all (of-object "GtkAdjustment") (c-name "gtk_adjustment_set_all") (return-type "none") (parameters '("gfloat" "value") '("gfloat" "lower") '("gfloat" "upper") '("gfloat" "step_increment") '("gfloat" "page_increment") '("gfloat" "page_size") ) ) ;; PyGtkTreeModel (define-object GenericTreeModel (in-module "PyGtk") (parent "GObject") (c-name "PyGtkGenericTreeModel") (gtype-id "PYGTK_TYPE_GENERIC_TREE_MODEL") (implements "GtkTreeModel") ) (define-function pygtk_generic_tree_model_get_type (c-name "pygtk_generic_tree_model_get_type") (return-type "GType") ) (define-function pygtk_generic_tree_model_new (c-name "pygtk_generic_tree_model_new") (is-constructor-of PyGtkGenericTreeModel) (return-type "PyGtkGenericTreeModel*") ) ;; PyGtkGenericCellRenderer (define-object GenericCellRenderer (in-module "PyGtk") (parent "GtkCellRenderer") (c-name "PyGtkGenericCellRenderer") (gtype-id "PYGTK_TYPE_GENERIC_CELL_RENDERER") ) (define-function pygtk_generic_cell_renderer_get_type (c-name "pygtk_generic_cell_renderer_get_type") (return-type "GType") ) (define-function pygtk_generic_cell_renderer_new (c-name "pygtk_generic_cell_renderer_new") (is-constructor-of PyGtkGenericCellRenderer) (return-type "GtkCellRenderer*") )