Re: Making a GtkSeparator more visible

2017-12-01 Thread Felipe Borges
Hi, On Wed, Nov 29, 2017 at 11:30 PM, wrote: > How can I make a GtkSeparator more visible. I guess that means making it > darker and / or thicker You could make it thicker by increasing its height_request property to a proper value. You could make it darker by setting some css properties for

Re: Set CSS properties programmatically

2017-11-25 Thread Felipe Borges
Hello, On Sat, Nov 25, 2017 at 5:03 PM, - wrote: > Hello, > > Can you please share a link to your current approach? Doesn't sound > efficient but makes sense. I'd like to run the code and see the animation in > action. Yes. It is being used in GNOME Usage performance panel https://gitlab.gnome.o

Re: Set CSS properties programmatically

2017-11-25 Thread Felipe Borges
Hi, On Sat, Nov 25, 2017 at 2:38 PM, Emmanuele Bassi wrote: > Hi Felipe; > > You probably wanted to send this email to gtk-devel-list, not > gtk-app-devel-list. urgh, sorry! > How would you even do this? You would need to read the current style state > and then resubmit it as a whole, because y

Set CSS properties programmatically

2017-11-25 Thread Felipe Borges
Hi, I have been looking for a clean way of updating my widget's css properties programmatically at runtime. Basically I have a css animation which gets its properties from variables in my C code. The current (working) approach I came up with is to benefit from the cascade and generate a whole ne

Re: No protocol specified error

2017-10-22 Thread Felipe Borges
whatever man On Sat, Oct 21, 2017 at 2:25 AM, David Margerison wrote: > On 20 October 2017 at 22:33, Felipe Borges wrote: >> >> Running GUI applications as root is hardly discouraged. > > The English language can be surprising, so I write this short note to help > avoid

Re: No protocol specified error

2017-10-20 Thread Felipe Borges
esh Chakka, > Mobile: 9731023458 > > On Fri, Oct 20, 2017 at 4:43 PM, Felipe Borges > wrote: >> >> On Fri, Oct 20, 2017 at 1:01 PM, Lokesh Chakka >> wrote: >> > Hello, >> > >> > I am using simple program >> > >> >

Re: No protocol specified error

2017-10-20 Thread Felipe Borges
On Fri, Oct 20, 2017 at 1:01 PM, Lokesh Chakka wrote: > Hello, > > I am using simple program > > #include > > int main(int argc, char *argv[]) > { > GtkWidget *window; > gtk_init(NULL, NULL); > window = gtk_window_new(GTK_WINDOW_TOPLEVEL); > gtk_widget_show(window); > g_signal

Re: TypeError in GtkWindow

2015-10-09 Thread Felipe Borges
As mentioned by Stefan, Coor2MASS was expecting a GtkWindow (the parent window), and you are passing a TitleBar object. Try something like this: diff --git a/q2MASS.py b/q2MASS.py index 43af88c..6b6a6d7 100644 --- a/q2MASS.py +++ b/q2MASS.py @@ -37,7 +37,7 @@ class Query2MASS(Gtk.Window):

Re: How should I structure a full screen, modal kiosk app (newbie)

2015-05-10 Thread Felipe Borges
Hey, Have you thought about using multiple GtkStacks and switching with a GtkStackSwitcher? Take a look at "Stack" on the gtk3-demo application. On Sat, May 9, 2015 at 12:27 PM, Mike South wrote: > I'm using Perl GTK on a debian-based distro. My app is the only > user-visible thing running. > >