"no need for these functions" ?



This from gc.h in gtkmm 2.6:

  // Custom wrap these?, maybe with a Gdk::GC::Value class. Need to do
take care of refcounts of GdkGCValue's fields.
  // Actually, I don't see the need for these methods. murrayc.
  //_WRAP_METHOD(void get_values(GdkGCValues& values) const,
gdk_gc_get_values)
  //_WRAP_METHOD(void set_values(const GdkGCValues& values, GCValuesMask
values_mask), gdk_gc_set_values)
  //__IGNORE(gdk_gc_get_values, gdk_gc_set_values)

the reason these methods are useful is when you want to modify a GC and
then reset it back to whatever values it had before (eg. a clip mask).

do you have an alternate suggestion for how to do this?

--p





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]