Tree view toggle and gtypes

2019-05-01 Thread Mike Martin via gtk-app-devel-list
Are there any gtypes that are compatible with both toggle and text renderers? Thanks ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: Using different signals depending on which row of of a treeview

2019-04-30 Thread Mike Martin via gtk-app-devel-list
/renderer) On Mon, 29 Apr 2019 at 22:57, Reuben Rissler wrote: > > > On 04/29/2019 10:36 AM, Mike Martin via gtk-app-devel-list wrote: > > Has anyone done anything like this? > I haven't, but you are w

Re: REMINDER: List moved to Discourse; archival in 1 week

2019-04-29 Thread Osmo Antero via gtk-app-devel-list
I go down with the boat. Emmanuele Bassi via gtk-app-devel-list escreveu no dia quarta, 24/04/2019 à(s) 12:36: > Hi all; > > next week, on May 1st, this list will be archived[0]. This means no new > subscriptions, and no new email. > > If you have questions about GTK, GLib, a

Using different signals depending on which row of of a treeview

2019-04-29 Thread Mike Martin via gtk-app-devel-list
) ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Consult for gdk_window_shape_combine_region in GTK3

2019-04-26 Thread Zhenghua Ji via gtk-app-devel-list
process doesn’t. Does it mean in GTK3, gdk_window_shape_combine_region doesn’t support such kind of usage anymore? Is there any way can help to achieve it in GTK3? -- Thanks & Regards, Zhenghua ___ gtk-app-devel-list mailing list gtk-app-devel-li

Consult for gdk_window_shape_combine_region in GTK3

2019-04-26 Thread jizh9 via gtk-app-devel-list
another process doesn’t. Does it mean in GTK3, gdk_window_shape_combine_region doesn’t support such kind of usage anymore? Is there any way can help to achieve it in GTK3? -- Thanks & Regards, Zhenghua ___ gtk-app-devel-list mailing list g

REMINDER: List moved to Discourse; archival in 1 week

2019-04-24 Thread Emmanuele Bassi via gtk-app-devel-list
still use email to interact with Discourse, and a guide is available[3] to configure your account. If you have any questions or feedback on Discourse, please use the appropriate category[4]. Ciao, Emmanuele. [0]: https://mail.gnome.org/archives/gtk-devel-list/2019-March/msg00024.html [1]:

Subclassing on a GtkSourceMark

2019-04-15 Thread Zdravetz via gtk-app-devel-list
vance. - Mail.BG: Безплатен e-mail адрес. Най-добрите характеристики на българския пазар - 30 GB пощенска кутия, 1 GB прикрепен файл, безплатен POP3, мобилна версия и други. http://mail.bg ___ gtk-app-devel-list mailing

RE: gtk3 drag and drop sample/demo

2019-04-15 Thread Pankaj Bansal via gtk-app-devel-list
done"); ev.consume();});    stage.setScene(new Scene(button, 200, 200));    stage.show(); } public static void main(String[] args) { launch(); } }   -Pankaj   From: Emmanuele Bassi [mailto:eba...@gmail.com] Sent: Monday, April 15, 2019 5:26 PM To: Pankaj Bansal Cc: gt

Re: gtk3 drag and drop sample/demo

2019-04-15 Thread Emmanuele Bassi via gtk-app-devel-list
On Mon, 15 Apr 2019 at 12:45, Pankaj Bansal via gtk-app-devel-list < gtk-app-devel-list@gnome.org> wrote: > I am working with OpenJDK JavaFX dev group and we are facing some problems > with drag and drop functionality with gtk3.20 or later. You can have a look > at the bug for m

gtk3 drag and drop sample/demo

2019-04-15 Thread Pankaj Bansal via gtk-app-devel-list
working demo/sample working with gtk3. It would be great if anyone can point to me to something useful. [1] https://github.com/GNOME/gtk/blob/master/demos/gtk-demo/dnd.c -Pankaj ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https

Re: TreeView - set border on individual cells

2019-04-09 Thread Eric Cashon via gtk-app-devel-list
overlay), tree, TRUE);     g_signal_connect_after(overlay, "draw", G_CALLBACK(draw_rectangle), tree);     GtkWidget *label=gtk_label_new("Test Label");     gtk_widget_set_name(label, "test_label");     gtk_widget_set_hexpand(label, TRUE);        GtkWidget *grid=gtk_gr

Re: Setting the scroll position of a GtkTextView in GtkScrolledWindow after render

2019-04-08 Thread Andri Möll via gtk-app-devel-list
ew is not very active, so that bug may still exist. And in case you have not noticed yet, the gtk-list has basically moved to discourse forum. On 4/8/19 4:56 PM, Reuben Rissler wrote: On 04/08/2019 09:07 AM, Andri Möll via gtk-app-devel-list wrote: Hey, I can't figure out if it's me

