I understand that I can add composite children to a widget by creating them
between widget_push_composite_child and widget_pop_composite_child calls.
gtk.widget_push_composite_child()
widget1 = gtk.Widget1()
widget2 = gtk.Widget2()
gtk.widget_pop_composite_child()
widget1.set_parent(main_widget)
w
Miki wrote:
Hi again,
I wrote a simple C program:
#define PYTHON "/home/mikib/t.py"
main(argc, argv)
char **argv;
{
setreuid(0,0);
setregid(0,0);
execvp(PYTHON, argv);
}
But after I compiled the C program and run it the Pyton program did not
run as 'root' user,
Of course it won't -- i
On Sex, 2007-03-09 at 11:05 -0500, John Dennis wrote:
> On Fri, 2007-03-09 at 10:38 -0500, John Dennis wrote:
> > On Fri, 2007-03-09 at 08:10 -0700, Jeffrey Barish wrote:
> > > Gustavo J. A. M. Carneiro wrote:
> > >
> > > > Another, more complex, example can be found here:
> > > > http://telecom.i
2007/3/11, Miki <[EMAIL PROTECTED]>:
How can I run pygtk application in root (setuid) mode or how can I ask the
user to enter the root password (in the pygtk env.) and then run the
application?
In gnome-python-extras you have the module gksu.
I'm currently making bindings for a more recent ve
Hi again,
I wrote a simple C program:
#define PYTHON "/home/mikib/t.py"
main(argc, argv)
char **argv;
{
setreuid(0,0);
setregid(0,0);
execvp(PYTHON, argv);
}
But after I compiled the C program and run it the Pyton program did not run
as 'root' user, and I'm getting this error:
Traceback (mo
Hi Helm,
Well that is how it works by default, and setting the direction for a
text span explicitly using gtk.TextTag direction property does not
change this behaviour, so I wonder what this property is supposed to
do.
Regards,
Fredrik
On 3/9/07, Volker Helm <[EMAIL PROTECTED]> wrote:
I would g