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 have one background colo

Detecting the gdk backend

2019-02-06 Thread Daniel Kasak via gtk-app-devel-list
Hi all. Is there a way to detect the gdk backend an app is using? I know about the environment variable - GDK_BACKEND. But often this is not set, and gtk just picks whatever's available. I need ever-so-slightly different app behaviour, depending on the backend. Any ideas? Dan _

Find path under mouse

2017-06-19 Thread Daniel Kasak
Hi all. Reposting from the gtk-perl list ... no responses there ... Back in gtk+-2.x, I had some code that could find the path underneath the mouse ( I was looking for double-click events in a treeview in this case ): --- my ( $self, $treeview, $event ) = @_; if ( $event->type eq '2butt

Re: Glade crash

2017-03-02 Thread Daniel Kasak
There is no attachment. Try sharing it a different way - pastebin or something. Dan On Wed, Mar 1, 2017 at 5:18 AM, pozzugno wrote: > Most probably this isn't the most appropriate mailing list, because I > think my issue is related to Glade (and not Gtk libraries). > > Attached is one of my gra

Re: GTK3 Glade and rendering in Windows/Linux]

2017-02-02 Thread Daniel Kasak
I'm not sure of the licensing implications ( maybe there are none ), but the current Ubuntu theme is implemented exclusively in css. If you have a Ubuntu box, you can locate them in /usr/share/themes ( eg /usr/share/themes/Ambiance/gtk-3.20 is one particular theme ). If you copy these into the righ

Re: GTK3 Glade and rendering in Windows/Linux]

2017-01-31 Thread Daniel Kasak
Neither of your messages had any attachments. Probably they're stripped out by the mailing list server. If you're trying to point people to files, screenshots, etc, try chucking them on a blog or pastebin or something. Dan On Sun, Jan 29, 2017 at 12:44 PM, Happy wrote: > > Attached is a glade f

Re: The Big Gtk limitations: a reliable GUI builder

2016-11-30 Thread Daniel Kasak
On Thu, Dec 1, 2016 at 12:32 AM, Pozz Pozz wrote: > So this is a Windows only *Gtk* bug, it isn't related to Glade. > Considering it affects all drag&drop operations for every Gtk applications, > it's very strange it wasn't fixed yet. > > My first impression is Gtk is a product for Linux applicat

Re: The Big Gtk limitations: a reliable GUI builder

2016-11-29 Thread Daniel Kasak
I try to create a column in the > Treeview. > > When I copy a box filled with widgets from one container to another > container, it seems the margins value aren't copied. I don't know if there > are other parameters that aren't copied. > > Daniel, you wrote you

Re: The Big Gtk limitations: a reliable GUI builder

2016-11-29 Thread Daniel Kasak
Glade crashes sometimes, yes. It's been much better recently - 3.20 seems pretty stable for me. I don't edit liststores in glade at all, so I can't comment on that - I construct and populate them dynamically, and use glade just to place the treeview. I don't really have the other issues you're talk

Re: GTK glade SQLite Problem

2016-10-24 Thread Daniel Kasak
Have a look at one of my projects. They're in Perl, but the logic flow is the same: http://search.cpan.org/~dkasak/Gtk3-Ex-DBI-3.2/lib/Gtk3/Ex/DBI/Form.pm Briefly, there are issues in your example code. In insert_sqlite() you need to fetch values back from your builder object. In perl, you'd do t

Transparent proxy / multiplexing for Gtk+ / broadway applications

2016-10-04 Thread Daniel Kasak
Hi all. I've written a blog post with an approach that I've just gotten working for transparent proxying of broadway applications ... so you can have a single port ( eg https ) open, and proxy each client to their own broadway instance. It's not pretty, but it works :) http://tesla.duckdns.org/t

Re: Adding and removing widgets at runtime

2016-09-13 Thread Daniel.
12, 2016 at 12:37 PM Daniel. wrote: >> >> Well, if I wasn't clear before my layout is totally questionable. I >> more generic question would be: >> >> How you guys aproaches when the problem is showing applications >> behavior on screen? >> >> M

Re: Adding and removing widgets at runtime

2016-09-12 Thread Daniel.
ply acknowledge) - remove the event from the screen Is there any monitoring software that reacts to outside world events and show then in some GTK GUI? That would be a good inspiration :) Best regards, 2016-09-12 13:19 GMT-03:00 Daniel. : > Hi thank you guys for the replies, > > Ger

Re: Adding and removing widgets at runtime