Setting the scroll position of a GtkTextView in GtkScrolledWindow after render

2019-04-08 Thread Andri Möll via gtk-app-devel-list
stently set the scroll position after the first render, and later, after resetting the GtkTextView's buffer? This is on Arch Linux with gtk3 v3.24.7+25+g17665f06e3-1. Thanks in advance! Andri _______ gtk-app-devel-list mailing list gtk-app-devel-li

Re: TreeView - set border on individual cells

2019-04-06 Thread Eric Cashon via gtk-app-devel-list
her a better example. Eric ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: TreeView - set border on individual cells

2019-04-06 Thread Emmanuele Bassi via gtk-app-devel-list
subclass the cell renderer into your own class and override its own draw function; this way, you're guaranteed you'll be rendering at the right position. Ciao, Emmanuele. -- https://www.bassi.io [@] ebassi [@gmail.com] _______ gtk-app-devel-list

Re: TreeView - set border on individual cells

2019-04-06 Thread Eric Cashon via gtk-app-devel-list
Hi Emmanuele, The second cairo_t is used so that the rectangle can be lined up to the cell. If I use the cairo_t in the "draw" callback then the rectangle doesn't line up. Eric ___ gtk-app-devel-list mailing list gtk-app-devel-list@

Re: TreeView - set border on individual cells

2019-04-06 Thread Emmanuele Bassi via gtk-app-devel-list
On Sat, 6 Apr 2019 at 19:05, Eric Cashon via gtk-app-devel-list < gtk-app-devel-list@gnome.org> wrote: > static gboolean draw_rectangle(GtkWidget *tree_view, cairo_t *cr, gpointer > data) > { > GtkTreePath *path=gtk_tree_path_new_from_indices(row_g, -1); > > g_

GtkTreeView. How to hide or show an individual cell in a row

2019-04-06 Thread Osmo Antero via gtk-app-devel-list
Antero Wine tasting lad in Portugal -- Sent from my PC, laptop or phone with Ubuntu-Linux. ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: TreeView - set border on individual cells

2019-04-06 Thread Eric Cashon via gtk-app-devel-list
t Label");     gtk_widget_set_name(label, "test_label");     gtk_widget_set_hexpand(label, TRUE);        GtkWidget *grid=gtk_grid_new();     gtk_grid_set_row_homogeneous(GTK_GRID(grid), TRUE);     gtk_widget_set_name(grid, "test_grid");     gtk_grid_attach(GTK_GRID(grid), tree, 0, 0, 1, 9);     gtk_grid_attach(GTK_GRID(grid), label, 0, 10, 1, 1);     gtk_container_add(GTK_CONTAINER(window), grid);        gtk_widget_show_all(window);     gtk_main();    return 0;     } ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: TreeView - set border on individual cells

2019-04-05 Thread Mike Martin via gtk-app-devel-list
ot exact code, but this is process that worked for me > > Would still be useful if I could find out about borders though > > > > On Fri, 5 Apr 2019, 08:03 , wrote: > >> Am Donnerstag, den 04.04.2019, 23:04 +0100 schrieb Mike Martin via gtk- >> app-devel-list: >

Re: TreeView - set border on individual cells

2019-04-05 Thread Tilo Villwock via gtk-app-devel-list
Am Donnerstag, den 04.04.2019, 23:04 +0100 schrieb Mike Martin via gtk- app-devel-list: > Is this possible? > > I did originally plan to have certain cells have a background colour > to > emphasize that there is a value to change. However as soon as the row > is > selected

TreeView - set border on individual cells

2019-04-04 Thread Mike Martin via gtk-app-devel-list
can find is overall properties for the trreview Mike ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: Setting attributes per cell in treeview (list store)

2019-04-03 Thread Eric Cashon via gtk-app-devel-list
der_new();     GdkDisplay *display = gdk_display_get_default();     GdkScreen *screen = gdk_display_get_default_screen(display);     gtk_style_context_add_provider_for_screen(screen, GTK_STYLE_PROVIDER(provider), GTK_STYLE_PROVIDER_PRIORITY_APPLICATION);     gtk_css_provider_load_from_data(provider, css_string, -1, &css_error);     if(css_error!=NULL) g_print("CSS loader error %s\n", css_error->message);     g_object_unref(provider);        gtk_widget_show_all(window);     gtk_main();     return 0;     } ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Setting attributes per cell in treeview (list store)

2019-04-03 Thread Mike Martin via gtk-app-devel-list
confusion It a 12 by two table so performance not an issue Is setting a cell_data_func based on row the best way to go? Or is there a better way to achieve what I want? Thanks Mike ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https

