After having solved my first problem, I now have another one:
When I retrieve a drag-drop event, I would like to know, which notebook
tab was dropped. In the C API, the example looks like this:
static void
on_drop_zone_drag_data_received (GtkWidget*widget,
Gian Mario Tagliaretti schrieb:
> 2007/5/6, N. Volbers <[EMAIL PROTECTED]>:
>
>> I found the problem! The documentation is wrong. If you look at the
>> original API documentation of gtk+, it will say that the target is
>> "GTK_NOTEBOOK_TAB" and not
Niklas Volbers schrieb:
> Hi everyone!
>
> I am using the reorderable and detachable properties of gtk.Notebook tabs
> (pygtk 2.10).
>
> Now I wanted to implement dragging a notebook tab to an event box, but
> somehow my event box will not respond to the dnd event from the notebook tab.
> I am
Sylvain Saleur schrieb:
> Hi!
>
> I managed to create a custom tab with a close button. My problem is that
> when I click on a non-focused tab's close button, it close the focused
> tab...
>
> Do you have any suggestion?
>
> I look forward to hearing from you.
>
> Bests.
>
> Sylvain Saleur
>
Tony Nelson schrieb:
At 8:36 AM +0200 10/20/06, N. Volbers wrote:
Hello everyone,
I am using a notebook for a sort of tabbed interface a la Firefox.
Currently, there is a close button for each tab, positioned in the tab
widget. However, I would like to have just a single close button at
Hello everyone,
I am using a notebook for a sort of tabbed interface a la Firefox.
Currently, there is a close button for each tab, positioned in the tab
widget. However, I would like to have just a single close button at the
very right of the notebook (again, just like Firefox does). Is there
Nikos Kouremenos wrote:
On 4/1/06, N. Volbers <[EMAIL PROTECTED]> wrote:
Hello Nikos,
Nikos Kouremenos wrote:
menu.popup() normally accepts additonal data. but PyGTK devs wrapped
it bad so in PyGTK world it doesn't. I have reported this in BT.
your ugly solution is wha
Hello Nikos,
Nikos Kouremenos wrote:
menu.popup() normally accepts additonal data. but PyGTK devs wrapped
it bad so in PyGTK world it doesn't. I have reported this in BT.
your ugly solution is what I also do. well not global but class
variable which is the same 'bad'
I filed a bug report.
Hello everyone,
in my applications I have different tool widgets, very similar to the
dockable tools in gimp, and they all have a button at the top-right that
opens up a popup menu when pressed. This popup allows to add other
tools, so for this reason, the popup is always the same.
Unfortuna
Hello everyone on the list,
I have two questions regarding the treeview widget:
(1) (see attached sample script) Using a CellRendererCombo it is
possible to manipulate the model data by choosing a value from the
combo. Clicking on 'apply' in the sample script will dump the values in
the model to
Hello everyone on the list,
I have two questions regarding the treeview widget:
(1) (see attached sample script) Using a CellRendererCombo it is
possible to manipulate the model data by choosing a value from the
combo. Clicking on 'apply' in the sample script will dump the values in
the model
Hello everyone,
I intended to add rulers to my matplotlib canvas widget, but then I have
read in the reference that the ruler widget (and hruler, vruler) is
deprecated and will be moved to another package. To which package?
Should I use it at all or is there an alternative implementation?
Re
Graham Ashton schrieb:
On Thursday 24 November, N. Volbers wrote:
My second problem arises due to the fact that it should be possible to
specify no value at all.
[snip]
Am I missing something obvious? I would appreciate any suggestions
on this.
If you want a single widget that
Hello everyone,
I replaced some gtk.Entry widgets by the more appropriate gtk.SpinButton
widgets. 'More appropriate' means that the user needs to enter an
integer number > 0 and a spin button seemed predetermined for this.
My first problem, which I finally solved, was that I have to set both
batfree schrieb:
I need my application to run on Windows without GTK,pyGTK ,python.How
can I package these into a standalone application?Can any one help me?
___
pygtk mailing list pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read th
nephish schrieb:
hello there,
i have an app here at work that i am working on, and i want to do some
simple (keyword - simple) graphs. Nothing really fancy. Where would be
the best place to look for how to do this ?
i use debian linux, and python 2.3
thanks
__
Gian Mario Tagliaretti schrieb:
2005/9/4, N. Volbers <[EMAIL PROTECTED]>:
Hello list,
when I try to set the title of a TreeViewColumn to a name like 'a_name',
then the underscore will be interpreted (as accelerator?) such that it
will appear as 'aname' with
Hello list,
when I try to set the title of a TreeViewColumn to a name like 'a_name',
then the underscore will be interpreted (as accelerator?) such that it
will appear as 'aname' with an underscore under the 'n'. How can I turn
off that behavior or how can I insert a true underscore? I tried
Jens Geiregat schrieb:
Hi,
I would like to add undo and redo buttons to my program. The problem
is I do not have any idea how to implement the undo and redo-actions.
Are there some (easy) examples on this subject? Or other (small)
pygtk-programs that support undo and redo?
Hello Jens,
you
Prash schrieb:
You could try the widget.queue_redraw as Niklas suggested in the
'treeview signals' thread. It may work .. I'll try it when I'm home
tonight.
On 6/22/05, Alexei Gilchrist <[EMAIL PROTECTED]> wrote:
Hi, how do I refresh a treeview? I have a function which changes the scale of
t
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 mean "double click on a row", try 'row-activated'. If you really
want to catch basic mouse clicks, try 'button-pressed-event
Eric Jardim schrieb:
Hi, all...
What do you know about this "popup-menu" event of the gtk.Widget class?
Why it is not activated when someone right-click the widget?
Anyway, it still can be stimulated by a method calling, isn't it?
Why do people have to do catch the button_press_event, what is a
Sebastien Aubry schrieb:
Hello,
The documentation about Plugs and Sockets did not allow me to find out
whether they can be used to embed anything:
- can they only be used to embed PyGtk widgets into another PyGtk window?
- or can I embed anything using plugs and sockets ?
You can embed any
N. Volbers schrieb:
Christian Robottom Reis schrieb:
On Thu, May 19, 2005 at 12:07:16PM +, Philippe Collet wrote:
First reason is because of the futur implementations that can be done
in the program i want to realize, it seems a better idea to integrate
gtksheet now instead of
Christian Robottom Reis schrieb:
On Thu, May 19, 2005 at 12:07:16PM +, Philippe Collet wrote:
First reason is because of the futur implementations that can be done in
the program i want to realize, it seems a better idea to integrate gtksheet
now instead of integrating gtkgrid for the mome
Hello,
I just wanted to let you know that I would be willing to help with this.
I am in dire need of a GtkGrid/PyGrid-like solution, and I would love to
see this included in the standard gtk+ library. As I am not a very good
C programmer (even though I understand C code pretty good), I could
as
Mauricio Tellez schrieb:
Hi, I have a TreeView with 3 columns all the columns has a
CellRendererText. What I want is that when the user click a specific
cell, said row 2, column 1, only that cell get highlighted, not the
entire row 2. Is posible to do this? How? Thanks in advance.
No, this is not p
Hello everyone,
I am looking for a pygtk equivalent of the window handling a la GIMP,
i.e. the ability to group windows together by dragging them on docking
areas or group windows into a notebook. Are there any ready solutions :-) ?
I have started my own implementation of this (except for the d
Hello everyone,
today I tried to build pygrid, which are the python bindings to gtkGrid.
I receive an error, complaining that gtk.dsextras is not found. However,
there is a file 'dsextras.py' in the site-packages/gtk-2.0 directory.
Is this file deprecated or why is it not included ? What do I ha
Hello everyone,
my app makes extensive use of the python 'logging' module.
For easier development I would like to have a window with a treeview
that should contain one entry for every log message sent.
Is there any way to add a Handler so that the message is somehow sent to
my treeview?
Best reg
30 matches
Mail list logo