Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • libhandy libhandy
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 131
    • Issues 131
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 19
    • Merge requests 19
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar

Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.

  • Librem5
  • libhandylibhandy
  • Issues
  • #257
Closed
Open
Issue created Apr 27, 2020 by Jan-Michael Brummer@jbrummer

hdy_expander_row_set_show_enable_switch not working properly

hdy_expander_row_set_show_enable_switch does not work when row is created manually without glade:

#include <gtk/gtk.h>

#define HANDY_USE_UNSTABLE_API
#include <handy.h>

int main (int argc, char **argv) {
  GtkWidget *window;
  GtkWidget *row;

  gtk_init (&argc, &argv);
  window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
  row = GTK_WIDGET (hdy_expander_row_new ());
  hdy_action_row_set_title (HDY_ACTION_ROW (row), "Switch test");
  hdy_expander_row_set_show_enable_switch (HDY_EXPANDER_ROW (row), FALSE);
  gtk_container_add (GTK_CONTAINER (window), row);

  gtk_widget_show_all (window);
  gtk_main ();

  return 0;
}
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking