mailing-list for TeXmacs Users

Text archives Help


Re: [TeXmacs] Images and large document size


Chronological Thread 
  • From: Miguel de Benito Delgado <address@hidden>
  • To: address@hidden
  • Subject: Re: [TeXmacs] Images and large document size
  • Date: Wed, 17 Oct 2012 14:10:56 +0200

Hi,

On Fri, Oct 12, 2012 at 5:28 AM, François-Xavier Thomas <address@hidden> wrote:
How would you guys take into account the value of the preference menu in the C++ code then?

You need to define a user preference using the macro define-preferences. This entails defining a callback procedure which will get called whenever a given menu item is clicked for instance (the menu item should call set-preference, which will in turn automatically call your callback function). See the manual on that (a bit more detail in the SVN). Then you can access it from C++ using get_preference().

Best,
________________
Miguel de  Benito.




Archive powered by MHonArc 2.6.19.

Top of page