2016-09-12 Thread Daniel.
w containing buttons doing a scrollable area. >>> >>> You have to use gdk_threads_enter() and gdk_threads_leave(). Might be >>> you have even to acquire >>> the GMainContext. >>> >>> Bests, >>> Joël >>> >>> >>>

Adding and removing widgets at runtime

2016-09-12 Thread Daniel.
Hi everybody, I have a library implementing some protocol. That library is multithread and is responsible to delivery messages to remote nodes and retrieve it's responses. I need to visualise the whole mess running. To do this I wrote a simple application in Java/Swing where for each remote node

Re: GtkStack and needs-attention property

2016-08-08 Thread Daniel Kasak
OK never mind. I've found this one myself: https://developer.gnome.org/gtk3/stable/GtkContainer.html#gtk-container-child-set-property On Tue, Aug 9, 2016 at 10:03 AM, Daniel Kasak wrote: > Hi all. > > I can see how to set the 'needs-attention' property while creating an

GtkStack and needs-attention property

2016-08-08 Thread Daniel Kasak
Hi all. I can see how to set the 'needs-attention' property while creating and adding children to a GtkStack. However I don't see how to set the 'needs-attention' property once all widgets are constructed. If I later use 'gtk_stack_get_child_by_name' I can get the widget that I added to the stack

Re: Re[2]: argv revisited

2016-05-08 Thread Daniel Kasak
On Mon, May 9, 2016 at 2:24 AM, Andrew Robinson wrote: > Because you are entertaining. Ditto. In fact every single one of your posts has had multiple dummy spits. Your particular balance of begging for more help vs pouring scorn on those who try to help is unique. Where else do you post? I must

Remote gtk3 app rendering issues

2016-04-20 Thread Daniel Kasak
Greetings all. I have a bizarre issue that makes me wonder if I understand how remote X applications work ... I'm running Sabayon Linux on my dev laptop. My work has a bunch of Ubuntu 14.04 LTS servers. When I ssh into a server and run a gtk3 app, it renders widgets in a horrible 3.1 style, and ma

App menu disabled Win10

2016-01-31 Thread Daniel Espinosa
Do you know why in Windows 8.1 and 10 some times I have the App menu desable? No menu item is enable. Do I need to check the associated app action? The issue is rare because some times it is present and some others no. For example I have a Devel VM win8.1 where the menu is disable but other insta

Re: Installation of pygobject with gtk on windows.

2015-11-29 Thread Daniel Kasak
I have a Windows build of gtk+ that includes pygobject. I also have instructions around somewhere on how to rebuild it. Msg me if you want the instructions ( I'll have to dig around ). http://tesla.duckdns.org/gtk3-perl-windows/ Dan On Sat, Nov 28, 2015 at 2:37 AM, Lucas Levrel wrote: > Le 27 n

Re: Get a list of object *names* from GtkBuilder

2015-11-26 Thread Daniel Kasak
l think it would be handy to be able to enumerate over the list of widget names without having to use an external parser, but I concede it's kinda a corner case, and not too difficult to work around. Dan On Wed, Nov 18, 2015 at 12:14 PM, Daniel Kasak wrote: > I anticipated this que

Re: Get a list of object *names* from GtkBuilder

2015-11-17 Thread Daniel Kasak
s ( ie by having special code per widget ), but being able to do it generically as above would be a far better solution. Thoughts? Dan On Tue, Nov 17, 2015 at 4:57 AM, Emmanuele Bassi wrote: > Hi; > > On 16 November 2015 at 02:26, Daniel Kasak wrote: >> Greetings a

Get a list of object *names* from GtkBuilder

2015-11-15 Thread Daniel Kasak
Greetings all. I'd like to get a list of object names from a GtkBuilder object ( I'm using Perl ). I know about https://developer.gnome.org/gtk3/stable/GtkBuilder.html#gtk-builder-get-objects - which returns a list of objects, but I really need the names. Is it possible? Dan _

Re: gtk3 (GtkTextView) and MacOS

2015-02-25 Thread Daniel Kasak
Sorry to wander slightly away from the original topic, but I'm also building gtk3 for OSX using jhbuild, and I've found a bunch of issues with themes and icons and fonts, as per the above discussion. I'm wondering where the 'responsibility' of setting up a nice vanilla configuration lies? Would thi

Re: GSettings and {sv}

2015-02-22 Thread Daniel Espinosa
you need to use (sv); if you want the latter, > you need to use a{sv} instead. > > Ciao, > Emmanuele. > > On Saturday, February 21, 2015, Daniel Espinosa wrote: > >> I would like to store a {sv} GVariantDict type in GSettigs, but it is >> reported to be unsupported,