Problem with grids and items spanning more than one column

2019-04-02 Thread Mike Martin via gtk-app-devel-list
-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: ANNOUNCE: Phasing out GTK mailing lists and move to Discord

2019-03-21 Thread Michael Torrie via gtk-app-devel-list
Is the subject line of this thread a freudian slip? We are definitely moving toward discord, from the complaints! On 03/21/2019 09:33 AM, Emmanuele Bassi via gtk-app-devel-list wrote: > On Thu, 21 Mar 2019 at 02:28, Matthew A. Postiff via gtk-app-devel-list < > gtk-app-devel-list@

Re: ANNOUNCE: Phasing out GTK mailing lists and move to Discord

2019-03-21 Thread Emmanuele Bassi via gtk-app-devel-list
On Thu, 21 Mar 2019 at 02:28, Matthew A. Postiff via gtk-app-devel-list < gtk-app-devel-list@gnome.org> wrote: > Is it easy in discourse to turn on email, either daily digests or > "live"? Is there an rss feed that I can subscribe to? A quick howto > would be great. >

Re: ANNOUNCE: Phasing out GTK mailing lists and move to Discord

2019-03-21 Thread Emmanuele Bassi via gtk-app-devel-list
On Wed, 20 Mar 2019 at 23:59, David C. Rankin < drankina...@suddenlinkmail.com> wrote: > On 03/18/2019 12:02 PM, Emmanuele Bassi via gtk-app-devel-list wrote: > > Hi all; > > > > as announced in: > > > > > https://mail.gnome.org/archives/gtk-devel-lis

Re: Treeview (liststore) CSS question

2019-03-21 Thread Mike Martin via gtk-app-devel-list
css_string[]="#main_window{background: purple;} > #tree_select:selected{background: green;}"; > GtkCssProvider *provider = gtk_css_provider_new(); > GdkDisplay *display = gdk_display_get_default(); > GdkScreen *screen = gdk_display_get_default_screen(display); > gtk_style_context_add_provider_for_screen(screen, > GTK_STYLE_PROVIDER(provider), GTK_STYLE_PROVIDER_PRIORITY_APPLICATION); > gtk_css_provider_load_from_data(provider, css_string, -1, &css_error); > if(css_error!=NULL) g_print("CSS loader error %s\n", > css_error->message); > g_object_unref(provider); > > gtk_widget_show_all(window); > gtk_main(); > return 0; > } > > ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: ANNOUNCE: Phasing out GTK mailing lists and move to Discord

2019-03-20 Thread Matthew A. Postiff via gtk-app-devel-list
On 3/20/2019 9:37 PM, Reuben Rissler wrote: RIP gtk-app-devel. :'( I hope this discourse thing succeeds. Personally I find it just another awkward, cumbersome run of the mill QA site. The mailing list should be preserved. But what do I know? I've only seen about 90% of these mig

Re: Treeview (liststore) CSS question

2019-03-19 Thread Eric Cashon via gtk-app-devel-list
reen;}";     GtkCssProvider *provider = gtk_css_provider_new();     GdkDisplay *display = gdk_display_get_default();     GdkScreen *screen = gdk_display_get_default_screen(display);     gtk_style_context_add_provider_for_screen(screen, GTK_STYLE_PROVIDER(provider), GTK_STYLE_PROVIDER_PRIORITY_APPLICATION);     gtk_css_p

Re: Treeview (liststore) CSS question

2019-03-19 Thread Mike Martin via gtk-app-devel-list
Its not whether the row is empty, its whether it exists On Mon, 18 Mar 2019 at 23:25, Daniel Kasak wrote: > On Tue, Mar 19, 2019 at 3:01 AM Mike Martin via gtk-app-devel-list < > gtk-app-devel-list@gnome.org> wrote: > >> Is it possible to set different background fo

Re: Correct way to deallocate an unix signal source

2019-03-19 Thread Enrico Mioso via gtk-app-devel-list
n Mon, 18 Mar 2019, Philip Withnall wrote: Date: Mon, 18 Mar 2019 14:51:25 From: Philip Withnall To: Enrico Mioso Cc: gtk-app-devel-list@gnome.org Subject: Re: Correct way to deallocate an unix signal source On Mon, 2019-03-18 at 14:38 +0100, Enrico Mioso wrote: Regarding the code, at exit I do

Re: Correct way to deallocate an unix signal source

2019-03-19 Thread Enrico Mioso via gtk-app-devel-list
tate->ctx) { g_main_context_unref(my_state->ctx); my_state->ctx = NULL; } Thank you to all reading this, Enrico On Mon, 18 Mar 2019, Philip Withnall wrote: Date: Mon, 18 Mar 2019 10:42:11 From: Philip Withnall To: Enrico Mioso , gtk-app-devel-list@gnome.org Subject: Re: Correct way to dealloc

