Branch: Tag:

2006-02-27

2006-02-27 12:23:19 by Martin Stjernholm <mast@lysator.liu.se>

Properly (hopefully) fixed naming to not conflict with the GTK module.

Rev: src/post_modules/GTK2/build_pgtk.pike:1.11
Rev: src/post_modules/GTK2/output/split.pike:1.10
Rev: src/post_modules/GTK2/output/util.pike:1.3
Rev: src/post_modules/GTK2/pgtk.h:1.14
Rev: src/post_modules/GTK2/pgtk2_symbol_remap.h:1.5(DEAD)
Rev: src/post_modules/GTK2/source/common_draw.inc:1.6
Rev: src/post_modules/GTK2/source/encode_truecolor.c:1.3
Rev: src/post_modules/GTK2/source/gdkatom.pre:1.3
Rev: src/post_modules/GTK2/source/gdkbitmap.pre:1.6
Rev: src/post_modules/GTK2/source/gdkcolor.pre:1.4
Rev: src/post_modules/GTK2/source/gdkdisplay.pre:1.5
Rev: src/post_modules/GTK2/source/gdkdragcontext.pre:1.4
Rev: src/post_modules/GTK2/source/gdkdrawable.pre:1.5
Rev: src/post_modules/GTK2/source/gdkevent.pre:1.7
Rev: src/post_modules/GTK2/source/gdkgc.pre:1.6
Rev: src/post_modules/GTK2/source/gdkimage.pre:1.3
Rev: src/post_modules/GTK2/source/gdkpixbuf.pre:1.14
Rev: src/post_modules/GTK2/source/gdkpixbufanimation.pre:1.5
Rev: src/post_modules/GTK2/source/gdkpixbufanimationiter.pre:1.5
Rev: src/post_modules/GTK2/source/gdkpixmap.pre:1.4
Rev: src/post_modules/GTK2/source/gdkrectangle.pre:1.7
Rev: src/post_modules/GTK2/source/gdkregion.pre:1.3
Rev: src/post_modules/GTK2/source/gdkwindow.pre:1.6
Rev: src/post_modules/GTK2/source/gladexml.pre:1.7
Rev: src/post_modules/GTK2/source/global.pre:1.12
Rev: src/post_modules/GTK2/source/gnome/gnomeapp.pre:1.2
Rev: src/post_modules/GTK2/source/gnome/gnomecanvas.pre:1.3
Rev: src/post_modules/GTK2/source/gnome/gnomecanvasgroup.pre:1.3
Rev: src/post_modules/GTK2/source/gnome/gnomecanvasitem.pre:1.3
Rev: src/post_modules/GTK2/source/gnome/gnomecanvasline.pre:1.3
Rev: src/post_modules/GTK2/source/gnome/gnomedialog.pre:1.3
Rev: src/post_modules/GTK2/source/gnome/gnomemessagebox.pre:1.3
Rev: src/post_modules/GTK2/source/gnomecanvas.pre:1.6
Rev: src/post_modules/GTK2/source/gnomeclient.pre:1.5
Rev: src/post_modules/GTK2/source/gnomedruidpageedge.pre:1.7
Rev: src/post_modules/GTK2/source/gnomedruidpagestandard.pre:1.7
Rev: src/post_modules/GTK2/source/gobject.pre:1.6
Rev: src/post_modules/GTK2/source/gtkaboutdialog.pre:1.6
Rev: src/post_modules/GTK2/source/gtkaccelgroup.pre:1.4
Rev: src/post_modules/GTK2/source/gtkaccellabel.pre:1.4
Rev: src/post_modules/GTK2/source/gtkaction.pre:1.6
Rev: src/post_modules/GTK2/source/gtkactiongroup.pre:1.5
Rev: src/post_modules/GTK2/source/gtkadjustment.pre:1.5
Rev: src/post_modules/GTK2/source/gtkalignment.pre:1.4
Rev: src/post_modules/GTK2/source/gtkarrow.pre:1.5
Rev: src/post_modules/GTK2/source/gtkaspectframe.pre:1.7
Rev: src/post_modules/GTK2/source/gtkbox.pre:1.4
Rev: src/post_modules/GTK2/source/gtkbutton.pre:1.10
Rev: src/post_modules/GTK2/source/gtkcalendar.pre:1.4
Rev: src/post_modules/GTK2/source/gtkcelleditable.pre:1.2
Rev: src/post_modules/GTK2/source/gtkcellrenderer.pre:1.7
Rev: src/post_modules/GTK2/source/gtkcellrenderercombo.pre:1.4
Rev: src/post_modules/GTK2/source/gtkcellrendererpixbuf.pre:1.4
Rev: src/post_modules/GTK2/source/gtkcellrendererprogress.pre:1.4
Rev: src/post_modules/GTK2/source/gtkcellrenderertext.pre:1.4
Rev: src/post_modules/GTK2/source/gtkcellrenderertoggle.pre:1.4
Rev: src/post_modules/GTK2/source/gtkcellview.pre:1.9
Rev: src/post_modules/GTK2/source/gtkcheckbutton.pre:1.7
Rev: src/post_modules/GTK2/source/gtkcheckmenuitem.pre:1.6
Rev: src/post_modules/GTK2/source/gtkclipboard.pre:1.3
Rev: src/post_modules/GTK2/source/gtkcolorbutton.pre:1.8
Rev: src/post_modules/GTK2/source/gtkcolorselection.pre:1.8
Rev: src/post_modules/GTK2/source/gtkcolorselectiondialog.pre:1.6
Rev: src/post_modules/GTK2/source/gtkcombobox.pre:1.6
Rev: src/post_modules/GTK2/source/gtkcomboboxentry.pre:1.6
Rev: src/post_modules/GTK2/source/gtkcontainer.pre:1.4
Rev: src/post_modules/GTK2/source/gtkdatabox.pre:1.8
Rev: src/post_modules/GTK2/source/gtkdialog.pre:1.4
Rev: src/post_modules/GTK2/source/gtkdrawingarea.pre:1.4
Rev: src/post_modules/GTK2/source/gtkeditable.pre:1.2
Rev: src/post_modules/GTK2/source/gtkentry.pre:1.7
Rev: src/post_modules/GTK2/source/gtkentrycompletion.pre:1.7
Rev: src/post_modules/GTK2/source/gtkeventbox.pre:1.4
Rev: src/post_modules/GTK2/source/gtkexpander.pre:1.6
Rev: src/post_modules/GTK2/source/gtkfilechooser.pre:1.3
Rev: src/post_modules/GTK2/source/gtkfilechooserbutton.pre:1.7
Rev: src/post_modules/GTK2/source/gtkfilechooserdialog.pre:1.10
Rev: src/post_modules/GTK2/source/gtkfilechooserwidget.pre:1.6
Rev: src/post_modules/GTK2/source/gtkfileselection.pre:1.6
Rev: src/post_modules/GTK2/source/gtkfixed.pre:1.5
Rev: src/post_modules/GTK2/source/gtkfontbutton.pre:1.4
Rev: src/post_modules/GTK2/source/gtkfontselection.pre:1.4
Rev: src/post_modules/GTK2/source/gtkfontselectiondialog.pre:1.6
Rev: src/post_modules/GTK2/source/gtkframe.pre:1.7
Rev: src/post_modules/GTK2/source/gtkhandlebox.pre:1.4
Rev: src/post_modules/GTK2/source/gtkhbox.pre:1.5
Rev: src/post_modules/GTK2/source/gtkhbuttonbox.pre:1.4
Rev: src/post_modules/GTK2/source/gtkhpaned.pre:1.4
Rev: src/post_modules/GTK2/source/gtkhscale.pre:1.5
Rev: src/post_modules/GTK2/source/gtkhscrollbar.pre:1.6
Rev: src/post_modules/GTK2/source/gtkhseparator.pre:1.4
Rev: src/post_modules/GTK2/source/gtkiconfactory.pre:1.4
Rev: src/post_modules/GTK2/source/gtkiconinfo.pre:1.4
Rev: src/post_modules/GTK2/source/gtkiconset.pre:1.5
Rev: src/post_modules/GTK2/source/gtkiconsize.pre:1.5
Rev: src/post_modules/GTK2/source/gtkiconsource.pre:1.5
Rev: src/post_modules/GTK2/source/gtkicontheme.pre:1.5
Rev: src/post_modules/GTK2/source/gtkiconview.pre:1.5
Rev: src/post_modules/GTK2/source/gtkimage.pre:1.7
Rev: src/post_modules/GTK2/source/gtkimagemenuitem.pre:1.6
Rev: src/post_modules/GTK2/source/gtkinvisible.pre:1.4
Rev: src/post_modules/GTK2/source/gtkkeywordlisttag.pre:1.4
Rev: src/post_modules/GTK2/source/gtklabel.pre:1.7
Rev: src/post_modules/GTK2/source/gtklayout.pre:1.5
Rev: src/post_modules/GTK2/source/gtkliststore.pre:1.13
Rev: src/post_modules/GTK2/source/gtkmenu.pre:1.3
Rev: src/post_modules/GTK2/source/gtkmenubar.pre:1.5
Rev: src/post_modules/GTK2/source/gtkmenuitem.pre:1.7
Rev: src/post_modules/GTK2/source/gtkmenushell.pre:1.4
Rev: src/post_modules/GTK2/source/gtkmenutoolbutton.pre:1.5
Rev: src/post_modules/GTK2/source/gtkmessagedialog.pre:1.2
Rev: src/post_modules/GTK2/source/gtkmisc.pre:1.5
Rev: src/post_modules/GTK2/source/gtknotebook.pre:1.5
Rev: src/post_modules/GTK2/source/gtkobject.pre:1.2
Rev: src/post_modules/GTK2/source/gtkplug.pre:1.5
Rev: src/post_modules/GTK2/source/gtkprogressbar.pre:1.5
Rev: src/post_modules/GTK2/source/gtkradioaction.pre:1.7
Rev: src/post_modules/GTK2/source/gtkradiobutton.pre:1.8
Rev: src/post_modules/GTK2/source/gtkradiomenuitem.pre:1.5
Rev: src/post_modules/GTK2/source/gtkradiotoolbutton.pre:1.4
Rev: src/post_modules/GTK2/source/gtkrcstyle.pre:1.4
Rev: src/post_modules/GTK2/source/gtkscale.pre:1.4
Rev: src/post_modules/GTK2/source/gtkscrolledwindow.pre:1.7
Rev: src/post_modules/GTK2/source/gtkseparatormenuitem.pre:1.4
Rev: src/post_modules/GTK2/source/gtkseparatortoolitem.pre:1.4
Rev: src/post_modules/GTK2/source/gtksettings.pre:1.4
Rev: src/post_modules/GTK2/source/gtksizegroup.pre:1.5
Rev: src/post_modules/GTK2/source/gtksocket.pre:1.4
Rev: src/post_modules/GTK2/source/gtksourcebuffer.pre:1.5
Rev: src/post_modules/GTK2/source/gtksourceiter.pre:1.5
Rev: src/post_modules/GTK2/source/gtksourcelanguage.pre:1.7
Rev: src/post_modules/GTK2/source/gtksourcelanguagesmanager.pre:1.5
Rev: src/post_modules/GTK2/source/gtksourceprintjob.pre:1.6
Rev: src/post_modules/GTK2/source/gtksourcestylescheme.pre:1.5
Rev: src/post_modules/GTK2/source/gtksourcetag.pre:1.6
Rev: src/post_modules/GTK2/source/gtksourcetagtable.pre:1.3
Rev: src/post_modules/GTK2/source/gtksourceview.pre:1.3
Rev: src/post_modules/GTK2/source/gtkspinbutton.pre:1.7
Rev: src/post_modules/GTK2/source/gtkstatusbar.pre:1.4
Rev: src/post_modules/GTK2/source/gtkstyle.pre:1.5
Rev: src/post_modules/GTK2/source/gtktable.pre:1.5
Rev: src/post_modules/GTK2/source/gtktearoffmenuitem.pre:1.4
Rev: src/post_modules/GTK2/source/gtktextattributes.pre:1.5
Rev: src/post_modules/GTK2/source/gtktextbuffer.pre:1.9
Rev: src/post_modules/GTK2/source/gtktextchildanchor.pre:1.3
Rev: src/post_modules/GTK2/source/gtktextiter.pre:1.8
Rev: src/post_modules/GTK2/source/gtktextmark.pre:1.5
Rev: src/post_modules/GTK2/source/gtktexttag.pre:1.4
Rev: src/post_modules/GTK2/source/gtktextview.pre:1.7
Rev: src/post_modules/GTK2/source/gtktoggleaction.pre:1.4
Rev: src/post_modules/GTK2/source/gtktogglebutton.pre:1.6
Rev: src/post_modules/GTK2/source/gtktoggletoolbutton.pre:1.4
Rev: src/post_modules/GTK2/source/gtktoolbar.pre:1.5
Rev: src/post_modules/GTK2/source/gtktoolbutton.pre:1.5
Rev: src/post_modules/GTK2/source/gtktoolitem.pre:1.4
Rev: src/post_modules/GTK2/source/gtktreedragdest.pre:1.2
Rev: src/post_modules/GTK2/source/gtktreedragsource.pre:1.2
Rev: src/post_modules/GTK2/source/gtktreeiter.pre:1.4
Rev: src/post_modules/GTK2/source/gtktreemodel.pre:1.4
Rev: src/post_modules/GTK2/source/gtktreepath.pre:1.6
Rev: src/post_modules/GTK2/source/gtktreerowreference.pre:1.5
Rev: src/post_modules/GTK2/source/gtktreeselection.pre:1.7
Rev: src/post_modules/GTK2/source/gtktreesortable.pre:1.2
Rev: src/post_modules/GTK2/source/gtktreestore.pre:1.12
Rev: src/post_modules/GTK2/source/gtktreeview.pre:1.7
Rev: src/post_modules/GTK2/source/gtktreeviewcolumn.pre:1.8
Rev: src/post_modules/GTK2/source/gtkuimanager.pre:1.5
Rev: src/post_modules/GTK2/source/gtkvbox.pre:1.5
Rev: src/post_modules/GTK2/source/gtkvbuttonbox.pre:1.4
Rev: src/post_modules/GTK2/source/gtkviewport.pre:1.5
Rev: src/post_modules/GTK2/source/gtkvpaned.pre:1.4
Rev: src/post_modules/GTK2/source/gtkvscale.pre:1.4
Rev: src/post_modules/GTK2/source/gtkvscrollbar.pre:1.6
Rev: src/post_modules/GTK2/source/gtkvseparator.pre:1.4
Rev: src/post_modules/GTK2/source/gtkwidget.pre:1.10
Rev: src/post_modules/GTK2/source/gtkwindow.pre:1.7
Rev: src/post_modules/GTK2/source/pangoattrlist.pre:1.5
Rev: src/post_modules/GTK2/source/pangocontext.pre:1.5
Rev: src/post_modules/GTK2/source/pangofontdescription.pre:1.6
Rev: src/post_modules/GTK2/source/pangolayout.pre:1.7
Rev: src/post_modules/GTK2/source/pangolayoutiter.pre:1.5
Rev: src/post_modules/GTK2/source/pangolayoutline.pre:1.6
Rev: src/post_modules/GTK2/source/pangotabarray.pre:1.5
Rev: src/post_modules/GTK2/source/support.c:1.11

