The formats I need to handle are HTML and Markdown, while I could convert
them to Pango markup, it seems redundant to do so. That said, I was
looking to be able to copy HTML back out from a buffer that's handling HTML
(by parsing it on insert).
I should note, as I haven't already, that my use
The textview understands Pango markup. Maybe something to give a try. There are
a lot of text formats and you might have to do some text parsing depending on
the format. If it is possible to use gtk_text_buffer_insert_markup(), this can
save a lot of time dealing with text tags especially
You haven't specified which windowing system you're using.
If it's X11, then the position of a window is always the remit of the
window manager; the position set is a hint, which is taken into account by
the window manager itself, alongside the "this is a dialog" hint that
GtkDialog sets.
Hi,
I am learning about this, but have not totally figured it out. When I
make a new assistant window, it appears in the upper left of the screen.
Not at (0,0) but nearby.
assistant = gtk_assistant_new();
gtk_window_set_transient_for(GTK_WINDOW(assistant), transient_parent);
nobody have idea?
On 2018.06.15 13:43, Wojciech Puchar wrote:
how to make dialogs appear on center of screen not on left corner.
tried multiple things no results. For normal windows
gtk_window_set_position works
for dialog it doesn't
below is example routine to ask a yes/no question from