iven its x- and y-coordinates.
Any ideas please? :)
On Sat, Jul 6, 2013 at 7:23 PM, Ajay Garg wrote:
> Hi all.
>
> I managed to procure the following code from
> http://rosettacode.org/wiki/Color_of_a_screen_pixel, that retrieves
> the pixel color va
6, 2013 at 6:36 PM, Ajay Garg wrote:
> Hi all.
>
> How can we get the color of each pixel on the "current screen"
> (possibly beginning from
> http://www.pygtk.org/docs/pygtk/class-gdkscreen.html)?
>
> The use-case is as follows ::
>
> * Let's say
Hi all.
How can we get the color of each pixel on the "current screen"
(possibly beginning from
http://www.pygtk.org/docs/pygtk/class-gdkscreen.html)?
The use-case is as follows ::
* Let's say, I compare two rows of pixels on the current screen.
* The first row is "all white".
* The
Hi all.
Is there an "overlay" widget available in GTK2-bindings?
I can see that there is a "gi.repository.gtk.Overlay", but cannot seem to
find any corresponding GTK2-correspondent.
I will be grateful for any pointers :)
Thanks and Regards,
Ajay
___
--
Regards,
Ajay
___
pygtk mailing list pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/
In Gtk-3 that is.
On Sun, Feb 3, 2013 at 12:29 PM, Ajay Garg wrote:
>
>
> --
> Regards,
> Ajay
>
--
Regards,
Ajay
___
pygtk mailing list pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/
.. !
So, is there a workaround, whereby one get the correct, updated dimensions
(preferably in a synchronous manner), after "resize" is done?
>
> Regards,
> Guan
>
>
> On Wed, Jan 23, 2013 at 5:18 PM, Ajay Garg wrote:
>
>&g
Hi all.
First I would like to paste the simplistic example, highlighting the issue :
#
import gtk
import gobject
win = gtk.Window()
win.show()
print win.get_size()# prints (200, 200)
win.resize(100, 346)
print win.get_size()
Hi all.
If a gtk.Window has been maximized, it seems that the "resize()" method
doesn't take effect thereafter.
I will illustrate with the following code snippets ::
a)
###
import gtk
import gobject
win = gtk.Window()
win.show()
d anything inside the button by now
> label = gtk.Label('Hello World')
> label.set_use_markup(True)
> button.add(label)
> win.vbox.pack_start(button, 1, 1)
> win.vbox.show_all()
> win.run()
>
>
> On Sun, Dec 23, 2012 at 3:59 PM, Ajay Garg wrote:
>
>>
Will be grateful for any pointers.
Regards,
Ajay
___
pygtk mailing list pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/
On Tue, Dec 11, 2012 at 1:30 PM, Simon Feltman wrote:
> The docs say the set_clickable only affects the column header. Is this
> what you are seeing?
>
You mean just the first row?
If yes, even that is not taking effect.
> -Simon
> On Dec 10, 2012 11:09 PM, "Ajay Garg&qu
.CellRendererText.
> [1]
> http://www.pygtk.org/docs/pygtk/class-gtktreeviewcolumn.html#method-gtktreeviewcolumn--set-clickable
>
>
> Cheers
>
> On Dec 10, 2012, at 2:31 PM, Ajay Garg wrote:
>
> However, once the view is rendered, and if after that "a.props.clicka
On Fri, Nov 30, 2012 at 4:25 PM, Ajay Garg wrote:
> Hi Timo.
>
> On Fri, Nov 30, 2012 at 3:59 PM, Timo wrote:
>
>> Op 29-11-12 21:09, Ajay Garg schreef:
>>
>> Hi all.
>>>
>>> We are using the classical case of a Gtk.CellRenderText encompass
he search works fine, and the searched row is scrolled-to.
So, my query is, is it possible to programmatically call the above
procedure, when the "self._entry" is set with a text PROGRAMMATICALLY (on
the lines of "self._entry.set_text('ajay garg')"?
I guess there must
Hi Timo.
On Fri, Nov 30, 2012 at 3:59 PM, Timo wrote:
> Op 29-11-12 21:09, Ajay Garg schreef:
>
> Hi all.
>>
>> We are using the classical case of a Gtk.CellRenderText encompassed in a
>> Gtk.TreeViewColumn, which in turn is appended to a Gtk.TreeView.
>&g
Hi all.
We are using the classical case of a Gtk.CellRenderText encompassed in a
Gtk.TreeViewColumn, which in turn is appended to a Gtk.TreeView.
Here "a.props.clickable = True", where "a" is an instance of
Gtk.TreeViewColumn.
However, once the view is rendered, and if after that "a.props.click
at 12:14 PM, Ajay Garg wrote:
>
>
> a)
> Can the dialog, that asks for the printer-to-be-used, be avoided too?
> (Because I just wish to export to PDF, nothing else).
>
> As an example
>
> filename = './ultimafactura.pdf'
> po.set_export_filename(filename)
>
t;
mar...@islascruz.org> wrote:
>
> On Oct 22, 2012, at 11:38 AM, Ajay Garg wrote:
>
> Two questions ::
>
> a)
> I came across the link
> http://svn.majorsilence.com/pygtknotebook/trunk/examples/printing/printing-example.py,
> and from what I could infer, it uses GTK
> On Oct 22, 2012, at 11:17 AM, Ajay Garg wrote:
>
> > Hi all.
> >
> > I am looking for a python API/library to export text-documents and
> images to PDF.
> >
> > Does such a functionality exist in PyGTK ?
> >
> > Currently, I have explored PyQt4,
Hi all.
I am looking for a python API/library to export text-documents and images
to PDF.
Does such a functionality exist in PyGTK ?
Currently, I have explored PyQt4, and it works according to my requirements.
However, it will be great if we could have something similar in PyGTK :)
Looking for
I tried mixing the two bindings; they don't succeed.
I just wonder why the bug of csuch criticality is not being acted upon,
https://bugzilla.gnome.org/show_bug.cgi?id=681433
On Tue, Oct 16, 2012 at 3:51 PM, Ajay Garg wrote:
> Thanks for the info Simon.
>
> Would mixing up st
ith "Client.set". I found this bug in
> bugzilla: https://bugzilla.gnome.org/show_bug.cgi?id=681433
>
> -Simon
>
> On Tue, Oct 16, 2012 at 1:00 AM, Ajay Garg wrote:
> > Hi Simon.
> >
> > Following is the pro
ample of code illustrating the problem.
> Preferably something small enough we can copy and paste into a python
> console. If it is an obvious bug or limitation which is easily
> reproduced, feel free to file a bug report here:
> https://bugzilla.gnome.org under Bindings/pygobject
>
> -Sim
Ping :)
On Mon, Oct 15, 2012 at 4:15 PM, Ajay Garg wrote:
> Hi all.
>
> I have been porting some code, from gconf to gi.repository.GConf; there I
> am able to "set" values of all types, except of the type
> "GConf.ValueType.LIST".
>
> I will be gratef
Hi all.
I have been porting some code, from gconf to gi.repository.GConf; there I
am able to "set" values of all types, except of the type
"GConf.ValueType.LIST".
I will be grateful if someone could let me know how to do this :) I am
going a little impatient over this.
-
Regards,
Ajay
_
Well.. talk of meeting the answer just after posting :)
Damn the google (it didn't show the answer before ..) :)
Well, for the intersted, the answer is :;
"""
from gi.repository import Gdk
Gdk.Window.process_all_updates()
"""
On Thu, Oct 11, 2012 at 5
Hi all.
What is the corresponding function for "gtk.gdk.window_process_all_updates"
in Gtk+ ?
I tried looking at the docs, but could not seem to pounce on the required
thing.
I wil be grateful for a reply.
--
Regards,
Ajay
___
pygtk mailing list p
gards,
Ajay
On Tue, Aug 14, 2012 at 10:44 PM, Timo wrote:
> Op 14-08-12 12:21, Ajay Garg schreef:
>
>> Thanks Timo.
>>
>> It worked !!!
>>
>>
>> Just one last query ::
>>
>> When I desensitize the root window, the entire window goes "gr
imo wrote:
> Op 14-08-12 06:35, Ajay Garg schreef:
>
> Hi all.
>>
>> I have four simple questions :) ::
>>
>>
>> a)
>> How to block the complete UI (in the sense that no user-interaction with
>> the UI is effective), although the UI changes t
Hi all.
I have four simple questions :) ::
a)
How to block the complete UI (in the sense that no user-interaction with
the UI is effective), although the UI changes take place as usual via the
changes emanating from the code?
b)
How to block only a widget, while the rest of the UI remains un
Hi Bjartur.
Found a simple way to do it :)
I just hide, then unhide the window.
Simple, elegant and effective. :)
Thanks a ton for your help.
Thanks and Regards,
Ajay
On Mon, Jul 30, 2012 at 4:05 AM, Bjartur Thorlacius wrote:
> On Sun, 29 Jul 2012 15:32:46 +0530
> Ajay Garg wrote:
&
has clicked
the checkbox-cell, expecting spontaneous status change on the UI (change
from unchecked-to-checked state).
Regards,
Ajay
On Wed, Jul 25, 2012 at 6:09 PM, Bjartur Thorlacius wrote:
> On Wed, Jul 25, 2012 at 6:16 AM, Ajay Garg wrote:
> > So, is there a way to program
Hi all.
I have a custom subclass of gtk.GenericCellRenderer, CellRendererFavorite.
This is encapsulated within a "gtk.TreeViewColumn".
I guess some code would make things clearer ::
154 cell_favorite = CellRend
34 matches
Mail list logo