pike.git / src / post_modules / GTK2 / source / gtkcellrendererprogress.pre

version» Context lines:

pike.git/src/post_modules/GTK2/source/gtkcellrendererprogress.pre:1: + /* -*- C -*- */ + require gtk26;    -  + class GTK2.CellRendererProgress; + inherit GTK2.CellRenderer; +  + //! Properties: + require gtk212; + //! int orientation + //! int pulse + endrequire; + //! string text + require gtk212; + //! float text-xalign + //! float text-yalign + endrequire; + //! int value +  + void create(?mapping(string:mixed) props) + //! Create a new W(CellRendererProgress). + { +  pgtk2_verify_not_inited(); +  pgtk2_verify_setup(); +  if (args) { +  INIT_WITH_PROPS(GTK_TYPE_CELL_RENDERER_PROGRESS); +  pgtk2_pop_n_elems(args); +  } else { +  GtkCellRenderer *gcr; +  gcr=gtk_cell_renderer_progress_new(); +  THIS->obj=G_OBJECT(gcr); +  } +  pgtk2__init_this_object(); + } +  + /* + int get_type(); + //! Get the type. Not really useful. + */ +  + endrequire;   Newline at end of file added.