GSettings and {sv}

2015-02-21 Thread Daniel Espinosa
I would like to store a {sv} GVariantDict type in GSettigs, but it is reported to be unsupported, while documentation states any GVarintType is supported. Could any one point me on what types are really supported in GSettings please? ___ gtk-app-devel-l

Re: GtkHeaderBar, broadway & window manipulation ( moving, resizing ) with broadway

2015-02-17 Thread Daniel Kasak
child tag: > > https://github.com/jflesch/paperwork/blob/ff333d488f40acfd58b9a7cf58310c5ef1b13bef/src/paperwork/frontend/mainwindow/mainwindow.glade#L215 > * the header bar: > > https://github.com/jflesch/paperwork/blob/ff333d488f40acfd58b9a7cf58310c5ef1b13bef/src/paperwork/frontend/mainwindow/mainwindow.glade#L231 &g

GtkHeaderBar, broadway & window manipulation ( moving, resizing ) with broadway

2015-02-16 Thread Daniel Kasak
Greetings. I just tried using a GtkHeaderBar in a window in my app. I'm using Glade, which doesn't support GtkHeaderBar yet, so I've generated the GtkHeaderBar in code, and in Glade, disabled the 'Decorated' checkbox for the window. I believe this is the proper way of disabling the window manager'

Re: draw on textview, gtk3 < 3.14

2015-02-16 Thread Daniel Kasak
Not answering your question, but just FYI there are win32 binaries around. I have Gtk-3.14.3 ( bundled with Perl and other stuff ) at: http://tesla.duckdns.org/gtk3-perl-windows/ - in the "JewelKit" package. Sorry I don't have the time to unbundle gtk from everything else at this point. I believe

Re: [GI] Generic array type

2015-02-15 Thread Daniel Espinosa
Have you explored Gee? It uses Vala's generics and provides API to iterate on collections. It has lot of implementations for generic collections you can use with virtually any GTYPE object. Just consider: a) Generics returning values are not supported in Python and GJS but you just need to add c

Re: gtk_progress_bar thickness related to theme?

2014-11-14 Thread Daniel Kasak
Progress bars got a LOT thinner recently - I think in gtk-3.14.x? This is even with text in them. I don't know if there is an easy way to revert to the old appearance. Dan On Sat, Nov 15, 2014 at 8:20 AM, rastersoft wrote: > Hi: > > Try to set a text into the bar. > > El 14/11/14 a las 21:35, M

Re: gtk+-3.14.x - icons super sized

2014-11-04 Thread Daniel Kasak
Maybe this is an icon-theme issue. It seems to be strictly isolated to the icon them ubudao-style-1.4.5. Sorry for the noise. Dan On Sun, Oct 26, 2014 at 3:59 PM, Daniel Kasak wrote: > Hi all. I'm back with more icon issues. Sorry :) > > I've just built glib ( gtk+ wan

x11 vs broadway - icon theme

2014-10-25 Thread Daniel Kasak
Yet another icon issue. The screenshot is the same as in my previous issue: http://tesla.duckdns.org/images/x11_vs_broadway.png When my app is using X11, gtk+ is using my selected icon theme, but when using broadway, I'm getting the default icon theme. Why? I'm launching both from a terminal with

gtk+-3.14.x - icons super sized

2014-10-25 Thread Daniel Kasak
Hi all. I'm back with more icon issues. Sorry :) I've just built glib ( gtk+ wanted a newer version ) & gtk+ on Gentoo by bumping the ebuild version numbers and using emerge. I build manually to enable the broadway backend. I just came from gtk+-3.12.2. In pretty much all cases using X11 now, my

GDK PixbufLoader problem with TIFF files in 32bit mode on x86_64 linux

2014-08-11 Thread Daniel Appelt
ll TIFF files that I have tested. Do you have any ideas what is wrong here? Many thanks! Daniel ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

http links in broadway

2014-07-10 Thread Daniel Kasak
Hi all. I'm writing a simple broadway session manager. It starts out in modperl - which looks for an available broadway session, then launches a new broadway instance, then launches a gtk3 app in that broadway instance. From there, the idea is there'll be more complicated stuff going on - authenti

Re: Redistribution of GTK DLLs

2014-03-04 Thread Daniel Kasak
Standard disclaimer: I am not a lawyer. If you're in doubt, I think the best way to do this is to distribute things separately. Just make an installer / updater for the GTK libs ( that would be handy, by the way ... oh and if you build some Windows themes, *please* distribute these too ). Then in

Broadway questions

2014-01-11 Thread Daniel Kasak
Greetings. I've asked a similar question in the gtk-l...@gnome.org list, but didn't get an answer, so thought I'd try here. I have done a quick proof-of-concept port of some libraries and an app from Gtk2 to Gtk3. I've built the latest Gtk3 with broadway support. My app runs fine, but I don't see

Re: [Bug 677389] New: Can't use Gee in python

2012-06-11 Thread Daniel Espinosa
This is not just a problem focused on Gee/Python, is that I was using Gee in GDA to create an extension to access Data base objects and I would like to use the GObjects classes on Python to use GDA on the web. Then if I can't use Gee directly on Python then I can't use my GDA's extensions with Pyth

Simple GTKMM front-end

2011-09-19 Thread Daniel "sea" McChlery
nd. All we need is a simple window with some tabs and colored boxes, so it should be an easy project. End of background. So, is anyone interested in being a part of a new startup company? Or perhaps at least developing a simple gtkmm graphical application? Sincerely, Dani

Re: Getting a package from the archives

2010-10-30 Thread Daniel Atallah
On Sat, Oct 30, 2010 at 12:24, John Emmas wrote: > Some time ago I downloaded what were (then) the current versions of glib, > gtk, atk, cairo, pango, fontconfig etc.  I downloaded the source, dev and > runtime packages from this page:- > > http://www.gtk.org/download-windows.html > > Unfortunat

Re: gtk_tree_view_scroll_to_cell() not scrolling

2010-05-16 Thread Daniel Leidert
Am Sonntag, den 16.05.2010, 15:26 +0200 schrieb Daniel Leidert: > I have the following problem. I have a list store with 4 columns. The > application has a notebook with 4 tabs. Each tab has a scrolled window > which shows one column of the list store. So for each column there is a >

gtk_tree_view_scroll_to_cell() not scrolling

2010-05-16 Thread Daniel Leidert
inside the GtkScrolledWindow). What's necessary to get the scrolling to work here? Do you need the code? Regards, Daniel ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: g_strstrip(" ") segfaulting?