Re: Treeview (liststore) CSS question

2019-03-18 Thread Daniel Kasak via gtk-app-devel-list
On Tue, Mar 19, 2019 at 3:01 AM Mike Martin via gtk-app-devel-list < gtk-app-devel-list@gnome.org> wrote: > Is it possible to set different background for a treestore, with a > liststore, for populated rows v blank area. > > ie: If I have a dynamic treeview I would like to h

ANNOUNCE: Phasing out GTK mailing lists and move to Discord

2019-03-18 Thread Emmanuele Bassi via gtk-app-devel-list
Hi all; as announced in: https://mail.gnome.org/archives/gtk-devel-list/2019-March/msg0.html we have created a Discourse instance available at: https://discourse.gnome.org After testing it for the past couple of weeks, we're very satisfied with how the platform behaves, so w

Treeview (liststore) CSS question

2019-03-18 Thread Mike Martin via gtk-app-devel-list
tree Grid,Notebook,grid,scrolledwindow,treeview thanks Mike ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Correct way to deallocate an unix signal source

2019-03-14 Thread Enrico Mioso via gtk-app-devel-list
try changing the way i intercept signals tomorrow, but I would apreciate your recommendations a lot guys. Thank you very very much: P.S.: please, keep me in CC, as I am not part of the list. Enrico ___ gtk-app-devel-list mailing list gtk-app-devel-list@

Re: Discourse instance

2019-03-09 Thread Ryan Gonzalez via gtk-app-devel-list
Since you forgot the link... https://discourse.gnome.org/ -- Ryan (ライアン) Yoko Shimomura, ryo (supercell/EGOIST), Hiroyuki Sawano >> everyone else https://refi64.com/ On Fri, Mar 1, 2019, 9:42 AM Emmanuele Bassi via gtk-devel-list < gtk-devel-l...@gnome.org> wrote: > Hi all

Re: Changing font of GtkSourceView changes font of GtkSourceMap

2019-03-04 Thread Mitko Haralanov via gtk-app-devel-list
intingly helpful. > > > > I can't figure out the connection code between the FontMap and the > > SourceMap. > > > > > ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: Changing font of GtkSourceView changes font of GtkSourceMap

2019-03-04 Thread Mitko Haralanov via gtk-app-devel-list
the GtkSourceMap. > Sure is disappointingly helpful. > > I can't figure out the connection code between the FontMap and the > SourceMap. > > > ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: Finding .desktop file and application info

2019-03-04 Thread Osmo Antero via gtk-app-devel-list
uot; directly because it depends on "sudo > updatedb". > > I will write my own routine that dives to usr/share/applications/ and > its sub folders. > > This is my best shot ! > > > > Then the app can call: > > GDesktopAppInfo *g_desktop_app_info

Re: Finding .desktop file and application info

2019-03-03 Thread Osmo Antero via gtk-app-devel-list
ons/ and its > sub folders. > This is my best shot ! > > Then the app can call: > GDesktopAppInfo *g_desktop_app_info_new_from_filename(const char > *filename); > > My very old app is this: (the latest is v3.0.2) > https://launchpad.net/~audio-recorder > > Thanks, &g

Re: Finding .desktop file and application info

2019-03-03 Thread Osmo Antero via gtk-app-devel-list
applications/ and its sub folders. This is my best shot ! Then the app can call: GDesktopAppInfo *g_desktop_app_info_new_from_filename(const char *filename); My very old app is this: (the latest is v3.0.2) https://launchpad.net/~audio-recorder Thanks, Obrigado e boa noite. // Moma Portugal tito-wolit via gtk

Re: Finding .desktop file and application info

2019-03-03 Thread tito-wolit via gtk-app-devel-list
On 3/3/19 6:36 PM, Osmo Antero via gtk-app-devel-list wrote: Hello, I have an application that uses g_desktop_app_info_new() function to find GDesktopAppInfo. I just wonder why the g_desktop_app_info_new() FAILS to find the GDesktopAppInfo if the .desktop file is in a sub directory under usr

Finding .desktop file and application info

2019-03-03 Thread Osmo Antero via gtk-app-devel-list
ok.desktop" name from Amarok via the MPRIS2 DBus-interface. Please see "DesktopEntry" of https://specifications.freedesktop.org/mpris-spec/latest/Media_Player.html#Property:DesktopEntry Please educate me. Kindly Osmo Moma Antero Portugal -- Sent from my PC, laptop or phone wi

Re: liststore issue 1 - iter points to wrong row after sort of column with cellrenderercombo

