he way to go until you
have some assurance that discourse will preserve community involvement instead
of just doing it on hope.
--
David C. Rankin, J.D.,P.E.
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
stood the
test of time. I would at least maintain the mailing list as is until you have
some confirmation that any change actually accomplishes its stated goals.
I for one see no benefit in discourse.
--
David C. Rankin, J.D.,P.E.
___
gtk-app-devel-list m
't seem right that I would need to destroy the entire textview
window just to keep completion working with a new buffer.
Any help greatly appreciated.
--
David C. Rankin, J.D.,P.E.
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
ht
just used the windows gtk2 binaries and it works fine for my
purposes.
> Can anyone point me to a guide for doing that?
Somebody else will have to fill this in... Good luck.
--
David C. Rankin, J.D.,P.E.
___
gtk-app-devel-list mailing list
gt
On 09/16/2018 03:53 AM, David C. Rankin wrote:
> On 09/16/2018 03:21 AM, David C. Rankin wrote:
>> Each treemodel entry has a struct containing a pointer to its
>> GtkSourceCompletionWords provider.
>
> Uugh...
>
> That should read the editor instance struct associa
an be used in conjunction with
the set_window_title call that would also provide a tooltip on mouseover I
could respond to?
--
David C. Rankin, J.D.,P.E.
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/li
See the manual (and it does apply in Gtk+3)
https://developer.gnome.org/gobject/stable/gobject-The-Base-Object-Type.html#g-object-get
--
David C. Rankin, J.D.,P.E.
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
On 09/16/2018 03:21 AM, David C. Rankin wrote:
> Each treemodel entry has a struct containing a pointer to its
> GtkSourceCompletionWords provider.
Uugh...
That should read the editor instance struct associated with the sourceview has
a pointer to its GtkSourceCompletionWords pr
awing words from the new buffer instead of the old?
When I switch focus back to the original buffer -- completion works fine
again, it's something in the switch to the new that I must be missing.
Help?
--
David C. Rankin, J.D.,P.E.
___
gtk-app-devel-list
ough the treemodel
and match with the buffer held in the model using the iterator to set the
selection.
--
David C. Rankin, J.D.,P.E.
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
On 08/27/2018 01:24 AM, David C. Rankin wrote:
> "How do I use the pointer stored in column 2 of the model to set the
> selection on that treeview entry?"
>
> (the full source of the interface is https://github.com/drankinatty/gtkate
> which is just a concept a
then set the selection on that row/entry in the treeview. I guess I could do a
for_each and loop over the pointers, but I'm unsure if that is the correct way
or one of my logical hacks that would be better implemented some other way.
Any help greatly appreciated.
--
Da
s, and your competitors in the market,
that may just provide a bullseye they were looking for.
--
David C. Rankin, J.D.,P.E.
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
On 07/28/2018 03:35 AM, David C. Rankin wrote:
> All,
>
> I have implemented word completion with GtkSourceView, but I cannot find a
> simple way to prevent the provider and proposals from popping up until 3 (or
> more) characters are typed? Is there an easier way to adjust t
On 07/28/2018 08:12 AM, John Coppens wrote:
> David, is 'set_minimum_key_length' what you are looking for?
Oh, no, no, no, not entry-completion, *word-completion* in a text editor
window. (which explains why it was no where to be found in the gtkSourceView
code :)
--
David C. Rankin, J.D.,
fer);
(code for gtk_text_view_scroll_to_mark
gtk_text_buffer_end_user_action (buffer);
You shouldn't notice any delay when implementing the scroll in any
reasonable size file.
--
David C. Rankin, J.D.,P.E.
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
On 07/28/2018 08:12 AM, John Coppens wrote:
> On Sat, 28 Jul 2018 03:35:02 -0500
> "David C. Rankin" wrote:
>
>> All,
>>
>> I have implemented word completion with GtkSourceView, but I cannot
>> find a simple way to prevent the provider and pr
and blocking the display of
the completion window until the desired number of characters have been typed?
--
David C. Rankin, J.D.,P.E.
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
On 07/17/2018 11:12 PM, David C. Rankin wrote:
> Is this a problem with gtk select_range under windows, or just the result of
> windows selection being something gtk cannot interface with given the
> different windows API?
Uugh!
Disregard. It does work and will affect the selecti
windows API?
--
David C. Rankin, J.D.,P.E.
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
On 08/29/2017 11:48 PM, David C. Rankin wrote:
> How do you package this snippet of any rcfile and have it read by your
> application -- in addition to the default theme in use? (Gtk+2)?
>
Got it -- gtk_rc_parse (filename);
--
David C. Rankin,
On 08/27/2017 04:53 AM, David C. Rankin wrote:
>
> The problem is the 6px spacing is way to big and the info bar takes up too
> much space. I want to set the "button-spacing" style property to 2 (or 1) to
> cut down the vertical height.
>
> How do I set the &qu
ch space. I want to set the "button-spacing" style property to 2 (or 1) to
cut down the vertical height.
How do I set the "button-spacing" style property?
(it's these little, seemingly simple things, that are the most frustrating)
--
David C. Rankin, J.D.,P.E.
___
sing '\r' in the buffer. Maybe gtk_text_iter_forward_to_line_end ()
correctly moves to the end and gtk_text_iter_forward_char (); correctly
moves to the next position follwing '\r', but gtk_text_buffer_insert (buffer,
, "\n", -1); fails to insert a '\n' following the exising '\r' and
On 07/31/2017 02:05 AM, David C. Rankin wrote:
> Does this approach sound reasonable, or like one I'll spend 1/2 day coming
> to regret?
It was... something to regret (but was solved without regret...)
I decided to write the conversion routine first -- it answered the question.
You
, or like one I'll spend 1/2 day coming
to regret?
--
David C. Rankin, J.D.,P.E.
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
On 06/21/2017 05:52 AM, David C. Rankin wrote:
> Now all I have to do is figure out how to fix
> gtk_source_language_manager_set_search_path () on windows so it can find my
> sourceview language files in
> "C:\opt\gtk2\share\gtksourceview-2.0\language-specs"
Th
On 06/21/2017 04:11 AM, David C. Rankin wrote:
Well, I have identified the problem, and have a work-around, even if I
haven't solved it. Here is the code I originally posted which provides
'ctrl+i' for indent and 'shift+ctrl+i' for unindent:
> ...
> gtk_widget_add_accelerator (in
10.0.zip
https://download.gnome.org/binaries/win32/gtksourceview/2.10/gtksourceview-dev-2.10.0.zip
http://xmlsoft.org/sources/win32/libxml2-2.7.8.win32.zip
compiled with MinGW gcc and the above.
Any ideas? Let me know if I can send any additional
ld provide a much more elegant solution.
Worse case, I can always resort to the original 'inotify' implementation as
the custom signal works fine with block/unblock. I'll just have to play with
invoking the read from pselect with a g_idle_add of the callback that does
that. I haven
On 03/30/2017 03:39 PM, David C. Rankin wrote:
> Let me know what the experts think. There is something funny about the way
> block/unblock works with GFileMonitor that I'm missing. For normal signals in
> the app, I have no problems with block/unblock.
I've posted this complete
GFileMonitor that I'm missing. For normal signals in
the app, I have no problems with block/unblock.
Footnote [1]: (see earlier post "Howto integrate an inotify watch on editor
file in GTK+2 event loop?")
--
David C. Rankin, J.D.,P.E.
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
On 03/28/2017 10:38 PM, David C. Rankin wrote:
> Emmanuele,
>
> I need more help. I have implemented the watch with 'g_file_monitor_file'
> and registered a callback on the "changed" signal for the file, but I cannot
> get it to respond to any changes in th
On 03/28/2017 01:34 PM, David C. Rankin wrote:
> On 03/28/2017 02:06 AM, Emmanuele Bassi wrote:
>> Use GFileMonitor from GIO instead of directly dealing with inotify.
>>
>> Ciao,
>> Emmanuele.
>>
>
> Now that is the type of answer I was looking for! Th
On 03/28/2017 02:06 AM, Emmanuele Bassi wrote:
> Use GFileMonitor from GIO instead of directly dealing with inotify.
>
> Ciao,
> Emmanuele.
>
Now that is the type of answer I was looking for! Thanks Emmanuele. That
definitely keeps it much cleaner.
--
David C. R
idle_add()`, if that makes any difference)
What say the experts?
footnote 1: https://github.com/drankinatty/gtkwrite
--
David C. Rankin, J.D.,P.E.
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
ing between the views to control the split-view you are trying to create.
--
David C. Rankin, J.D.,P.E.
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
On 03/01/2017 08:17 PM, David C. Rankin wrote:
> All,
>
> I have a menubar (working fine) and I want to attach a popup menu to that
> widget to "show/hide" a toolbar below it. I cannot figure out how to attach
> the popup to the 'menubar' itself generically.
rt-click on a
blank part of the menubar?
--
David C. Rankin, J.D.,P.E.
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
=-DWGTKSOURCEVIEW2
You can clone a copy:
git clone https://github.com/drankinatty/gtkwrite.git
I've added to the README. Just let me know if you find anything else, or
drop a bug on github.
--
David C. Rankin, J.D.,P.E.
___
gtk-app-devel-list mailing list
s undoing the selection? I'll keep looking.
--
David C. Rankin, J.D.,P.E.
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
On 02/22/2017 12:34 AM, David C. Rankin wrote:
> All,
>
> I have a textview widget being used in an editor where an incremental search
> is performed. The matched words are highlighted with:
>
> gtk_text_buffer_select_range (buffer, , );
>
> After the last match in
mmediately on close of the dialog if 'Yes'
is chosen) can be removed from the matched word as focus from the dialog is
returned to the textview.
Is there some standard way to prevent the closing of a dialog from impacting
an active selection in the parent window?
(with Gtk+ 2.24)
--
David C. Rankin
search_nocase (, text, 0,
, );
#endif
}
}
Hope this can help someone else.
--
David C. Rankin, J.D.,P.E.
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
break;
}
if (lctext) g_free (lctext);
}
}
--
David C. Rankin, J.D.,P.E.
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
wealth
of good themes available). For most of the added GtkSourceView 3X
functionality that I want, have simply backported the functions to run with
Gtk+2 (e.g. source_view_indent_lines, source_view_unindent_lines, ...)
--
David C. Rankin, J.D.,P.E.
___
On 12/22/2015 05:13 PM, David C. Rankin wrote:
How can I limit the the execution of the 'on_mark_set' callback to a single
call regardless of whether there is data being entered or if cursor is being
moved with the arrow-keys or mouse? Any help will be greatly appreciated.
OK, I have
ck:
line: 1 col: 1
line: 1 col: 1
line: 1 col: 1
line: 1 col: 1
How can I limit the the execution of the 'on_mark_set' callback to a single
call regardless of whether there is data being entered or if cursor is being
moved with the arrow-keys or mouse? Any help will be great
:
"Note that you are expected to call this function from your handler when
overriding key event handling."
That's what I'm trying to do, but when I call the function, it always returns
FALSE -- so what's the point?
What say the experts? Is gtk_text_view_im_context_filter_keypr
On 12/21/2015 02:57 AM, Liam R. E. Quin wrote:
On Mon, 2015-12-21 at 02:22 -0600, David C. Rankin wrote:
[...]
if (gtk_text_view_im_context_filter_keypress (GTK_TEXT_VIEW
(app->view),
ev
On 12/07/2015 11:13 PM, David C. Rankin wrote:
All,
I have been pulling my hair out trying to tweak the padding between a GtkVBox
and a GtkStatusbar. I have the following main window layout:
main window
vbox = gtk_vbox_new (FALSE, 0);
menubar
scrolled-window
the first went to the 'requests' list by
mistake.
--
David C. Rankin, J.D.,P.E.
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
52 matches
Mail list logo