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

version» Context lines:

pike.git/src/post_modules/GTK2/source/gtktexttag.pre:4:      //! Properties:   //! string background   //! int background-full-height   //! int background-full-height-set   //! GDK2.Color background-gdk   //! int background-set   //! GDK2.Pixmap background-stipple   //! int background-stipple-set   //! int direction - //! One of CONST(GTK_TEXT_DIRECTION) + //! One of CONST(GTK_TEXT_DIR_)   //! int editable   //! int editable-set   //! string family   //! int family-set   //! string font   require pango;   //! Pango.FontDescription font-desc   endrequire;   //! string foreground   //! GDK2.Color foreground-gdk   //! int foreground-set   //! GDK2.Pixmap foreground-stipple   //! int foreground-stipple-set   //! int indent   //! int indent-set   //! int invisible   //! int invisible_set   //! int justification - //! One of CONST(GTK_JUSTIFICATION_) + //! One of CONST(GTK_JUSTIFY_)   //! int justification-set   //! string language;   //! int language-set;   //! int left-margin;   //! int left-margin-set;   //! string name;   //! int pixels-above-lines;   //! int pixels-above-lines-set;   //! int pixels-below-lines;   //! int pixels-below-lines-set;
pike.git/src/post_modules/GTK2/source/gtktexttag.pre:68:   //! int underline;   //! One of CONST(PANGO_UNDERLINE_)   //! int underline-set;   //! int variant;   //! One of CONST(PANGO_VARIANT_)   //! int variant-set;   endrequire;   //! int weight;   //! int weight-set;   //! int wrap-mode; - //! One of CONST(GTK_WRAP_MODE_) + //! One of CONST(GTK_WRAP_)   //! int wrap-mode-set;      signal event;      void create(string|mapping(string:mixed) name_or_props)   //! Creates a new text tag.   {    pgtk2_verify_not_inited();    pgtk2_verify_setup();    {    if (TYPEOF(Pike_sp[-args]) == PIKE_T_STRING) {    char *name;    GtkTextTag *gt; -  get_all_args("create",args,"%s",&name); +  get_all_args(NULL,args,"%s",&name);    gt=gtk_text_tag_new(name);    THIS->obj=G_OBJECT(gt);    } else {    INIT_WITH_PROPS(GTK_TYPE_TEXT_TAG);    }    pgtk2_pop_n_elems(args);    }    pgtk2__init_this_object();   }   
pike.git/src/post_modules/GTK2/source/gtktexttag.pre:107:   //! Sets the priority. Valid priorities start at 0 and go to 1 less   //! than W(TextTagTable)->get_size().      int event(G.Object event_object, GDK2.Event event, GTK2.TextIter iter)   //! Emits the 'event' signal.   {    pgtk2_verify_inited();    {    struct object *o1,*o2,*o3;    int res; -  get_all_args("event",args,"%o%o%o",&o1,&o2,&o3); +  get_all_args(NULL,args,"%o%o%o",&o1,&o2,&o3);    res=gtk_text_tag_event(GTK_TEXT_TAG(THIS->obj),    G_OBJECT(get_gobject(o1)),    (GdkEvent *)get_gobject(o2),    (GtkTextIter *)get_pg2object(o3,pgtk2_text_iter_program));    pgtk2_pop_n_elems(args);    push_int(res);    }   }