2019-03-02 Thread Mike Martin via gtk-app-devel-list
ode) > > > Le jeu. 28 févr. 2019 à 18:43, Mike Martin a écrit : > >> Thanks >> Though what I don't quite get is the difference in behaviour between >> editing-started and edited (both using path to get the ITER) >> On my particular scenario I use editing-start

Re: Re: Changing font of GtkSourceView changes font of GtkSourceMap

2019-03-01 Thread Mitko Haralanov via gtk-app-devel-list
; window = Gtk.Window() > >> window.connect('destroy', self.on_window_destroy) > >> pane = Gtk.Paned(orientation = Gtk.Orientation.HORIZONTAL) > >> window.add(pane) > >> s_view = GtkSource.View() > >>

Re: Changing font of GtkSourceView changes font of GtkSourceMap

2019-03-01 Thread Mitko Haralanov via gtk-app-devel-list
iew) > pane.pack2(s_map) > s_map.set_property('font-desc', > Pango.font_description_from_string("Sans 3")) > window.show_all() > > def on_window_destroy(self, window): > Gtk.main_quit() > > > if __name__ == "__main_

Re: Discourse instance

2019-03-01 Thread Emmanuele Bassi via gtk-app-devel-list
ing and replying, though I strongly >> encourage people to give the web UI a try; it's really nice. >> >> Feedback is very much appreciated. >> >> Ciao, >> Emmanuele. >> >> [1]: >> https://mail.gnome.org/archives/gtk-devel-list/2019-

Re: Discourse instance

2019-03-01 Thread Emmanuele Bassi via gtk-app-devel-list
encourage people to give the web UI a try; it's really nice. > > Feedback is very much appreciated. > > Ciao, > Emmanuele. > > [1]: > https://mail.gnome.org/archives/gtk-devel-list/2019-February/msg1.html > > -- > https://www.bassi.io >

Discourse instance

2019-03-01 Thread Emmanuele Bassi via gtk-app-devel-list
of the GNOME stack. Email is still allowed for both posting and replying, though I strongly encourage people to give the web UI a try; it's really nice. Feedback is very much appreciated. Ciao, Emmanuele. [1]: https://mail.gnome.org/archives/gtk-devel-list/2019-February/msg1.html --

Re: liststore issue 1 - iter points to wrong row after sort of column with cellrenderercombo

2019-02-28 Thread Nicolas Soubeiran via gtk-app-devel-list
both using path to get the ITER) > On my particular scenario I use editing-started to setup some stuff so I > can use the iter created > > On Thu, 28 Feb 2019, 12:30 Nicolas Soubeiran via gtk-app-devel-list, < > gtk-app-devel-list@gnome.org> wrote: > >> Hello, >> aft

Re: liststore issue 1 - iter points to wrong row after sort of column with cellrenderercombo

2019-02-28 Thread Mike Martin via gtk-app-devel-list
Thanks Though what I don't quite get is the difference in behaviour between editing-started and edited (both using path to get the ITER) On my particular scenario I use editing-started to setup some stuff so I can use the iter created On Thu, 28 Feb 2019, 12:30 Nicolas Soubeiran via gtk-app-

Re: liststore issue 1 - iter points to wrong row after sort of column with cellrenderercombo

2019-02-28 Thread Nicolas Soubeiran via gtk-app-devel-list
u to understand better the GtkTreeModel paradigm ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: Changing font of GtkSourceView changes font of GtkSourceMap

2019-02-27 Thread Mitko Haralanov via gtk-app-devel-list
Still looking for some help on this. Thank you. On Mon, Feb 11, 2019 at 9:11 AM Mitko Haralanov wrote: > > Any help would be appreciated. > > Thank you. > > On Tue, Feb 5, 2019 at 2:28 PM Mitko Haralanov wrote: > > > > Forwarding to gtk-app-devel since there ap

liststore issue 2 - which 'path' comes from signal

2019-02-27 Thread Mike Martin via gtk-app-devel-list
cases the value is the same ie: an integer, not an object Can anyone clarify this thanks Mike ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

liststore issue 1 - iter points to wrong row after sort of column with cellrenderercombo

2019-02-27 Thread Mike Martin via gtk-app-devel-list
diting-started signal and is correct /mnt/progs/programs/DS9ds9_103_envs.mp43 --result using iter from edited signal and is wrong row Any ideas why this is happening? ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gno

Scrolling to a line in GtkTextView

2019-02-12 Thread Mitko Haralanov via gtk-app-devel-list
ly and reliably scroll a GtkTextView to a certain line? Thank you, Mitko _______ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: Force liststore to update when leaving treeview

2019-02-12 Thread Mitko Haralanov via gtk-app-devel-list
One idea is to hook the widget to the "leave-notify-event", which will be triggered when the mouse leaves the widget. On Tue, Feb 12, 2019 at 8:32 AM Mike Martin via gtk-app-devel-list wrote: > > Is this possible? > > I have a (for example) a grid which contains > Vario

