gtk_ui_manager_add_ui_from_string on inline string vs. _from_file



Hi all,

what are the advantages of using gtk_ui_manager_add_ui_from_string()
using a inline compiled string vs. gtk_ui_manager_add_ui_from_file() ?

from_string() enlarges the executable, but the executable is one file
that is read from disk as a contiguous block,  from_file() makes the
executable smaller, but involves runtime an extra file seek / open /
read / close.

Any opinions?

Olivier



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