17:   //! style options will be set to the default values. If SIZE is missing, the   //! size in the resulting font description will be set to 0.   { -  pgtk_verify_not_inited(); -  pgtk_verify_setup(); +  pgtk2_verify_not_inited(); +  pgtk2_verify_setup();    if (args) {    char *str;    get_all_args("create",args,"%s",&str);
26:    THIS->obj=(void *)pango_font_description_from_string(str);    else    THIS->obj=(void *)pango_font_description_new(); -  my_pop_n_elems(args); +  pgtk2_pop_n_elems(args);    } else    THIS->obj=(void *)pango_font_description_new(); -  pgtk__init_this_object(); +  pgtk2__init_this_object();   }      Pango.FontDescription copy()   //! Copy a font description.   { -  pgtk_verify_inited(); +  pgtk2_verify_inited();    {    PangoFontDescription *pfd=pango_font_description_copy(    (PangoFontDescription *)THIS->obj); -  my_pop_n_elems(args); -  push_gobjectclass(pfd,ppango_font_description_program); +  pgtk2_pop_n_elems(args); +  push_gobjectclass(pfd,ppango2_font_description_program);    }   }      int equal(Pango.FontDescription desc)   //! Compares two font descriptions for equality.   { -  pgtk_verify_inited(); +  pgtk2_verify_inited();    {    struct object *o1;    int res;
55:    get_all_args("equal",args,"%o",&o1);    res=pango_font_description_equal((PangoFontDescription *)THIS->obj,    (PangoFontDescription *)get_gobject(o1)); -  my_pop_n_elems(args); +  pgtk2_pop_n_elems(args);    PGTK_PUSH_INT(res);    }   }
66:    if (THIS->obj)    pango_font_description_free((PangoFontDescription *)THIS->obj);    THIS->obj=0; -  my_pop_n_elems(args); +  pgtk2_pop_n_elems(args);    push_int(0);   }   
74:   //! Sets the family name. The family name represents a family of related   //! fonts styles, and will resolve to a particular PangoFontFamily.   { -  pgtk_verify_inited(); +  pgtk2_verify_inited();    {    char *str;    get_all_args("set_family",args,"%s",&str);
87:   string get_family()   //! Gets the family name.   { -  pgtk_verify_inited(); -  my_pop_n_elems(args); +  pgtk2_verify_inited(); +  pgtk2_pop_n_elems(args);    PGTK_PUSH_GCHAR(    pango_font_description_get_family((PangoFontDescription *)THIS->obj));   }
100:   //! matching in Pango will match italic specifications with oblique fonts and   //! vice-versa if an exact match is not found.   { -  pgtk_verify_inited(); +  pgtk2_verify_inited();    {    INT_TYPE style;    get_all_args("set_style",args,"%i",&style);
112:   int get_style()   //! Gets the style.   { -  pgtk_verify_inited(); -  my_pop_n_elems(args); +  pgtk2_verify_inited(); +  pgtk2_pop_n_elems(args);    push_int(pango_font_description_get_style((PangoFontDescription *)THIS->obj));   }      void set_variant(int variant)   //! Sets the variant. One of CONST(PANGO_VARIANT_).   { -  pgtk_verify_inited(); +  pgtk2_verify_inited();    {    INT_TYPE var;    get_all_args("set_variant",args,"%i",&var);
132:   int get_variant()   //! Gets the variant.   { -  pgtk_verify_inited(); -  my_pop_n_elems(args); +  pgtk2_verify_inited(); +  pgtk2_pop_n_elems(args);    push_int(pango_font_description_get_variant(    (PangoFontDescription *)THIS->obj));   }
143:   //! be. In addition to the values of CONST(PANGO_WEIGHT_), other intermediate   //! numeric values are possible.   { -  pgtk_verify_inited(); +  pgtk2_verify_inited();    {    INT_TYPE we;    get_all_args("set_weight",args,"%i",&we);
155:   int get_weight()   //! Gets the weight.   { -  pgtk_verify_inited(); -  my_pop_n_elems(args); +  pgtk2_verify_inited(); +  pgtk2_pop_n_elems(args);    push_int(pango_font_description_get_weight(    (PangoFontDescription *)THIS->obj));   }
165:   //! Sets the stretch. This specifies how narrow or wide the font should be.   //! One of CONST(PANGO_STRETCH_).   { -  pgtk_verify_inited(); +  pgtk2_verify_inited();    {    INT_TYPE st;    get_all_args("set_stretch",args,"%i",&st);
177:   int get_stretch()   //! Get the stretch.   { -  pgtk_verify_inited(); -  my_pop_n_elems(args); +  pgtk2_verify_inited(); +  pgtk2_pop_n_elems(args);    push_int(pango_font_description_get_stretch(    (PangoFontDescription *)THIS->obj));   }
192:   //! to a 1o*(96.72) = 13.3 pixel font. Use set_absolute_size() if you need   //! a particular size in device units.   { -  pgtk_verify_inited(); +  pgtk2_verify_inited();    {    INT_TYPE size;    get_all_args("set_size",args,"%i",&size);
204:   int get_size()   //! Gets the size.   { -  pgtk_verify_inited(); -  my_pop_n_elems(args); +  pgtk2_verify_inited(); +  pgtk2_pop_n_elems(args);    push_int(pango_font_description_get_size(    (PangoFontDescription *)THIS->obj));   }
216:   //! one device unit. For an output backend where a device unit is a pixel,   //! a size value of 10*GTK2.PANGO_SCALE gives a 10 pixel font.   { -  pgtk_verify_inited(); +  pgtk2_verify_inited();    {    FLOAT_TYPE size;    get_all_args("set_absolute_size",args,"%f",&size);
229:   int get_size_is_absolute()   //! Determines whether the size of the font is in points or device units.   { -  pgtk_verify_inited(); -  my_pop_n_elems(args); +  pgtk2_verify_inited(); +  pgtk2_pop_n_elems(args);    push_int(pango_font_description_get_size_is_absolute(    (PangoFontDescription *)THIS->obj));   }
242:   //! set are affected. If true, then fields that are already set will be   //! replaced as well.   { -  pgtk_verify_inited(); +  pgtk2_verify_inited();    {    INT_TYPE rep;    struct object *o1;
258:   //! if old is omitted, determines if new is a match at all. Approximate   //! matching is done for weight and style; other attributes must match exactly.   { -  pgtk_verify_inited(); +  pgtk2_verify_inited();    {    struct object *o1,*o2=NULL;    int res;
266:    res=pango_font_description_better_match((PangoFontDescription *)THIS->obj,    (PangoFontDescription *)get_gobject(o2),    (PangoFontDescription *)get_gobject(o1)); -  my_pop_n_elems(args); +  pgtk2_pop_n_elems(args);    push_int(res);    }   }
276:   //! will only have a terminating comm if the last word of the list is a valid   //! style option.   { -  pgtk_verify_inited(); -  my_pop_n_elems(args); +  pgtk2_verify_inited(); +  pgtk2_pop_n_elems(args);    {    char *str=pango_font_description_to_string(    (PangoFontDescription *)THIS->obj);
290:   //! result from calling to_string(), but with underscores instead of characters   //! that are untypical in filenames, and in lower case only.   { -  pgtk_verify_inited(); -  my_pop_n_elems(args); +  pgtk2_verify_inited(); +  pgtk2_pop_n_elems(args);    {    char *str=pango_font_description_to_filename(    (PangoFontDescription *)THIS->obj);