Force liststore to update when leaving treeview

2019-02-12 Thread Mike Martin via gtk-app-devel-list
his and if I leave the cell without pressing enter or clicking on another cell, all changes are lost thanks Mike ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: Changing font of GtkSourceView changes font of GtkSourceMap

2019-02-11 Thread Mitko Haralanov via gtk-app-devel-list
Any help would be appreciated. Thank you. On Tue, Feb 5, 2019 at 2:28 PM Mitko Haralanov wrote: > > Forwarding to gtk-app-devel since there appears to be much more activity > related to GtkSourceView. > > -- Forwarded message - > From: Mitko Haralanov > D

Re: Moving from mailing lists to Discourse

2019-02-08 Thread Tilo Villwock via gtk-app-devel-list
Am Mittwoch, den 06.02.2019, 12:46 +0100 schrieb Emmanuele Bassi via gtk-app-devel-list: > [Cross-posted to various relevant mailing lists; please, reply to > gtk-devel-list] > > As part of an attempt at making GTK more friendly to newcomers, I and > other > core developer

Re: Migrating away from GtkStock stuff

2019-02-07 Thread Emmanuele Bassi via gtk-app-devel-list
n icon theme for the icons GTK uses, currently, though we're thinking of shipping a cut down version of Adwaita inside GTK for that reason: https://gitlab.gnome.org/GNOME/gtk/issues/1235 Ciao, Emmanuele. -- https://www.bassi.io [@] ebassi [@gmail.com] _____

Re: Migrating away from GtkStock stuff

2019-02-07 Thread Gabriele Greco via gtk-app-devel-list
dance with Regulation EU 2016/679 (Data Protection Law), Section 13. A full copy of the relevant information notice is available at the company’s registered office upon request. If you received this in error, please destroy it and inform us immediately by sending an e-mail to the following e-mail addr

Re: Migrating away from GtkStock stuff

2019-02-07 Thread Emmanuele Bassi via gtk-app-devel-list
On Thu, 7 Feb 2019 at 11:52, Gabriele Greco via gtk-app-devel-list < gtk-app-devel-list@gnome.org> wrote: > Hi guys, > > I'm in the process of migrating a big code base from GTK 2.x to GTK 3.x, > I've done most of the work, but I'm facing now some problems with GT

Migrating away from GtkStock stuff

2019-02-07 Thread Gabriele Greco via gtk-app-devel-list
registered office upon request. If you received this in error, please destroy it and inform us immediately by sending an e-mail to the following e-mail address priv...@wyscout.com <mailto:priv...@wyscout.com>. A full copy of the relevant information notice is available at the company’s regi

Re: Moving from mailing lists to Discourse

2019-02-07 Thread Ryan Gonzalez via gtk-app-devel-list
As a side note, Python has also opened a Discourse instance (in addition to their Zulip experiment), and the results have pretty much been positive. I've also been on Fedora's for quite some time, and it's great. On Wed, Feb 6, 2019 at 5:46 AM Emmanuele Bassi via gtk-devel-lis

Re: Moving from mailing lists to Discourse

2019-02-07 Thread Niels De Graef via gtk-app-devel-list
? The former means of course less effort, but the latter would keep everything unified in one UI for example. I'm fine with whatever you choose :-) Thanks in any case for taking this up, Emmanuele! Cheers, nielsdg On Wed, Feb 6, 2019 at 3:42 PM Emmanuele Bassi via gtk-devel-list wrote

Using GTK in proprietary software

2019-02-07 Thread asrs via gtk-app-devel-list
, Daniel Iwo , Founder ASRS Sent with [ProtonMail](https://protonmail.com) Secure Email. ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: Detecting the gdk backend

2019-02-07 Thread Luca Bacci via gtk-app-devel-list
(gdk_display_get_default())) { g_print("X11 backend\n"); } #endif #ifdef GDK_WINDOWING_WAYLAND if (GDK_IS_WAYLAND_DISPLAY(gdk_display_get_default())) { g_print("Wayland backend\n"); } #endif return 0; } Il giorno gio 7 feb 2019 alle ore 06:28 Daniel Kasak via gtk-app-devel-lis

Detecting the gdk backend

2019-02-06 Thread Daniel Kasak via gtk-app-devel-list
Dan ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: GObject properties and g_value_set_string()

2019-02-06 Thread Joël Krähemann via gtk-app-devel-list
(objval); > > > > Since I have to free the string, I just wonder if I need to g_strdup() it. > > bests, > Joël ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

GObject properties and g_value_set_string()

