Re: EuGTK: "font"

new topic     » goto parent     » topic index » view thread      » older message » newer message
Jerry_Story said...
irv said...

Jerry: try running with -d SET to display the 'method' that is being called at that point, as well as the value of the pointer being passed. That might tell us something.

That produces a huge amount of information. Here is a portion of it that might be relevant.

SET: font GtkTreeView 
{ 
  "override_font", 
  {33554436,150994948}, 
  0, 
  2517 
} 
{ 
  604291344,        <== pointer to object being affected 
  "Georgia Bold 12" 

OK, the next step is to see if somehow you're getting an invalid pointer to the TreeView - just after you create the TV, you can put a line to print the value of the pointer, then compare it with the <== marked value in the debug output.

As a work-around, you can always set the font on a per-column basis, see test33.ex for examples of this. e.g:

 constant col3 = create(GtkTreeViewColumn,"type=text, text=#1, font='Mono 10'") 
new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu