[Glade-users] Print Dialog -Can't add handlers for widgets



On Mon, Nov 16, 2009 at 1:32 PM, Arun SAG <sagarun at gmail.com> wrote:
Hi,
I used Print Dialog in glade to enable printing in my application. But i am
not able to add signal handlers to various widgets in print dialog. I don't
know? what i am trying to do is correct or not. Please enlighten me.

If I understand correctly, you shouldnt need to meddle with the internal
widgets of a print dialog, the dialog should return some response telling
if the print operation was queued or not (best guess), or if the user selected
the cancel button.

Is there any easy way to print a Gtk Textbuffer directly to printer?

I'm not sure but I would doubt it, I would guess you have to pull the
buffer text out first and pass a gchar * to the printing stuff - if you cant
pull that information from the docs then you should probably ask on
gtk-app-devel-list at gnome.org.

Cheers,
        -Tristan




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