2010-05-08 Thread Daniel Leidert
Am Samstag, den 08.05.2010, 19:26 -0300 schrieb Leandro Pereira: > On Sat, May 8, 2010 at 7:18 PM, Daniel Leidert > wrote: > > Is it the desired behavior, that > > > > g_strstrip(" ") > > > > leads to a segmentation fault? I would expect, tha

g_strstrip(" ") segfaulting?

2010-05-08 Thread Daniel Leidert
Hi, Is it the desired behavior, that g_strstrip(" ") leads to a segmentation fault? I would expect, that an empty string ("") or NULL is returned. Gtk 2.20.1 (Debian Sid) Regards, Daniel ___ gtk-app-devel-list mailing lis

Download snapshot from Git repository

2010-03-01 Thread Daniel Espinosa
I have some trouble, at my full time work, I can't get access to a the Git repository other than by web interface, any Git protocolo is blocked! I found at sourceforge.net git service, you can download a shapshot of the current master or what ever commit you require from the web interface!!! Can

Re: Connecting GTK application to a database

2010-02-24 Thread Daniel Espinosa
Using GDA (www.gnome-db.org) based on GObject/GLib and its GTK+ objects, you can develop applications using a C API to access any supported database backend (postgresql, mysql and sqlite, are some of them). Any application can run simple queries. Exist an application (on development) at http://lib

Re: How To Enable X Root Window PropertyNotify Event ("property-notify-event" signal?) In GTK+?

2010-01-07 Thread Daniel Yek
Brian J. Tarricone wrote: > On 01/05/2010 01:36 PM, Daniel Yek wrote: >> I want to receive X's PropertyNotify event for _NET_WORKAREA and >> _NET_CURRENT_DESKTOP root window properties. >> >> How can I enable them? Can they be received as "property-notify-

How To Enable X Root Window PropertyNotify Event ("property-notify-event" signal?) In GTK+?

2010-01-05 Thread Daniel Yek
pt at solving my problem. Does anybody know if the right way to enable root window PropertyNotify event in GTK+? Thanks! -- Daniel Yek. ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

What is the terminology for panel/frame "sliders"?

2009-11-04 Thread Daniel B. Thurman
I am not well versed in windows terminology, so what do you call the "slider" that allows panels or frames to be resizeable? For example: V-Slider: v +===+v+===+ | | | | | | | | | | | | |

Re: PYGTK: How can one add an argument to a callback?

