problem with FontSelectionDialog ...

I'm having trouble extracting the font name, size and style from this type of dialog. I want my application to manage internally the types of fonts it uses independently from the visual interface. Therefore when I launch this dialog I need the information separated. I noticed there's a get_font_selection() method that returns a FontSelection that contains three Gtk::Widgets one Gtk::Entry for each property. Still when I try to access them my application crashes. I printed out the memory address for the FontSelection and it is valid, but these widgets all point to 0. I do this after I launch the dialog and try to extract the data,

Can anyone please help??


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