Re: ui tweaking tips

View: New views
1 Messages — Rating Filter:   Alert me  

Parent Message unknown Re: ui tweaking tips

by Christopher Harvey :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


>
> Message: 1
> Date: Tue, 24 Jun 2008 11:47:53 +0300
> From: "natan yellin" <aantny@...>
> Subject: Re: tips for making pretty ui
> To: gtk-app-devel-list@...
> Message-ID:
> <cb822e20806240147r7106bb59sd15ab99abeb2d427@...>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Hello,
>
> On Tue, Jun 24, 2008 at 3:34 AM, Christopher Harvey <arbuckle911@...>
> wrote:
>
>  
>> Hi,
>> I think I've got the ropes of gtk down pat, except that I don't know how to
>> create cool and unique windows. I want to create a small window that sits in
>> the dock most of the time, then pops up a small window then it's clicked on,
>> or a key combo is pressed. The important thing is that it has no window
>> border, isn't moveable and has tiny widgets, audacious is a good example
>> here. I know it isn't recommended to go against the default system settings
>> but in my case it makes sense because I want this window to stay out of the
>> way as much as possible and have a distinct look and feel. I've never used
>> an RC file before, but any tips or links to tips to help me tweak gtk
>> widgets and windows are appreciated.  I've never done anything like this
>> before and tutorials are hard to come by.
>>
>>    
> There is no official GNOME dock, and panel applets are becoming less and
> less popular as unofficial docks (e.g. AWN) become more popular.
>
>  I've been doing work on a universal applet format that can "plug in" to any
> dock/panel/sidebar. (We still haven't decided on an official project name,
> but you can find the project on
> launchpad<https://code.launchpad.net/%7Edesktop-2.0/screenlets/universal-applets>and
> freenode under "Universal Applets.") At the moment, applets can only
> run
> as floating toplevel windows, but there's already been a little bit of work
> on integration with AWN.
>
> Until Universal Applets matures, your best choice is probably to write a
> program that has an icon in the systray/notification area. You can connect
> to the icon's appropriate signals and popup a little window underneath the
> systray when its clicked.
>  
How can know where on the screen to put the window so that it comes up
directly under the icon in the systray?

> You can use the function gtk_window_set_decorated in order to hide the
> window's borders.
>
>  
>> Thanks,
>> Chris.
>> _______________________________________________
>> gtk-app-devel-list mailing list
>> gtk-app-devel-list@...
>> http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
>>    
>
>
> Natan
>  
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@...
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
LightInTheBox - Buy quality products at wholesale price