On Sat, Nov 8, 2008 at 9:54 AM, Thomas Mills Hinkle wrote:
> I'm interested in switching to the new gtk printing system (I still use
> gnomeprint for GNOME applications, LPR for gnome-lib-less linux users, and
> launching Adobe Acrobat to print PDF for Windows users). I can alre
On Sat, May 30, 2009 at 8:20 AM, Thomas Mills Hinkle wrote:
> After a recent OS upgrade, I found that my code broke with the following:
>
> self.pause = gtk.ToggleButton(_('_Pause'),True)
> RuntimeError: more argument specifiers than keyword list entri
After a recent OS upgrade, I found that my code broke with the following:
self.pause = gtk.ToggleButton(_('_Pause'),True)
RuntimeError: more argument specifiers than keyword list entries
(remaining format:'):GtkToggleButton.__init__')
Testing at the python shell confirms. I get the same e
On Mon, Nov 24, 2008 at 12:27 PM, Luis Javier Peris
<[EMAIL PROTECTED]>wrote:
> Hello everybody!
>
> I would know if there's a *simple* way having a string marked up with the
> Pango text markup language to set it in a TextBuffer, I mean the same
> purpose of *set_markup gtk.Label* method but for
You're using the "stock=" attribute of the CellRendererPixbuf -- that's
designed to grab a stock icon. You want to be using the pixbuf= attribute.
Assuming you don't want to mix and match (that you just want to use
pixbufs), changing stock to pixbuf in the code below should get you what you
want (y
I'm interested in switching to the new gtk printing system (I still use
gnomeprint for GNOME applications, LPR for gnome-lib-less linux users, and
launching Adobe Acrobat to print PDF for Windows users). I can already get
very nice PDF output using ReportLab -- is there any way I can just hand
gnom
On 1/8/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Hi all:
Can anyone tell me how to set pygtk global font with code instead of
editing gtkrc file?
You can use gtk.rc_parse_string.
That takes as its argument whatever you would put in the rc file.
e.g.
gtk.rc_parse_string('''
style
On 11/14/06, John Kelly <[EMAIL PROTECTED]> wrote:
Hello everyone,I need some help in making a gtk.Button insensitive when a gtk.Entrycontents have changed. I have tried many different signals, each of themfailed to do what i wanted.
I'm confused -- have you tried simply using the 'changed' signal
On 11/2/06, Marcin Lewandowski <[EMAIL PROTECTED]> wrote:
Hi,I tried many things but I can't do that. Anyone can write me a shortexample how to allow resizing only on horizontal axis? Y size would becalculated automatically and should remain.
You'll have to be a lot more specific for us to know wha
On 10/24/06, shawn bright <[EMAIL PROTECTED]> wrote:
ok, i have my tree view and populated with a list like the tutorial said, however, i need a way to refresh the list.here is what i have so farself.group_treeiter = self.group_model.get_iter_first()self.group_model.clear
()for name in name_list:
On 10/18/06, Thomas Mills Hinkle <[EMAIL PROTECTED]> wrote:
I'm trying to interrupt an embedded mainloop from my application. The mainloop is run inside of a dialog (actually, it's a dialog that was then reframed in the main app (in a notebook tab) in order to create the feel of m
I'm trying to interrupt an embedded mainloop from my application. The mainloop is run inside of a dialog (actually, it's a dialog that was then reframed in the main app (in a notebook tab) in order to create the feel of multiple "screens" rather than multiple windows). Anyway, when the window on th
>From your example code, I can't see what's going on. I whipped up an example to try to reproduce your problem, but I had no trouble creating multiple columns that worked. Can you see if the following code works for you? Assuming it does, then I'm guessing there's a typo or something in your code..
On 10/2/06, Pascal DUCHATELLE <[EMAIL PROTECTED]> wrote:
Hello,Still trying to use pango markup (and other) in a textview (at least). I used the pygtk demo file testext.py which is a basic text editor. There is a menu that allows the user to load an aexample file containing many text demo features
gtk.Widget.__init__(self)style = gtk.rc_get_style_by_paths
(self.get_settings(),'GtkEntry', 'GtkEntry', gobject.TYPE_NONE)Using gtk.Entry instead of gobject.TYPE_NONE will get you a style object, but I'm not sure if that's what you want.
Tom
_
..should i install a "theme" or do i have to do all the drawingit requires by using cairo??...what i really need is better appeareance
widgets...In general, the theme philosophy is meant to give users control over the appearance of applications on their computer and to ensure a consistent look acro
On 11/2/05, Rob Marino <[EMAIL PROTECTED]> wrote:
> Hi all.
>
> Quick question regarding notebook signals:
>
> I have an app with a notebook. I need to detect when a user switches to
> another page.
>
> Problem is this - when I detect the 'switch_page' signal and use
> notebook.get_current_page()
On 11/2/05, Chris Irish <[EMAIL PROTECTED]> wrote:
> 2 questions:
> Which widgets besides gtk.Label allow the use of the Pango markup
> language?
> How can I change the font size of text in a textbuffer?
It would be nice if textbuffer's could use pango markup directly,
wouldn't it? If they
On 10/20/05, Chris Irish <[EMAIL PROTECTED]> wrote:
> yeah i'll try that.. but one more thing. if I delete all those
> windows doesn't the main loop keep running? Do I need to have all these
> seperate window classes reference the class that instansiates them to kill
> the mainloop? Or wi
On 10/15/05, nephish <[EMAIL PROTECTED]> wrote:
> i shall suck it up and use the ComboBoxEntry, trying to save some time
> here, but i got a treeview working, so i guess i can do about anything.
> thanks much,
> sk
There are convenience methods to simplify using the ComboBoxEntry if
you don't nee
On 10/5/05, nephish <[EMAIL PROTECTED]> wrote:
> what would be a good solution for an indicator ?
> i need something that will alert me when something in our equipment fails.
> like a red square that can change to green, or something that looks like
> a warning light
I've used the warning icon fr
On 9/12/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> I use button_press_event because my problem is due to drag & drop which
> happen only with button press_event.
> Have you ever tryied drag and drop several rows from a treeview?
> I think you should be surprised on the result even if you u
On 7/30/05, Phillip Calvin <[EMAIL PROTECTED]> wrote:
> Thomas Mills Hinkle wrote:
>
> >
> >mnemonic_manager also handles notebook's and properly.
>
> I'm not sure if this is really a rule so much as a convenience, but:
>
> http://developer.gnome.or
Hi all. I just completed a tool for my app which automatically adjusts
mnemonics in a window to make them as readable as possible. I did
after feeling frustrated by constantly creating mnemonic conflicts
accidentally and realizing that controlling mnemonics with i18n would
be far too difficult a ta
On 7/28/05, pier carteri <[EMAIL PROTECTED]> wrote:
> Hi to all,
> I'm developing a multiplatform app with python and gtk. It must work fine
> in linux and in window (maybe also OsX).
> As every good app It must have an help (better a contextual help) showing
> how to use it.
> But at this point
On 7/19/05, Frederico Arnoldi <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> Is there anyway to color text in a treeview without using Pango Markup?
> Or how to improve pango performance?
> Why I am asking it? Because I have a treeview wich I need to color, in
> the same row, differents letters
On 7/6/05, Jose de Paula Eufrasio Junior <[EMAIL PROTECTED]> wrote:
> Hello there,
>
> I'm making a pygtk app and got several fields wich values are inserted
> (like textviews, spinbuttons) and these values can be changed with
> values from other widgets on the app.
> I'm not very friendly to the
On 6/21/05, N. Volbers <[EMAIL PROTECTED]> wrote:
> Hello,
>
> Prash wrote:
> > What signal is emitted when a user clicks on a row? I've tried a few
> > like row_activated but it emits a signal only when "return" is
> > pressed.
If you want to find out when the user has changed which row is
selec
On 6/21/05, Michael Urman <[EMAIL PROTECTED]> wrote:
> Go for the singular form, whether prop or property.
>
> label.property.text = 'Caption' reads better than
> label.properties.text = 'Caption'
I disagree. Although "label - property - text" makes sense on a basic
level because we are getting a
> > 1. Map GObject property names to python attributes with a predefined
> >prefix reserved for properties. Examples: label.prop_text,
> >label.proptext, etc.. (others?)
This seems icky to me.
> >
> > 2. Create a properties container object. Examples label.prop.text,
> >label.props
Forgot to CC the list...
On 6/15/05, Mahmad Sadique Hannure <[EMAIL PROTECTED]> wrote:
> Hi to all,
>
> Is anybody know how to do slide show in PyGTK.
> Please help me.
>
> Thank You.
>
> regards,
> Mohmad Sadique.
I'm not sure what you mean exactly, but I whipped up the following
example which m
On 6/14/05, Michael A D'ambrosio <[EMAIL PROTECTED]> wrote:
> column1 = gtk.TreeViewColumn("First Name ", renderer, text=1)
> column2 = gtk.TreeViewColumn("Last Name ", renderer, text=1)
The above says, create a column "First name" with renderer renderer
taking its text from column 1 (read colum
On 6/13/05, Mark Cooke <[EMAIL PROTECTED]> wrote:
> I want to be
> able to print out a report from a text view, and the only way I've seen
> on this list and google is to use gnome-python-extras, this is great on
> the Linux desktops, but that has not been ported over to Windows yet.
>
> Could an
I'm found some seriously strange behavior with a TextView inside a
Paned() widget. I believe this is most likely a bug in the underlying
gtk, but I'm not sure which component is to blame and so I'd be
grateful for any thoughts on where the underlying problem is so I can
find/file a useful bug repor
Hello all.
I would like to use rhythmbox's rating star-system in my pygtk
application. For those not familiar, rhythmbox shows a nice widget
with five stars, where the user can click to make more or fewer stars
appear.
Am I right to assume that doing this would require me to:
A. Find rhythmboxes
> Is there a
> way to find the imported version of some library from the python prompt?
Not sure if this is what you mean, but the following can be useful:
import gtk
gtk.__file__
gtk.gtk_version
gtk.pygtk_version
I'm at work away from my setup so I can't give you the output, but
each of the ab
On 4/27/05, Daniele Medri <[EMAIL PROTECTED]> wrote:
> i coded something like that:
>
> self.cbox = gtk.combo_box_new_text()
> self.cbox.append_text("1 day")
> self.cbox.append_text("1 week")
> self.cbox.append_text("4 weeks")
> self.cbox.set_active(0)
>
>
On 4/25/05, borco <[EMAIL PROTECTED]> wrote:
> * is there a special way for a gnome app to store/restore its size and
> pos (a simpler and better way than that for a bare gtk app)?
I don't know of a good simple way to do this, but would like to hear
it if anyone else does! For my app, I developed
I thought gnome.program_init() was a pretty standard part of the GNOME
bindings, but I have a user running gnome-python2 version 2.6.0-3
(fedora) reporting the following error when running my program:
gnome.program_init(version.appname,version.version)
AttributeError: 'module' object has no attrib
On 4/22/05, James Pelletier <[EMAIL PROTECTED]> wrote:
> I have found no good way of accessing the entry field of a tree view. In
> my case, I needed to know if any cell was being edited, so I could save
> the change before saving the contents of the store. I was able to come
> up with a pretty hei
> Gtk doesn't, but there is a GnomeDruid and Glade supports it too. At
> one point in time I was trying to stick solely with Gtk so I used the
> GtkNotebook and hid the tabs. Then switched pages whenever the user hit
> the Next and Previous buttons.
I was recently in a similar situation -- I want
When running my app, I get error messages like this:
(Gourmet Recipe Manager:30230): Pango-WARNING **: Invalid UTF-8 string
passed to pango_layout_set_text()
I'm guessing that pango knows the string "Gourmet Recipe Manager" from
the appname I handed gnome.program_init.
Can anyone tell me what th
*apologies about the previous incomplete post -- it was sent unintentionally!
I'm having trouble tracking down a printing problem. My code is
hanging when using threads and running the following:
dialog = gnomeprint.ui.Dialog(self.job, self.dialog_title,
I'm having trouble tracking down a printing problem. My code is
hanging when running the following:
dialog = gnomeprint.ui.Dialog(self.job, self.dialog_title,
gnomeprint.ui.DIALOG_RANGE |
gnomeprint.ui.DIALOG_COPIES,
I have a gtk.ComboBox which is getting items added from a datasource
out of my control. I'd like the box to stay a reasonable size to fit
into my Gui -- currently, if there's one big entry in the ListModel,
the control blows the whole window out of wack. Is there a simple way
to stop the size from
> In GTK+ 2.6 the GtkCellRenderer has the "editing-started" signal.
Aha -- very useful.
In case anyone else is following this thread, the callback args aren't
documented yet AFAICT. The following callback setup is working for me
though:
def editing_started_cb (CellRenderer, Widget, PathString):
Is there a simple way to connect a handler to the beginning of editing?
In my case, I'd like to use it with the new CellRendererCombo (which
is wonderful to have at last!) to filter the ListModel the Combo is
using based on which item the user has started to edit.
It looks like I could do this by
I have a user reporting the following error with my newest gnomeprint
implentation:
gnomeprint.pango_create_context(gnomeprint.pango_get_default_font_map())
AttributeError: 'module' object has no attribute
'pango_create_context'
I assume this error is a result of his using an older version of
gnom
> Maybe my question was unclear: I *do* need a clickable column, but I
> want it to be unable to receive the keyboard focus (while staying
> clickable).
I believe this is impossible (or should be). Anything that can be
clicked should also be reachable via the keyboard, which means it must
be able
> Here it is for anyone else following this thread. This implements
> basic italic/bold/underline, etc., and provides get_text and set_text
> methods that allow you to get pango markup out of a TextBuffer.
And here's the version without the recently-introduced-and-untested typos :)
Tom
import pan
On Mon, 14 Feb 2005 21:21:55 -0500, Thomas Mills Hinkle
<[EMAIL PROTECTED]> wrote:
> Second, I understand that according to the following bug, inserting
> pango markup (, etc.) into text-buffers is not easily supported
> in gtk (though perhaps coming soon)...
>
> http
On Sat, 19 Feb 2005 14:15:11 +0200, Nikos Kouremenos <[EMAIL PROTECTED]> wrote:
http://www.async.com.br/faq/pygtk/index.py?req=show&file=faq13.026.htp
> but even if it was, I cannot understand what it says [so either way plz
> someone that knows what it's saying edit it to become more easy to
> und
On Fri, 18 Feb 2005 12:26:45 +0200, Ionutz Borcoman <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I have 2 problems:
>
> * how to restore the fullscreen state, maximized state and the size of
> the main window of an application when it is restarted ?
> * how to do the above on MS Windows ?
>
> All I want
> 4) KEY POINT - use context.pango_layout to lay out paragraphs. If you
> don't do this, you end up doing your own line-breaking routines, font
> formatting, etc. Which you *will* get wrong for most languages except
> your native one. This is why we have pango in the first place.
This is something
I'd like to add basic text editing functionality to my pygtk app and
had a couple of questions.
First, is there an easy way to implement copy/paste buttons so that
they point to whatever C-c/C-v would do in pygtk anyway? Most widgets
to the "right thing" with C-c/C-v by default, but I'd like to gi
On Thu, 10 Feb 2005 23:58:46 +0530, Saurabh Wagh <[EMAIL PROTECTED]> wrote:
> Can anyone please guide me as to how should i go about , making any
> text clickable in my interface, so that clicking on it further gets
> itz details on to the interface.
I don't understand the kind of information you
On Thu, 27 Jan 2005 22:39:51 +0100, Maciej Katafiasz <[EMAIL PROTECTED]> wrote:
> Dnia 28-01-2005, piÄ o godzinie 00:10 +0530, Saurabh Wagh napisaÅ:
> > While designing an interface for college project , i am using a
> > hierarchial notebook structure (3 level).
>
> Argh. Whatever it is you're doi
On Wed, 26 Jan 2005 10:49:15 -0800 (PST), Steve Taetzsch
<[EMAIL PROTECTED]> wrote:
> Danny and Tom,
>
> Thanks for the great help, I will try your suggestions
> soon.
>
> Just curious, do people use glade? gnome-glade? Or
> just write the code?
I certainly use glade for most of my UI. It is mu
On Wed, 26 Jan 2005 09:57:20 -0800 (PST), Steve Taetzsch
<[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I am moving from Tkinter to some other widget lib, and
> am looking at gtk, qt and wx.
>
> I want to port an application I wrote in Tkinter which
> has a 5 column table with headers. The user can cha
On Fri, 25 Jun 2004 14:34:04 +0200, Antoon Pardon
<[EMAIL PROTECTED]> wrote:
> On Wed, Jun 23, 2004 at 11:05:03AM +, Tiago Cogumbreiro wrote:
> > I for one would like to see them :) A threading tutorial is always nice.
> > Making demos out of the most common concurrent patterns would also be
>
> The UI is for list the items from many categories, then edit or remove
> that item. So I put in the combo all the categories, when you select
> one, the TreeViee list all the items from that category so I can
> select an item and press a "Delete Button" or "Update Button". With a
> normal ComboBo
> > You want to connect to the change signal of the entry, not the combo
> > -- that way the same action will happen no matter how the entry
> > changes (typing, selecting, etc.).
> I already do this, but as you said, every keystroke I made call my
> filtering routing, so what I'm trying to figur
On Sat, 15 Jan 2005 18:59:37 -0600, Mauricio Tellez
<[EMAIL PROTECTED]> wrote:
> Hi, I have a ComboBoxEntry with autocompletion for the entry, and a
> callback for the "changed" signal of the combo. When I select an item
> from the combo's popup list the "changed" signal is emited and a
> TreeView
I haven't yet tried this, but on python-es, there has recently
appeared a discussion of cx_Freeze and gtk which seems to solve my
problem by copying over gtk/share,etc, directories by hand. The most
recent manifestation of the discussion includes a handy script to do
the copying for you:
Here is t
I am working with a collaborator (the ever patient Roland Duhaime) on
freezing my pygtk app on Windows using cx_Freeze. Using resources
found here as well as the following useful website
(http://s1x.homelinux.net/documents/Xpython/xpython), we've made a
gread deal of progress.
However, the executa
On Mon, 27 Dec 2004 14:13:02 -0500 (EST), Chuck Robey <[EMAIL PROTECTED]> wrote:
> I am probably wrong, but I figured that the way to do this would be to get
> to the button widget part of things, and look for a 'pressed' signal. I
> can't figure out how to get the button widget, though ... the '
My latest development pygtk seems to have broken iterators on ListStore.
I'm using ubuntu hoary (read debian experimental/unstable) packages. I
can no longer iterate over a ListStore using for row in store.
The following code:
import gtk
print 'gtk version = ',gtk.gtk_version, 'pygtk version =
',
Can anyone point me to a faq/post that explains/hints at how to do
reassignable keybindings for menu items (where a user can set a key
binding for a menu item by typing it when the menu item is highlighted).
I've noticed this feature in a number of GNOME programs and would like
to implement it, but
On Tue, 07 Dec 2004 17:45:52 -0800 John Finlay <[EMAIL PROTECTED]>
wrote:
> I see equally bad performance with both PyGTK 2.5 and PyGTK 2.4. The
> ComboBox widget has terrible performance in laying out a large number
> of menuitems in a grid which is what happens when the wrap width is
> greater
On Tue, 7 Dec 2004 19:51:37 -0500 Thomas Mills Hinkle
<[EMAIL PROTECTED]> wrote:
> And here it is -- I finally tracked it down. The slowdown in appending
> to a list store only occurs when the liststore is attached to a
> ComboBox with set_wrap_width() set to something other t
On Sun, 5 Dec 2004 17:13:17 -0500 Thomas Mills Hinkle
<[EMAIL PROTECTED]> wrote:
> John -- I'd meant to cc this to the list initially. I still haven't
> succeeded in replicating the behavior in a smaller example, but I have
> confirmed that this is unique to pygtk 2.5
John -- I'd meant to cc this to the list initially. I still haven't
succeeded in replicating the behavior in a smaller example, but I have
confirmed that this is unique to pygtk 2.5 (I have another box with
pygtk 2.4 where the problem does not occur). I'll post some decent
example code as soon as I
My program (gourmet, grecipe-manager.sourceforge.net) keeps ListStores
of all ingredients in the system (this allows gtk.EntryCompletion to be
helpful when the user types in new ingredients). When you import a bunch
of new recipes, the program adds new ingredients to a ListStore --
actually, to two
On Sun, 05 Dec 2004 02:45:42 +0300 Eugene Morozov <[EMAIL PROTECTED]>
wrote:
> Hello!
> I need a tool for selecting directories. I've tried using
> FileChooserDialog for this purpose but it doesn't support selecting
> directories. Is the only option to re-implement FileChooserDialog?
> Eugene
g
On Mon, 29 Nov 2004 09:52:04 -0200 Adriano Monteiro
<[EMAIL PROTECTED]> wrote:
> I got it... ;)
> Now it's working...
>
> I'm interested in thoses functions to navegate on the cobo list. Can
> you post then here?
>
> Thanks!
>
> Regards,
here's my full set of combobox convenience functions. I
On Mon, 29 Nov 2004 09:15:06 -0200 Adriano Monteiro
<[EMAIL PROTECTED]> wrote:
> I have a problem about combobox + glade...
>
> I don't know how to insert values, in a combobox generated by glade,
> in my code. This is the code I'm using:
>
> import pygtk
> import gtk
> import gtk.glade
> import
On Wed, 17 Nov 2004 21:30:16 +0100 Gian Mario Tagliaretti
<[EMAIL PROTECTED]> wrote:
> On Wednesday 17 November 2004 21:05, Christian Robottom Reis wrote:
> I would like to understand why... can you (or someone) please explain
> it? I will offer a few glass of the above mentioned :)
>>> img = gt
On Wed, 17 Nov 2004 21:00:48 +0100 Gian Mario Tagliaretti
<[EMAIL PROTECTED]> wrote:
> On Wednesday 17 November 2004 20:44, Christian Robottom Reis wrote:
>
> > Careful. Does the following work?
> >
> > img = gtk.Image()
> > img.set_from_stock(gtk.STOCK_DIALOG_INFO, gtk.ICON_SIZE_BUTTON)
On Tue, 16 Nov 2004 20:38:32 +0100 Johan Dahlin <[EMAIL PROTECTED]> wrote:
> tis 2004-11-16 klockan 12:33 -0600 skrev Skip Montanaro:
> > Johan> Have you tried select_filename() ?
> >
> > Yeah. Didn't help as far as I could tell.
>
> Hmm. Might be a bug. Perhaps file a bug in bugzilla and/
On Fri, 12 Nov 2004 02:06:59 + Jonathon McKitrick
<[EMAIL PROTECTED]> wrote:
>
> Hi all,
>
> I have a libglade app running under pygtk 2.4 and I cannot get the
> main window to display title bars and/or window decorations.
>
> Is there something I am doing wrong?
Presumably :) Perhaps you'
On Tue, 9 Nov 2004 10:24:54 -0200 Christian Robottom Reis
<[EMAIL PROTECTED]> wrote:
> While I agree with you, I think the rationale here is that whatever
> functionality you place in toolbars *must* be offered via a Menu Item,
> and that's the standard way of reaching that functionality via the
>
On Tue, 09 Nov 2004 10:01:30 + Stuart Hughes <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I've been pulling my hair out trying to get tooltips to work within a
> toolbutton.
>
> I'm using glade-2 (2.6.5), libglade-2.3.6, pygtk-2.4.0, and python
> 2.3.4
>
> I've attached a simple test case that sho
Okay, so I think between this and the other thread, I'm gathering that
gtk.threads_enter() and gtk.threads_leave() will not keep me safe, and
that the recent bug I found is the first of many I may have to encounter
over the life of my app,esp. if I port it to Windows.
So I'm going to add learning-
Hi all. I've been trying to track down some bad threading behavior in
my pygtk app (Gourmet Recipe Manager) for a few days. What I'm ending up
with is a freeze of my application when a threaded process is running (I
have import and export processes run in separate threads and update a
progress bar)
On Wed, 3 Nov 2004 11:06:44 -0200 Christian Robottom Reis
<[EMAIL PROTECTED]> wrote:
> > Anyway, of course the right thing in my opinion would be for all
> > ComboBox's everywhere in gtk/gnome to default to selection by
> > typing[2],
>
> Have you looked at the completion features that should be
This is a bit off topic, but I've brought up the ComboBox before. I find
it frustrating not to be able to typeahead within ComboBox widgets, as
works in e.g. dropdown menus in Firefox or IE.
I've put together my own hack to allow a use to type a selection when
the ComboBox is selected (e.g. if the
On Sun, 17 Oct 2004 00:27:29 -0700 John Finlay <[EMAIL PROTECTED]>
wrote:
> It seems that you want the pixbufs and text both left aligned. For
> that case don't set the xalign property and set expand=False in the
> first pack_start() call.
That does it. Thanks!
I was spending my time in the wro
On Sat, 16 Oct 2004 15:54:23 -0700 John Finlay <[EMAIL PROTECTED]>
wrote:
> Maybe setting the xalign property to 0.0 for the CellRendererPixbuf
> would work assuming that the icons are all the same size.
Thanks for the tip! This works very nicely. However, I now see a
stranger problem: when I pul
On Sat, 16 Oct 2004 11:24:18 -0400 Thomas Mills Hinkle
<[EMAIL PROTECTED]> wrote:
> I'm trying to create a ComboBox with icons and text for a user to
> select a file type. Everything works well, except that the icons are
> not properly aligned -- they stagger along in a w
I'm trying to create a ComboBox with icons and text for a user to select
a file type. Everything works well, except that the icons are not
properly aligned -- they stagger along in a wavy line rather than
all lining up.
Also, while I'm writing -- if anyone knows how to connect directly to
the Entr
On Mon, 11 Oct 2004 10:59:59 -0400 Thomas Mills Hinkle
<[EMAIL PROTECTED]> wrote:
> Is there any way to simply hand gnomeprint an existing
> pdf or postscript file?
I notice now that example 11 in the gnomeprint examples seems to have at
one point provided this functionality:
I've been trying to come up with a decent way to handle printing.
gnomeprint provides a beautiful print preview, but from the programming
end, it seems there's no documentation (except examples) and few
convenience functions (e.g. to handle paragraphs and text layout
simply). For these reasons, rep
On Tue, 5 Oct 2004 12:12:37 -0700 "David M. Cook" <[EMAIL PROTECTED]>
wrote:
> On Mon, Oct 04, 2004 at 06:22:30AM -0400, Thomas Mills Hinkle wrote:
>
> > Will the refiltering really happen automatically if I just make the
> > function call Entry.get_text(
On Mon, 4 Oct 2004 03:03:58 -0700 "David M. Cook" <[EMAIL PROTECTED]>
wrote:
> I would suggest using a TreeModelFilter with a custom visible func,
> e.g.
>
> entries = [refs to your entries here]
> filter = mymodel.filter_new()
> filter.set_visible_func(visible_func, entries)
> cbentry.set_model
On Sun, 3 Oct 2004 20:46:06 -0700 "David M. Cook" <[EMAIL PROTECTED]>
wrote:
> On Sun, Oct 03, 2004 at 02:43:58PM +0200, Matthias Teege wrote:
>
> > I have a lot of combo widgets in a small application. The data for
> > the combo-list-items come from a database. It is necessary to update
> > the
On Mon, 20 Sep 2004 09:51:53 +0200 Luca Manini <[EMAIL PROTECTED]>
wrote:
> I know pygtk docs are in DocBook format, is there a way to get them in
> (translated into) INFO (so one can C-h C-i)?
docbook2x is the tool you're looking for. However, I can't find the
docbook source on the pygtk site.
I'm just setting up EntryCompletion within ComboBoxEntry widgets. With
the nice TreeModel interface, it's trivial to add the feature. However,
my main reason for adding the completion was to make it trivial for a
keyboard-oriented user to get auto-completion (e.g. tab completion).
However, I can't
On Wed, 15 Sep 2004 05:33:01 -0700 "David M. Cook" <[EMAIL PROTECTED]>
wrote:
> On Wed, Sep 15, 2004 at 06:28:37AM -0400, Thomas Mills Hinkle wrote:
>
> > Currently, I'm using popup menus in TreeViews as a hack since I
> > can't pack a ComboBoxEntry in
I'm planning to convert my app (http://grecipe-manager.sourceforge.net)
to use the new ComboBoxEntry widgets soon. One reason this will be
useful is that my app is already using the same lists for drop-down
menus multiple times.
Currently, I'm using popup menus in TreeViews as a hack since I can't
I recently used the treeview.set_search_equal_func(func) for the
first time and found its behavior somewhat counterintuitive. The
function you hand it needs to return false for a match and true for a
non-match. It struck me that this would be worth adding to the pygtk
reference entry for that funct
1 - 100 of 116 matches
Mail list logo