2019-02-06 Thread Joël Krähemann via gtk-app-devel-list
=== Since I have to free the string, I just wonder if I need to g_strdup() it. bests, Joël _______ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: Moving from mailing lists to Discourse

2019-02-06 Thread Emmanuele Bassi via gtk-app-devel-list
eplying to topics The Fedora (Silverblue) and Ubuntu communities already use Discourse, for instance; the SDL community also does. Ciao, Emmanuele. On Wed, 6 Feb 2019 at 12:46, Emmanuele Bassi wrote: > [Cross-posted to various relevant mailing lists; please, reply to > gtk-devel-list] &

Moving from mailing lists to Discourse

2019-02-06 Thread Emmanuele Bassi via gtk-app-devel-list
[Cross-posted to various relevant mailing lists; please, reply to gtk-devel-list] As part of an attempt at making GTK more friendly to newcomers, I and other core developers were thinking of moving the mailing lists from the current mailman installation to Discourse: https://discourse.org

Fwd: Changing font of GtkSourceView changes font of GtkSourceMap

2019-02-05 Thread Mitko Haralanov via gtk-app-devel-list
Forwarding to gtk-app-devel since there appears to be much more activity related to GtkSourceView. -- Forwarded message - From: Mitko Haralanov Date: Tue, Feb 5, 2019, 13:42 Subject: Changing font of GtkSourceView changes font of GtkSourceMap To: I can't figure out h

GtkExpander weird behavior question

2019-01-22 Thread Jean-Dominique Frattini via gtk-app-devel-list
purpose ? Should I report a bug ? Thank you. ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

how to make comboboxes not to respond to mouse wheel up and down

2019-01-22 Thread Jean-Dominique Frattini via gtk-app-devel-list
advance. ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Migrate a small demo from gtk 3.18 to gtk 3.22

2019-01-03 Thread Pankaj Bansal via gtk-app-devel-list
quot;draw", G_CALLBACK (draw_cb_options), NULL); gtk_widget_show_all (window); gtk_main (); return 0; } ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

I want convert gimp plugin to stand alone program.

2019-01-01 Thread 大川浩司 via gtk-app-devel-list
to add this plugin code before gtk_widget_show_all (GTK_WIDGET (window)); and show converted image . But I don't know how to connect gimp image with gtk image and how to get gimp drawable data from this gtk window. please help me _______ gtk-app-dev

Re: Problem with sizes of pixbuf in left gutter

2018-12-26 Thread Eric Cashon via gtk-app-devel-list
1.0, 0.0, 1.0);     cairo_translate(cr, 32/2, 32/2);     cairo_arc(cr, 0, 0, 5, 0, 2.0*G_PI);     cairo_fill(cr);         GdkPixbuf *pixbuf_drawing=gdk_pixbuf_get_from_surface(surface, 0, 0, 32, 32);     cairo_destroy(cr);     cairo_surface_destroy(surface);     return pixbuf_drawing;   } ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Problem with sizes of pixbuf in left gutter

2018-12-24 Thread Zdravetz via gtk-app-devel-list
н? Лесно е! Направи си сайт. В СуперХостинг.БГ пазят място за него! Виж повече на www.superhosting.bg. https://www.superhosting.bg/?utm_source=mail.bg&utm_medium=cpm&utm_content=mail_header&utm_campaign=campaign2018 ___ gtk-app-devel-list mail

Second argument of gtk_source_mark_attributes_render_icon

2018-12-23 Thread Zdravetz via gtk-app-devel-list
ви си сайт. В СуперХостинг.БГ пазят място за него! Виж повече на www.superhosting.bg. https://www.superhosting.bg/?utm_source=mail.bg&utm_medium=cpm&utm_content=mail_header&utm_campaign=campaign2018 ___ gtk-app-devel-list mailing list gtk-ap

Re: string interpolation

2018-12-21 Thread Joël Krähemann via gtk-app-devel-list
nologies GmbHSachsenstr. 5, D-20097 HH > Geschäftsführer/Managing Directors AG Hamburg, HRB 107844 > Till Dörges, Jürgen Sander USt-IdNr.: DE263765024 > > _______ > gtk-app-devel-list mailing list > gtk-app-dev

Re: Searching for text in PDF files is wrong

2018-12-19 Thread Osmo Antero via gtk-app-devel-list
i, Nov 30, 2018 at 09:56:12PM +0100, Радомир Хаџић via >> gtk-app-devel-list wrote: >> > I use poppler_page_find_text() to find text in PDF files. This returns >> > GList of pointers to PopplerRectangles. Then I use >> > poppler_page_render_sel

Re: Searching for text in PDF files is wrong