2009-11-03 Thread Daniel B. Thurman
On 11/03/2009 10:35 AM, Lars Wirzenius wrote: > On Tue, 2009-11-03 at 09:46 -0800, Daniel B. Thurman wrote: > >> For example, I want to do the following: >> >> tvc.set_cell_data_func(cp, self.on_file_pixbuf1(t)) >> >> where 't' is another argument

PYGTK: How can one add an argument to a callback?

2009-11-03 Thread Daniel B. Thurman
The following code: [...] tvc.set_cell_data_func(cp, self.on_file_pixbuf) [...] def on_file_pixbuf1(self, column, cell, model, iter): [...] works fine, but what if I need to add another argument to "self.on_file_pixbuf" without destroying the arguments already supplied by the constructor?

Re: Need help to set a cursor/focus on treeview row!

2009-11-01 Thread Daniel B. Thurman
On 10/30/2009 05:48 PM, Daniel B. Thurman wrote: > I am learning, so please bear with me! > > I have the following code: > > def expandHome(self, model, iter=None, defaultHome=None): > ''' expand user's home directory ''' >

Re: Need help to set a cursor/focus on treeview row!

2009-10-31 Thread Daniel B. Thurman
On 10/30/2009 05:48 PM, Daniel B. Thurman wrote: > I am learning, so please bear with me! > > I have the following code: > > def expandHome(self, model, iter=None, defaultHome=None): > ''' expand user's home directory ''' >

Need help to set a cursor/focus on treeview row!

2009-10-30 Thread Daniel B. Thurman
I am learning, so please bear with me! I have the following code: def expandHome(self, model, iter=None, defaultHome=None): ''' expand user's home directory ''' if not defaultHome: return ran = model.iter_n_children(iter) for i in range(ran):

Loading treestore after gtk.main()?

2009-10-28 Thread Daniel B. Thurman
How is it possible to bring up the gtk window first, before loading your treestore, which might take a long time? ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: os.listdir() exceptions

2009-10-25 Thread Daniel B. Thurman
On 10/25/2009 04:46 AM, Emmanuele Bassi wrote: > On Sat, 2009-10-24 at 08:30 -0700, Daniel B. Thurman wrote: > >> Is os.listdir(path) the only method available for obtaining >> directory/file list for the given path argument? >> > how is this relevant to g

Re: os.listdir() exceptions

2009-10-24 Thread Daniel B. Thurman
On 10/24/2009 08:30 AM, Daniel B. Thurman wrote: > Is os.listdir(path) the only method available for obtaining > directory/file list for the given path argument? > > The reason I am asking is this: what if one wishes to obtain > a listing of, say the root directory (/), and in th

os.listdir() exceptions

2009-10-24 Thread Daniel B. Thurman
Is os.listdir(path) the only method available for obtaining directory/file list for the given path argument? The reason I am asking is this: what if one wishes to obtain a listing of, say the root directory (/), and in the case of using the linux os, for example, one may encounter a directory cal

Re: gtk.TreeView.set_model(TreeStore) expanders do not seem to work?

2009-10-23 Thread Daniel B. Thurman
On 10/17/2009 05:16 PM, Daniel B. Thurman wrote: > In my application, I am populating a treestore with > new children, I then use the following method: > > self.treeview.set_mode(treestore) > > Apparently the treeview does not show expanders > where there are new children. >

Re: gtk.TreeView.set_model(TreeStore) expanders do not seem to work?

2009-10-18 Thread Daniel B. Thurman
On 10/17/2009 11:08 PM, Lars Wirzenius wrote: > la, 2009-10-17 kello 17:16 -0700, Daniel B. Thurman kirjoitti: > >> In my application, I am populating a treestore with >> new children, I then use the following method: >> >> self.treeview.set_mode(treestore) >

gtk.TreeView.set_model(TreeStore) expanders do not seem to work?

2009-10-17 Thread Daniel B. Thurman
In my application, I am populating a treestore with new children, I then use the following method: self.treeview.set_mode(treestore) Apparently the treeview does not show expanders where there are new children. Is there something I need to do to show the expanders? I have tried, with no effect

Re: Has anyone been able to force TreeView expander with no children?

2009-10-15 Thread Daniel B. Thurman
On 10/14/2009 06:52 PM, Daniel B. Thurman wrote: [snip!] Apologies. It appears that there is something wrong with email-deliveries and I am not getting every posting, so I will have to reply to certain individuals that I have not received directly into my mailbox. (I am looking directly at the

Re: Has anyone been able to force TreeView expander with no children?

2009-10-15 Thread Daniel B. Thurman
On 10/15/2009 07:53 AM, Lars Wirzenius wrote: > to, 2009-10-15 kello 07:44 -0700, Daniel B. Thurman kirjoitti: > >> (1) I am trying to find the "expander-open" event for the >> connect method. I think it is something like: >> > http://library.gnom

Re: Has anyone been able to force TreeView expander with no children?

2009-10-15 Thread Daniel B. Thurman
On 10/14/2009 11:56 PM, Lars Wirzenius wrote: > ke, 2009-10-14 kello 18:52 -0700, Daniel B. Thurman kirjoitti: > >> I have a FileViewer application that I am working on >> and so far I have not been able to force expanders >> on TreeView when there are only "to

Has anyone been able to force TreeView expander with no children?

2009-10-14 Thread Daniel B. Thurman
I have a FileViewer application that I am working on and so far I have not been able to force expanders on TreeView when there are only "top-level" directories/files populated in the TreeStore. You would think that doing something simple as: [...] self.treestore = gtk.TreeStore(str, gtk.gdk.Pixbu

Re: Unable to get Python/Gtk code to work...

2009-10-14 Thread Daniel B. Thurman
On 10/12/2009 12:45 PM, Daniel B. Thurman wrote: [snip!] Here is updated code. The problem I have is preventing the expand/collapse arrow button from changing the Cell Rendering from shifting over the Icon/directory. Try the code below, double-click the directories to expand, then notice that

Is there a code example to match file-types with icon themes automatically?

2009-10-13 Thread Daniel B. Thurman
Are there any code examples available that can automatically match the file-type with the gtk.icon_theme_get_default() method? ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Unable to get Python/Gtk code to work...

2009-10-12 Thread Daniel B. Thurman
I am a first timer here and I am trying to get a basic TreeView application to work on Fedora-11 I have gotten the following code from somewhere on the Internet and needed this type of application for a project I am working on. The code I had obtained had a couple of problems when dealing with fi

Re: Bug in GtkTreeView or programming bug?

2009-09-18 Thread Daniel Leidert
Am Freitag, den 18.09.2009, 21:44 +0200 schrieb Kristian Rietveld: > On Fri, Sep 18, 2009 at 6:22 PM, Daniel Leidert > wrote: > > Thanks for your hints. Yes, the code was incomplete. But I think the > > attached code should work. It still returns: > > &g

Re: Bug in GtkTreeView or programming bug?

2009-09-18 Thread Daniel Leidert
Am Freitag, den 18.09.2009, 13:23 +0200 schrieb Kristian Rietveld: > On Wed, Sep 16, 2009 at 10:56 PM, Daniel Leidert > wrote: > >> Doh! Attached. > > The program in the attachment tries to set the cursor on a path that > does not exist in the tree view. This path does

Re: Bug in GtkTreeView or programming bug?

2009-09-16 Thread Daniel Leidert
Am Mittwoch, den 16.09.2009, 21:57 +0200 schrieb Daniel Leidert: > Am Mittwoch, den 16.09.2009, 08:07 +0200 schrieb Kristian Rietveld: > > 2009/9/14 Daniel Leidert : > > > In Debian the test suite of perl-gtk2 failed [1]. Examining the > > > situation a bit furthe

Re: Bug in GtkTreeView or programming bug?

2009-09-16 Thread Daniel Leidert
Am Mittwoch, den 16.09.2009, 08:07 +0200 schrieb Kristian Rietveld: > 2009/9/14 Daniel Leidert : > > In Debian the test suite of perl-gtk2 failed [1]. Examining the > > situation a bit further it seems, that even after setting a cursor, the > > reurned path from gtk_tree_view

Bug in GtkTreeView or programming bug?

2009-09-14 Thread Daniel Leidert
been set earlier. I wonder if there is something wrong with my test program (and the test in perl-gtk2) or if this points to a bug in Gtk. [1] http://bugs.debian.org/545616 TIA and regards, Daniel ___ gtk-app-devel-list mailing list gtk-app-devel-lis

Re: Scroll wheel events not working under WindowsXP

2008-11-21 Thread Daniel Atallah
On Fri, Nov 21, 2008 at 3:10 PM, Peter Clifton <[EMAIL PROTECTED]> wrote: > Hi, > > I'm developing a CAD application which uses a GtkDrawingArea for its > schematic page view, and handles scroll wheel events to pan the > schematic being viewed. > > On Linux, and built for Win32, tested under wine,

Re: Layout Composite Widget Components Using Glade-3? / See Glade Only as Prototyping Tool?

2008-10-21 Thread Daniel Yek
ng tool and that projects having more modularity requirement will fare better to code the subclasses using GTK+ API directly. I suppose one way to analyze this is to look at Glade source code itself and questioning why Glade application interface wasn't composed using Glade itself, but coded d

Re: Layout Composite Widget Components Using Glade-3? / Pluggable widgets replacement for Glade custom widget?

2008-10-21 Thread Daniel Yek
Tristan Van Berkom wrote: On Fri, Oct 17, 2008 at 2:10 AM, Daniel Yek <[EMAIL PROTECTED]> wrote: [...] This is done by installing custom widgets catalog into catalog directory, installing custom plugin libraries, loading optional/custom plugin libraries, installing and loading g

Re: MS Windows packages and modularity

2008-10-20 Thread Daniel Atallah
On Mon, Oct 20, 2008 at 7:20 PM, Tor Lillqvist <[EMAIL PROTECTED]> wrote: >>> Was there a compelling reason for this reversion? > > Not really. As has already been said, if/when the GDI+ -based pixbuf > loaders would be used, then it would hopefully be 100% clear that it > makes sense to build them

Re: MS Windows packages and modularity

2008-10-20 Thread Daniel Atallah
On Mon, Oct 20, 2008 at 4:57 PM, Allin Cottrell <[EMAIL PROTECTED]> wrote: > On Mon, 20 Oct 2008, Daniel Atallah wrote: > >> On Mon, Oct 20, 2008 at 12:01 PM, Allin Cottrell <[EMAIL PROTECTED]> wrote: >> > But I see that the current GTK 2.14.4 package &

Re: MS Windows packages and modularity

2008-10-20 Thread Daniel Atallah
On Mon, Oct 20, 2008 at 4:57 PM, Allin Cottrell <[EMAIL PROTECTED]> wrote: > On Mon, 20 Oct 2008, Daniel Atallah wrote: > >> On Mon, Oct 20, 2008 at 12:01 PM, Allin Cottrell <[EMAIL PROTECTED]> wrote: >> > But I see that the current GTK 2.14.4 package &

Re: MS Windows packages and modularity

2008-10-20 Thread Daniel Atallah
On Mon, Oct 20, 2008 at 12:01 PM, Allin Cottrell <[EMAIL PROTECTED]> wrote: > A while back some app developers who have need of GTK+ on MS > Windows, yet whose apps use only a subset of the available > image-loaders, requested that the build of the Windows packages be > made modular (as it was in t

Re: Layout Composite Widget Components Using Glade-3? / Pluggable widgets replacement for Glade custom widget?

2008-10-16 Thread Daniel Yek
Tristan Van Berkom wrote: On Thu, Oct 16, 2008 at 10:01 PM, Daniel Yek <[EMAIL PROTECTED]> wrote: ...create a (custom) composite widget to contain several standard GTK+ widgets...(It is nicer if all widgets appear in the same design view.) ...Is pluggable widget the replacement mec

Layout Composite Widget Components Using Glade-3? / Pluggable widgets replacement for Glade custom widget?

2008-10-16 Thread Daniel Yek
figure out how to best create and use composite widgets. Ideas and advice are appreciated. Thanks. -- Daniel Yek. ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: Gtk Window Screen Boundaries

2008-10-12 Thread Daniel Saul
I was able to solve this problem. Sample Code: #import #import #import #import #import + (void)reserveLeftWidth:(guint32)leftWidth leftStart:(guint32)leftStart leftEnd:(guint32)leftEnd rightWidth:(guint32

Re: What strategy to use to deal with Glade-3's problem in removing pixbuf directory paths in .glade file!

2008-10-09 Thread Daniel Yek
Hi Tristan, Thanks for responding. My responses inlined below... Tristan Van Berkom wrote: On Mon, Oct 6, 2008 at 2:01 PM, Daniel Yek <[EMAIL PROTECTED]> wrote: Hi, I'm trying to find a way to deal with the problem with Glade-3 removing absolute or relative path from pixbuf pro

What strategy to use to deal with Glade-3's problem in removing pixbuf directory paths in .glade file!

2008-10-06 Thread Daniel Yek
m pixbuf in .glade file, libglade would have worked. I think one clumsy way I can deal with this is to create a script that post-process .glade file touched by Glade-3 to explicitly restore the pixbuf directory paths. Is there another better way to deal wi

Re: [gnome-db] how to print selected row in gnome_db_raw_grid?

2008-09-23 Thread Daniel Espinosa
2008/9/23 Vivien Malerba <[EMAIL PROTECTED]> > > > 2008/9/23 paragasu <[EMAIL PROTECTED]> > >> > gda_value_stringify(value) >> >> assume that i know, the value return is string, then i can simply use >> this function so i can print >> (GValue to gchar) the string. but there is no function to conv

Re: how to modify the GnomeDbDataWidgetInfo?

2008-09-18 Thread Daniel Espinosa
May be could be usefull to modify the code at GnomeDbDataWidgetInfo in order to add properties that allows to hide this objects, in order to share this functionality. 2008/9/17 Vivien Malerba <[EMAIL PROTECTED]> > 2008/9/17 paragasu <[EMAIL PROTECTED]>: > > by default, gnome_db_form/gnome_db_grid

(1) How to implement Image Buttons without gaps? (2) Can GtkImage stretch an image automatically?

2008-08-20 Thread Daniel Yek
implement this functionality, other than using low-level drawing APIs? Insights are very much appreciated. Thanks. -- Daniel. ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: XML and treeviews

2008-07-26 Thread Daniel Espinosa
Why don't create a GtkCellRenderer derived object with the properties you need? At creation time you can get the "0:0" (the open tag row) GtkCellRenderer as argument then you can hide it when "0:0" collapse using a GObject signal. 2008/7/25 Gabriele Greco <[EMAIL PROTECTED]>: > > Couldn't you j

Re: developing postgresql app using gtk

2008-07-23 Thread Daniel Espinosa
Hi, I just want to know why libgnomedb is not suitable for you? This could help gnome-db project to improve. 2008/7/23 paragasu <[EMAIL PROTECTED]>: > On 7/22/08, Germán Póo-Caamaño <[EMAIL PROTECTED]> wrote: > > On Tue, 2008-07-22 at 21:44 +0800, paragasu wrote: > >> i am very new to gtk program

Re: Recalculation of timeouts with g_timeout_add

2008-05-16 Thread Daniel Atallah
On Fri, May 16, 2008 at 1:20 PM, Mitko Haralanov <[EMAIL PROTECTED]> wrote: > On Fri, 16 May 2008 09:54:22 +0200 > G Hasse <[EMAIL PROTECTED]> wrote: > >> Let your callback return FALSE and reregister before the return > > Hi, I thought of that but I was sure that there is a better way to do > this

Re: How to set locale dynamicly under GTK-win application?

2008-05-12 Thread Daniel Atallah
On Mon, May 12, 2008 at 8:50 PM, Marvin Zhang <[EMAIL PROTECTED]> wrote: > There is a method to change the locale by setting the environment LC_ALL in > windows (2000 or XP). But how to change the locale in the application? > I tried > 1. setlocale(LC_ALL, "zh_CN"); > 2. SetEnvironmentVariable(

[ANN] gbacklight 0.1 - a utility to adjust screen brightness

2008-04-21 Thread Daniel Fetchinson
Hi folks, This is the initial release of gbacklight, a GTK frontend to xbacklight. Gbacklight can be used to adjust the screen brightness on X window systems using the RandR extension. This is particularly useful on laptops. http://code.google.com/p/gbacklight/ Cheers, Daniel

Re: gtk + autoconf

2008-04-06 Thread Daniel Fetchinson
ule that works > with pkg-config. Check pkg-config --list-all to see these modules. Thanks a lot for the tips everyone! I managed to get it working (actually it was simpler than I thought). Cheers, Daniel ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

gtk + autoconf

2008-04-06 Thread Daniel Fetchinson
n see the X dependencies are there but how do I put in the right gtk flags and dependencies? Sorry if this is off topic but autoconf and friends seem like a giant forest and I'm kinda lost :) Cheers, Daniel ___ gtk-app-devel-list mailing list

Re: windows GTK in assembly

2008-03-26 Thread Daniel Atallah
On Wed, Mar 26, 2008 at 11:21 AM, Jason Ward <[EMAIL PROTECTED]> wrote: > > Probably this declare the symbol gtk_init to be an external one. > > Something similar in sprit to > >extern void gtk_init(void); > > in C. > > > > This doesn't really help since the assembler I use doesn't use extern

Re: windows GTK in assembly

2008-03-26 Thread Daniel Atallah
On Wed, Mar 26, 2008 at 11:21 AM, Jason Ward <[EMAIL PROTECTED]> wrote: > > Probably this declare the symbol gtk_init to be an external one. > > Something similar in sprit to > >extern void gtk_init(void); > > in C. > > > > This doesn't really help since the assembler I use doesn't use extern

Add a button to the about dialog

2008-03-14 Thread Daniel Leidert
I get this result. But I don't know, how to workaround it. Can you give me some help? (the button is intended to show, which configure options were used and which features were enabled) Regards, Daniel ___ gtk-app-devel-list mailing lis

  1   2   3   4   >