2018-12-19 Thread Osmo Antero via gtk-app-devel-list
à(s) 17:12: > On Fri, Nov 30, 2018 at 09:56:12PM +0100, Радомир Хаџић via > gtk-app-devel-list wrote: > > I use poppler_page_find_text() to find text in PDF files. This returns > > GList of pointers to PopplerRectangles. Then I use > > poppler_page_render_selection() to mark the

Re: How to replace gtk_widget_modify_text() with CSS?

2018-12-18 Thread Luca Bacci via gtk-app-devel-list
ly CSS inline similar > to this deprecated function? > > TIA > > - Nate > > -- > > "The optimist proclaims that we live in the best of all > possible worlds. The pessimist fears this is true." > > Web: http://www.n0nb.us GPG key: D55A8819 GitHub: N0NB > __

Re: Searching for text in PDF files is wrong

2018-12-03 Thread Emmanuele Bassi via gtk-app-devel-list
gtk-app-devel-list < gtk-app-devel-list@gnome.org> wrote: > Hi. > > I use poppler_page_find_text() to find text in PDF files. This returns > GList of pointers to PopplerRectangles. Then I use > poppler_page_render_selection() to mark the found text. > > What is wron

Searching for text in PDF files is wrong

2018-11-30 Thread Радомир Хаџић via gtk-app-devel-list
ttention to the selected text with and without lines 54-57. How can I make the found text to be marked properly? This "workaround" does not work very well and it is an ugly solution anyway. _______ gtk-app-devel-list mailing list gtk-app-d

Re: PDF page not rendering properly if the page is changed

2018-11-28 Thread Eric Cashon via gtk-app-devel-list
NULL);     gtk_widget_set_hexpand(scroll, TRUE);     gtk_widget_set_vexpand(scroll, TRUE);     gtk_container_add(GTK_CONTAINER(scroll), da); ... Eric ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinf

PDF page not rendering properly if the page is changed

2018-11-28 Thread Радомир Хаџић via gtk-app-devel-list
how can I solve it? What also confuses me is that rendering() function is definitely called when I scroll but the page does not render (though it does render as it should when I scroll the first page of a just opened document) properly, but if I then resize the window the page renders properly. _

Re: Issue using the "gtk_widget_get_allocated_height" instruction

2018-11-26 Thread Luca Bacci via gtk-app-devel-list
s > 23, rue du Loess > BP 43 > F-67034 Strasbourg Cedex 2, France > E-mail: sebastien.ler...@ipcms.unistra.fr > Webpage: http://www-ipcms.u-strasbg.fr/spip.php?article1771 > RINGS project: http://rings-code.sourceforge.net/ > ISAACS project: http://isaacs.sourceforge.net/ > F

Liststore and editing cancelled event

2018-11-26 Thread Mike Martin via gtk-app-devel-list
as the treeview still has focus thanks Mike ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: Issue using the "gtk_widget_get_allocated_height" instruction

2018-11-24 Thread Luca Bacci via gtk-app-devel-list
ess >> BP 43 >> F-67034 Strasbourg Cedex 2, France >> E-mail: sebastien.ler...@ipcms.unistra.fr >> Webpage: http://www-ipcms.u-strasbg.fr/spip.php?article1771 >> RINGS project: http://rings-code.sourceforge.net/ >> ISAACS project: http://isaacs.sourceforge.net/ >> Fax: +33 3 88 10 72 46 >> Phone: +33 3 88 10 71 62 >> ===

Re: Issue using the "gtk_widget_get_allocated_height" instruction

2018-11-24 Thread Luca Bacci via gtk-app-devel-list
> RINGS project: http://rings-code.sourceforge.net/ > ISAACS project: http://isaacs.sourceforge.net/ > Fax: +33 3 88 10 72 46 > Phone: +33 3 88 10 71 62 > === > > ___ > gtk-app-devel-list mailing list > gtk-app-devel-list@gnome.org > https://mail.

How to make text in rendered PDF pages selectable?

2018-11-19 Thread Радомир Хаџић via gtk-app-devel-list
ment for a string it would be practical to make that text stand out by selecting it. All I'm asking for is some guidance and/or brief explanation how am I supposed to achieve that, since I cannot find anything online or in the documentation. ___ gtk

Re: Working with embedded images with GResource, GdkPixbuf and GtkWidget

2018-11-11 Thread infirit via gtk-app-devel-list
. ~infirit ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: Working with embedded images with GResource, GdkPixbuf and GtkWidget

2018-11-11 Thread Joël Krähemann via gtk-app-devel-list
ew_from_inline has been deprecated since > version 2.32 and should not be used in newly-written code. Use GResource > instead.”… so what’s the correct way to create Pixbuf for About boxes and > GdkWidgets for image button? > > > > Thanks for the support > > Alessandro > &g

  1   2   3   4   >